From gmccaughan at synaptics-uk.com Thu Jun 1 13:01:11 2006 From: gmccaughan at synaptics-uk.com (Gareth McCaughan) Date: Thu, 1 Jun 2006 12:01:11 +0100 Subject: [Mailman-Developers] Hooks for external archivers Message-ID: <200606011201.11957.gmccaughan@synaptics-uk.com> Suppose you're using Mailman with a separate archiving system such as Lurker or mod_mbox or something. Then there are a few points at which the external archiver needs to be informed of what Mailman is up to, including at least these: - Creation of a new list - Some changes to config of an existing list - Arrival of a new message - Removal of a list (maybe) At the moment (I'm using 2.1.8) I think the only such notification is for the arrival of a new message, at which point PUBLIC_EXTERNAL_ARCHIVER or PRIVATE_EXTERNAL_ARCHIVER gets invoked. In my local setup, I've tentatively added a new hook that I've equally tentatively called LIST_INFO_UPDATE_COMMAND; if it's not None, it gets invoked whenever a list object's Save method is called (after %-formatting using the list's configvars plus an extra entry for the list's canonical name). That works well for my needs, but I'm under no delusion that it's clearly optimal. Is there a Right Thing that I should have done instead? If not, should Mailman grow some more hooks for interaction with external archivers? (Here's a possibly tempting Wrong Thing: don't have separate hooks, just check everything whenever a new message arrives. But this is inefficient, and more importantly it means that changes to list information won't be noticed until the next message is sent, which for low-traffic lists might be some time after the change.) -- g From barry at python.org Fri Jun 2 00:05:24 2006 From: barry at python.org (Barry Warsaw) Date: Thu, 1 Jun 2006 18:05:24 -0400 Subject: [Mailman-Developers] Hooks for external archivers In-Reply-To: <200606011201.11957.gmccaughan@synaptics-uk.com> References: <200606011201.11957.gmccaughan@synaptics-uk.com> Message-ID: <20060601180524.1c766726@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 1 Jun 2006 12:01:11 +0100 Gareth McCaughan wrote: > Suppose you're using Mailman with a separate archiving system > such as Lurker or mod_mbox or something. Then there are a few > points at which the external archiver needs to be informed of > what Mailman is up to, including at least these: > > - Creation of a new list > - Some changes to config of an existing list > - Arrival of a new message > - Removal of a list (maybe) > > At the moment (I'm using 2.1.8) I think the only such notification > is for the arrival of a new message, at which point > PUBLIC_EXTERNAL_ARCHIVER or PRIVATE_EXTERNAL_ARCHIVER gets invoked. > > In my local setup, I've tentatively added a new hook that I've > equally tentatively called LIST_INFO_UPDATE_COMMAND; if it's not > None, it gets invoked whenever a list object's Save method is > called (after %-formatting using the list's configvars plus an > extra entry for the list's canonical name). That works well > for my needs, but I'm under no delusion that it's clearly optimal. > > Is there a Right Thing that I should have done instead? If not, > should Mailman grow some more hooks for interaction with external > archivers? I think Mailman should definitely grow more hooks. In fact, it really should grow a framework for extensions as well, so that your extensions can live outside the Mailman source code (a good thing for many reasons). Obviously something like this can't go in Mailman 2.1, but it could go into Mailman 2.2. Off the top of my head, the general idea is that you'd define a file system location for your extension to live, and Mailman would map that into its Mailman.extension package. There it would look for modules to load that provided an interface for getting notifications of certain events. I think designing the framework is fairly straight-forward. The real issue is what kinds of hooks you'd like to see, and what kind of information should get passed to each hook. Maybe you'd like to outline your thoughts on that in the wiki ? If we can come up with a decent list of hooks and hook information, then it probably wouldn't be a difficult feaure to add, and I think it could be rather powerful for sites that want lots of special customization. > (Here's a possibly tempting Wrong Thing: don't have separate hooks, > just check everything whenever a new message arrives. But this is > inefficient, and more importantly it means that changes to list > information won't be noticed until the next message is sent, which > for low-traffic lists might be some time after the change.) Yeah, I wouldn't do that! :) - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRH9kp3EjvBPtnXfVAQLxFgP/TB0oiONf3308+FoJEc8P2ami1quwqe5s DwuNh/ZEtdcxRYEQcbab9DHF5rEFerfXjIUjAz+ezex9So8U6HuDDhqUhYPlNa3h 9HZ5KAPSwHQCAINMrtzsZGiljUeryP2iUAJmzZ89kECODm7tfP+gvmBPH8nx1+nw TWV4ylTXLYM= =ybK0 -----END PGP SIGNATURE----- From fil at rezo.net Fri Jun 2 00:08:31 2006 From: fil at rezo.net (Fil) Date: Fri, 2 Jun 2006 00:08:31 +0200 Subject: [Mailman-Developers] Hooks for external archivers In-Reply-To: <200606011201.11957.gmccaughan@synaptics-uk.com> References: <200606011201.11957.gmccaughan@synaptics-uk.com> Message-ID: <20060601220831.GD3410@rezo.net> @ Gareth McCaughan : > Suppose you're using Mailman with a separate archiving system > such as Lurker or mod_mbox or something. Then there are a few Is there some kind of tutorial on mod_mbox somewhere? I had never heard about this project and find the example lists no less than excellent -- Fil From gmccaughan at synaptics-uk.com Fri Jun 2 10:59:01 2006 From: gmccaughan at synaptics-uk.com (Gareth McCaughan) Date: Fri, 2 Jun 2006 09:59:01 +0100 Subject: [Mailman-Developers] Hooks for external archivers In-Reply-To: <20060601220831.GD3410@rezo.net> References: <200606011201.11957.gmccaughan@synaptics-uk.com> <20060601220831.GD3410@rezo.net> Message-ID: <200606020959.01924.gmccaughan@synaptics-uk.com> On Thursday 2006-06-01 23:08, "Fil" wrote: > @ Gareth McCaughan : > > Suppose you're using Mailman with a separate archiving system > > such as Lurker or mod_mbox or something. Then there are a few > > Is there some kind of tutorial on mod_mbox somewhere? I had never heard > about this project and find the example lists no less than excellent I'm not aware of one. I agree that mod_mbox is beautiful, much nicer than Lurker. The things that worry me a bit about it: - The AJAX-y stuff basically only works on Gecko-based browsers. That would be Firefox, Mozilla, and their less common relations. It doesn't work, for instance, on IE or Opera or Safari or Konqueror. - I've found one situation where it simply breaks and refuses to show you an e-mail. (If you have an attachment whose name is a quoted string containing spaces, the parsing is wrong and it produces broken XML and everything goes pear-shaped.) I have a quick-and-dirty patch for this bug, but the presence of a bug like this doesn't inspire me with confidence. - It makes more assumptions than I'm happy with about the mboxen it reads. They have to contain a List-Post header somewhere; they have to be named in a certain way. Again, these aren't major problems but I worry that they may be symptoms of a deeper pathology, namely a general preference for writing code that works in one particular context and not worrying if it doesn't work right in general. - (I may be misremembering this one.) I don't think there's any way to process messages incrementally as they arrive, so I'm not sure how you'd use mod_mbox for a busy mailing list. Now, the Apache project seems to use it for a whole lot of busy mailing lists, so maybe this is all fine, but I worry a bit, and I notice that the mail I sent yesterday to dev at httpd.apache.org reporting the aforementioned bug still hasn't appeared in the mod_mbox-based archives, so maybe they handle it by just not running the updater very often. Also, there's some sign of support for searching, but it's not clear how much it can do or how to make it work and it requires this separate Lucene4c thing, and I'm lazy. But, still, it's awfully shiny and I'd love to love it. Perhaps when it's matured a little more. :-) -- g From gmccaughan at synaptics-uk.com Fri Jun 2 16:06:49 2006 From: gmccaughan at synaptics-uk.com (Gareth McCaughan) Date: Fri, 2 Jun 2006 15:06:49 +0100 Subject: [Mailman-Developers] Hooks for external archivers In-Reply-To: <200606020959.01924.gmccaughan@synaptics-uk.com> References: <200606011201.11957.gmccaughan@synaptics-uk.com> <20060601220831.GD3410@rezo.net> <200606020959.01924.gmccaughan@synaptics-uk.com> Message-ID: <200606021506.50162.gmccaughan@synaptics-uk.com> > - (I may be misremembering this one.) I don't think there's any > way to process messages incrementally as they arrive, so I'm > not sure how you'd use mod_mbox for a busy mailing list. Now, > the Apache project seems to use it for a whole lot of busy > mailing lists, so maybe this is all fine, but I worry a bit, > and I notice that the mail I sent yesterday to dev at httpd.apache.org > reporting the aforementioned bug still hasn't appeared in the > mod_mbox-based archives, so maybe they handle it by just not > running the updater very often. Actually, that last thing turns out to be at least partly because dev@ just drops mail on the floor when it comes from unsubscribed addresses. :-) But comparing with gmane, the mod_mbox-based archive does seem to be some way behind... -- g From gmccaughan at synaptics-uk.com Fri Jun 2 17:40:33 2006 From: gmccaughan at synaptics-uk.com (Gareth McCaughan) Date: Fri, 2 Jun 2006 16:40:33 +0100 Subject: [Mailman-Developers] Hooks for external archivers In-Reply-To: <20060601180524.1c766726@resist.wooz.org> References: <200606011201.11957.gmccaughan@synaptics-uk.com> <20060601180524.1c766726@resist.wooz.org> Message-ID: <200606021640.34052.gmccaughan@synaptics-uk.com> On Thursday 2006-06-01 23:05, Barry Warsaw wrote: > I think Mailman should definitely grow more hooks. In fact, it really > should grow a framework for extensions as well, so that your extensions > can live outside the Mailman source code [...] > Maybe you'd like to outline your thoughts on that in the wiki > ? Sounds like a good plan, but unlikely to happen before the middle of next week. -- g From msapiro at value.net Sat Jun 3 05:18:51 2006 From: msapiro at value.net (Mark Sapiro) Date: Fri, 2 Jun 2006 20:18:51 -0700 Subject: [Mailman-Developers] Topic regexps In-Reply-To: Message-ID: John W. Baxter wrote: >On 5/25/06 8:29 PM, "Mark Sapiro" wrote: > >> I've thought about this some more and what I'm currently thinking is if >> the topic regexp is multiline, leave it as is in topics, but before >> compiling it for use, split the lines and then rejoin them with "|", >> and compile not in VERBOSE mode. > >I think you need to strip any trailing | characters from the strings in the >resulting list before joining with |. > >Otherwise, you might build one||two||three >Which clearly isn't what is wanted. > >Hmmm...I guess I mean "up to one trailing | character"...in case someone >really wanted one||two for some really strange reason. I actually don't think that's necessary. My reasoning is that the descriptions imply that multiple lines are joined with "|" without having to explicitly put "|" in the pattern. The changes I intend to put in Mailman 2.2 will include code in versions.py to convert all presumably working multi-line patterns (verbose mode) into a single line equivalent, non-verbose pattern. Thus, an existing topics regexp such as 'one|\ntwo|\nthree' will be converted during the 2.1.x to 2.2 upgrade into 'one|two|three'. Thus the new code in Tagger.py will not see multiple lines and won't change the pattern at all. So the only future multi-line patterns will be new ones and presumably the person creating them will not be motivated to put trailing "|" on the lines and if he/she does anyway, testing should reveal that is wrong. This leads me to the next question. I have written Mailman.Utils.strip_verbose_pattern() to strip comments and whitespace from a verbose pattern and return a single-line, non-verbose equivalent. I think the thing to do with existing topics is the following: --- versions.py (revision 7905) +++ versions.py (working copy) @@ -307,6 +307,16 @@ pass else: l.digest_members[k] = 0 + # + # Convert pre 2.2 topics regexps whice were compiled in verbose mode + # to a single line, non-verbose equivalent. + # + if stored_state.data_version <= 97 and hasattr(stored_state, 'topics')\ + and stored_state.topics: + l.topics = [] + for name, pattern, description, emptyflag in stored_state.topics: + pattern = Utils.strip_verbose_pattern(pattern) + l.topics.append((name, pattern, description, emptyflag)) I'm not 100% comfortable with this for two reasons. The first is that this is apparently the only thing in versions.py which will reference an actual data_version. It seems OK, but I wonder if there is a better way. The other discomfort is list admins may be confused by the fact that their nicely commented, pretty, verbose topic regexp turned into an uncommented, ugly, non-verbose regexp. I actually think this is the least evil way to address this problem, but I'm still not 100% comfortable with it. Thoughts, comments, other ideas? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From msapiro at value.net Sat Jun 3 06:43:00 2006 From: msapiro at value.net (Mark Sapiro) Date: Fri, 2 Jun 2006 21:43:00 -0700 Subject: [Mailman-Developers] Topic regexps In-Reply-To: Message-ID: Mark Sapiro wrote: > >I think the thing to do with existing topics is the following: > > >--- versions.py (revision 7905) >+++ versions.py (working copy) >@@ -307,6 +307,16 @@ > pass > else: > l.digest_members[k] = 0 >+ # >+ # Convert pre 2.2 topics regexps whice were compiled in verbose mode >+ # to a single line, non-verbose equivalent. >+ # >+ if stored_state.data_version <= 97 and hasattr(stored_state, 'topics')\ >+ and stored_state.topics: >+ l.topics = [] >+ for name, pattern, description, emptyflag in stored_state.topics: >+ pattern = Utils.strip_verbose_pattern(pattern) >+ l.topics.append((name, pattern, description, emptyflag)) Testing reveals the above patch is not correct because stored_state is a dictionary, not a list instance, but the logic is correct. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From fil at rezo.net Mon Jun 5 22:39:31 2006 From: fil at rezo.net (Fil) Date: Mon, 5 Jun 2006 22:39:31 +0200 Subject: [Mailman-Developers] update to MysqlMemberAdaptor Message-ID: <20060605203931.GG29492@rezo.net> Hi everybody, there was a bug in "my" version of MysqlAdaptor, in the changeMemberAddress method: it has been corrected @ http://trac.rezo.net/trac/rezo/changeset/75 -- Fil From t.d.lee at durham.ac.uk Tue Jun 6 18:23:08 2006 From: t.d.lee at durham.ac.uk (David Lee) Date: Tue, 6 Jun 2006 17:23:08 +0100 (BST) Subject: [Mailman-Developers] 2.1.8 documentation mismatch Message-ID: (Background: new to Mailman. Trialling 2.1.8 prior to wider roll-out.) Minor mismatch in web interface terminology: Whilst guiding a potential list-owner through the approval/moderation procedure, I spotted an inconsistency. A typical "http://.../admindb/..." page ("Administrative requests for mailing list: ...") has a four way radio button, with one being labelled "Accept". But its "More detailed instructions" link to "Detailed instructions for the administrative database" then has this button described under the label "Approve". This mixture of terminology seems to occur in other places also. You might want to consider rationalising these to the same thing for the sake of moderators who might be (say) secretarial staff. Hope that helps. -- : David Lee I.T. Service : : Senior Systems Programmer Computer Centre : : Durham University : : http://www.dur.ac.uk/t.d.lee/ South Road : : Durham DH1 3LE : : Phone: +44 191 334 2752 U.K. : From msapiro at value.net Wed Jun 7 02:58:17 2006 From: msapiro at value.net (Mark Sapiro) Date: Tue, 6 Jun 2006 17:58:17 -0700 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: Message-ID: David Lee wrote: > >Whilst guiding a potential list-owner through the approval/moderation >procedure, I spotted an inconsistency. A typical "http://.../admindb/..." >page ("Administrative requests for mailing list: ...") has a four way >radio button, with one being labelled "Accept". But its "More detailed >instructions" link to "Detailed instructions for the administrative >database" then has this button described under the label "Approve". > >This mixture of terminology seems to occur in other places also. You might >want to consider rationalising these to the same thing for the sake of >moderators who might be (say) secretarial staff. Thanks for the report. I will update the template as follows unless you have a better suggestion: Index: admindbdetails.html =================================================================== --- admindbdetails.html (revision 7905) +++ admindbdetails.html (working copy) @@ -14,7 +14,7 @@ postings, you can still forward or preserve the message (see below). -
  • Approve -- Approve the message, sending it on to the list. +
  • Accept/Approve -- Accept the message, sending it on to the list. For membership requests, approve the change in membership status.
  • Reject -- Reject the message, sending a rejection notice to Since it is a template, you can fix your own and store the fixed version in templates/site/en/admindbdetails.html where it will survive updates (the base is templates/en/admindbdetails.html). See . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From barry at python.org Wed Jun 7 05:49:45 2006 From: barry at python.org (Barry Warsaw) Date: Tue, 6 Jun 2006 23:49:45 -0400 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: Message-ID: <20060606234945.0f135eb8@geddy.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 6 Jun 2006 17:23:08 +0100 (BST) David Lee wrote: > Whilst guiding a potential list-owner through the approval/moderation > procedure, I spotted an inconsistency. A typical > "http://.../admindb/..." page ("Administrative requests for mailing > list: ...") has a four way radio button, with one being labelled > "Accept". But its "More detailed instructions" link to "Detailed > instructions for the administrative database" then has this button > described under the label "Approve". > > This mixture of terminology seems to occur in other places also. You > might want to consider rationalising these to the same thing for the > sake of moderators who might be (say) secretarial staff. I agree, but which is the best term to use? Reading the dictionary entries for "approve" and "accept", I think I like the former: ap_prove 1. To consider right or good; think or speak favorably of. 2. To consent to officially or formally; confirm or sanction: The Senate approved the treaty. 3. Obsolete. To prove or attest. ac_cept 1. To receive (something offered), especially with gladness or approval: accepted a glass of water; accepted their contract. 2. To admit to a group, organization, or place: accepted me as a new member of the club. 3. 1. To regard as proper, usual, or right: Such customs are widely accepted. 2. To regard as true; believe in: Scientists have accepted the new theory. 3. To understand as having a specific meaning. 4. To endure resignedly or patiently: accept one's fate. 5. 1. To answer affirmatively: accept an invitation. 2. To agree to take (a duty or responsibility). 6. To be able to hold (something applied or inserted): This wood will not accept oil paints. 7. To receive officially: accept the committee's report. 8. To consent to pay, as by a signed agreement. 9. Medicine. To receive (a transplanted organ or tissue) without immunological rejection. Seems to me that definition #2 of "approve" is the closest to what a list administrator does. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRIZM3nEjvBPtnXfVAQKjawP/TD9T+jWShYHuz8jhEQ2jMRNBS8i5Kl6j PXHICPW4a60QkuUPQMIhBHo9fNdDeU5zHSWA0+YBFT9g0q3PQ7//S2jDFsfEDf7M Nx0oeOWiMIWelUTA8zZVInmoheFfv6RMPXOZ7GE0+hnMZ2j1katxXzyLTXYwkS7r 35lYgye3Iqo= =cKGe -----END PGP SIGNATURE----- From jwblist3 at olympus.net Tue Jun 6 21:56:51 2006 From: jwblist3 at olympus.net (John W. Baxter) Date: Tue, 06 Jun 2006 12:56:51 -0700 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: Message-ID: On 6/6/06 9:23 AM, "David Lee" wrote: > This mixture of terminology seems to occur in other places also. You might > want to consider rationalising these to the same thing for the sake of > moderators who might be (say) secretarial staff. Secretarial staff should have no problem with the example given. The CEO, on the other hand... And yes, terminology should be consistent. --John From msapiro at value.net Wed Jun 7 07:02:44 2006 From: msapiro at value.net (Mark Sapiro) Date: Tue, 6 Jun 2006 22:02:44 -0700 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: <20060606234945.0f135eb8@geddy.wooz.org> Message-ID: Barry Warsaw wrote: > >I agree, but which is the best term to use? Reading the dictionary >entries for "approve" and "accept", I think I like the former: Actually, both terms are used on the radio buttons on the admindb page. "Accept" is used for held posts, and "Approve" is used for (un)subscription requests. We could of course change the name of the held message radio button to "Approve", but then we'd have an inconsistency with "Add poster at example.com to one of these sender filters:", and if we changed that, would we also want to change the name of accept_these_nonmembers? It seemed simpler to me to just make the template change I indicated in my prior reply. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From iane at sussex.ac.uk Wed Jun 7 11:41:26 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Wed, 07 Jun 2006 10:41:26 +0100 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: Message-ID: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> --On 6 June 2006 22:02:44 -0700 Mark Sapiro wrote: > Barry Warsaw wrote: >> >> I agree, but which is the best term to use? Reading the dictionary >> entries for "approve" and "accept", I think I like the former: > > Actually, both terms are used on the radio buttons on the admindb page. > "Accept" is used for held posts, and "Approve" is used for > (un)subscription requests. > > We could of course change the name of the held message radio button to > "Approve", but then we'd have an inconsistency with "Add > poster at example.com to one of these sender filters:", and if we changed > that, would we also want to change the name of accept_these_nonmembers? > > It seemed simpler to me to just make the template change I indicated in > my prior reply. While we're here, can we change all instances of "reject" to "bounce". Mailman deals with queued messages, so it isn't capable of rejecting a message in the SMTP sense. All it can do is generate bounces - which are probably collateral spam. Even better would be to integrate Mailman into MTA's better, so that the MTA can use Mailman data to reject spam. -- Ian Eiloart IT Services, University of Sussex From barry at python.org Wed Jun 7 15:20:46 2006 From: barry at python.org (Barry Warsaw) Date: Wed, 7 Jun 2006 09:20:46 -0400 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> Message-ID: <20060607092046.54b2a0a0@geddy.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 6 Jun 2006 22:02:44 -0700 Mark Sapiro wrote: > >I agree, but which is the best term to use? Reading the dictionary > >entries for "approve" and "accept", I think I like the former: > > Actually, both terms are used on the radio buttons on the admindb > page. "Accept" is used for held posts, and "Approve" is used for > (un)subscription requests. > > We could of course change the name of the held message radio button to > "Approve", but then we'd have an inconsistency with "Add > poster at example.com to one of these sender filters:", and if we changed > that, would we also want to change the name of > accept_these_nonmembers? > > It seemed simpler to me to just make the template change I indicated > in my prior reply. I don't disagree with that, so go for it. It's just that we'll be redesigning the web u/i as part of the Google SoC project (don't worry, it's not a forgone conclusion that that work will be integrated into the mainline release). As we redesign and rewrite, I think we should standardize on "Approve" for actions to be taken by the list administrator. Ian mentioned that he thinks we should change "Reject" to "Bounce", but I'm not sure I like that. Rejecting a message or a subscription request is the action that the admin takes. Mailman's response to that rejection is return the original message wrapped in a response. The term "bounce" to me implies a more automatic return that happens at a lower level in the mail stack, and it might be confused with terminology in the bounce processing u/i. So I think the following terms should be used consistently (I'm not suggesting a mass rewrite to adhere to this): Approve Hold Reject Discard - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRIbSsXEjvBPtnXfVAQKejwP/QPSup6mVwOezrMdYKly73z3QH3kbq3MN pzUanylMlhZ9mVB1AYfLLnqI4/ziWmNjkPRj31VtrGKVnTBGHLGAYCnmFB8E4S/P Zk5DvyG3fPj3VNCfFDN/UyKbaWMIe4tv7qHnS2C5xgE+pIBm00PPtmh9F0INElEi DwxEI348tIU= =b6Qu -----END PGP SIGNATURE----- From barry at python.org Wed Jun 7 15:26:11 2006 From: barry at python.org (Barry Warsaw) Date: Wed, 7 Jun 2006 09:26:11 -0400 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> References: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> Message-ID: <20060607092611.643e6744@geddy.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 07 Jun 2006 10:41:26 +0100 Ian Eiloart wrote: > Even better would be to integrate Mailman into MTA's better, so that > the MTA can use Mailman data to reject spam. I think that will be problematic, given the wide variety of MTA extension frameworks. A better approach would be to structure the Mailman code in such a way that large parts of it can be used as a library, which could serve as the basis for sites writing their own MTA extension, or any other specialized Mailman-based application. This is actually one of the main reasons why I've been moving the bulk of the bin and cron scripts to inside the top-level Mailman package for 2.2. Those scripts need to be refactored a bit better, but they do provide some useful higher-level operations that other Python programs can now get access to (e.g. by putting /usr/local/mailman on your sys.path and doing good ol' imports). - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRIbT93EjvBPtnXfVAQJVOAP/eS5fiGp/mWdoTmlp8p98t8fcMnpgbJ1m ljwezQR+3G4FTPI6lymYqAN0xAqYKl4Nwfg6/n3XfUsteD5KaHKuXuTC/FYdMy8B XEDjXpNaq0bF8uHQWyJM7LAEr8nuKOMMgAJyLKE/mk1KHGoyiXm6JXaJXu0VB8ib rAGvZ5QUl+4= =1Z8K -----END PGP SIGNATURE----- From iane at sussex.ac.uk Wed Jun 7 16:46:56 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Wed, 07 Jun 2006 15:46:56 +0100 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: <20060607092046.54b2a0a0@geddy.wooz.org> References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> Message-ID: --On 7 June 2006 09:20:46 -0400 Barry Warsaw wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, 6 Jun 2006 22:02:44 -0700 > Mark Sapiro wrote: > > Ian mentioned that he thinks we should change "Reject" to "Bounce", but > I'm not sure I like that. Rejecting a message or a subscription > request is the action that the admin takes. OK, i'm talking about messages here, not subscription requests. As I understand the terms, a "reject" is an SMTP response to a remote server (or MTA) trying to send email. It means "I'm not accepting this email, you choose what to do with it". The sending MTA may choose to generate a DSN, and a DSN that reports a hard (5xx) rejection is often referred to as a bounce message. With Mailman, rejection isn't possible. We've already accepted the message and queued it. When a Mailman list rule, or an administrator decides to "reject" a message, in fact they're choosing to send a DSN bounce message. There's a REALLY REALLY REALLY important difference in the case of spam. Most spambots will ignore a reject and NOT generate a DSN bounce message. However, if you choose to bounce the message, then a DNS will be sent to an innocent third party. That's collateral spam, and it's a nightmare. Unfortunately, RFC2821 says that you must generate such collateral spam, and that's why I want my MTA to be able to read Mailman's config - so that it can reject email properly at SMTP time. > Mailman's response to > that rejection is return the original message wrapped in a response. > The term "bounce" to me implies a more automatic return that happens at > a lower level in the mail stack, and it might be confused with > terminology in the bounce processing u/i. > So I think the following terms should be used consistently (I'm not > suggesting a mass rewrite to adhere to this): > > Approve > Hold > Reject > Discard > > - -Barry > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > > iQCVAwUBRIbSsXEjvBPtnXfVAQKejwP/QPSup6mVwOezrMdYKly73z3QH3kbq3MN > pzUanylMlhZ9mVB1AYfLLnqI4/ziWmNjkPRj31VtrGKVnTBGHLGAYCnmFB8E4S/P > Zk5DvyG3fPj3VNCfFDN/UyKbaWMIe4tv7qHnS2C5xgE+pIBm00PPtmh9F0INElEi > DwxEI348tIU= > =b6Qu > -----END PGP SIGNATURE----- > _______________________________________________ > Mailman-Developers mailing list > Mailman-Developers at python.org > http://mail.python.org/mailman/listinfo/mailman-developers > Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py > Searchable Archives: > http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: > http://mail.python.org/mailman/options/mailman-developers/iane%40sussex.a > c.uk > > Security Policy: > http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp -- Ian Eiloart IT Services, University of Sussex From iane at sussex.ac.uk Wed Jun 7 16:51:54 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Wed, 07 Jun 2006 15:51:54 +0100 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: <20060607092611.643e6744@geddy.wooz.org> References: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> <20060607092611.643e6744@geddy.wooz.org> Message-ID: --On 7 June 2006 09:26:11 -0400 Barry Warsaw wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wed, 07 Jun 2006 10:41:26 +0100 > Ian Eiloart wrote: > >> Even better would be to integrate Mailman into MTA's better, so that >> the MTA can use Mailman data to reject spam. > > I think that will be problematic, given the wide variety of MTA > extension frameworks. Yes, of course. > A better approach would be to structure the > Mailman code in such a way that large parts of it can be used as a > library, which could serve as the basis for sites writing their own MTA > extension, or any other specialized Mailman-based application. Perhaps. Even better would be to hold rosters in open databases. Exim, for example, can read sql, ldap, flat files and so on. I don't think it's Mailman's job to examine the content of messages - that's the job of a spam or virus filter. > This is actually one of the main reasons why I've been moving the bulk > of the bin and cron scripts to inside the top-level Mailman package for > 2.2. Those scripts need to be refactored a bit better, but they do > provide some useful higher-level operations that other Python programs > can now get access to (e.g. by putting /usr/local/mailman on your > sys.path and doing good ol' imports). > > - -Barry > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > > iQCVAwUBRIbT93EjvBPtnXfVAQJVOAP/eS5fiGp/mWdoTmlp8p98t8fcMnpgbJ1m > ljwezQR+3G4FTPI6lymYqAN0xAqYKl4Nwfg6/n3XfUsteD5KaHKuXuTC/FYdMy8B > XEDjXpNaq0bF8uHQWyJM7LAEr8nuKOMMgAJyLKE/mk1KHGoyiXm6JXaJXu0VB8ib > rAGvZ5QUl+4= > =1Z8K > -----END PGP SIGNATURE----- -- Ian Eiloart IT Services, University of Sussex From brad at stop.mail-abuse.org Wed Jun 7 19:28:55 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Wed, 7 Jun 2006 12:28:55 -0500 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> Message-ID: At 3:46 PM +0100 2006-06-07, Ian Eiloart wrote: >> Ian mentioned that he thinks we should change "Reject" to "Bounce", but >> I'm not sure I like that. Rejecting a message or a subscription >> request is the action that the admin takes. > > OK, i'm talking about messages here, not subscription requests. List moderators deal mostly with messages, list administrators deal more frequently with things like subscription requests. We need to distinguish here what we call what, in what context. > As I > understand the terms, a "reject" is an SMTP response to a remote server (or > MTA) trying to send email. It means "I'm not accepting this email, you > choose what to do with it". The sending MTA may choose to generate a DSN, > and a DSN that reports a hard (5xx) rejection is often referred to as a > bounce message. Actually, no -- that would be a refusal. A rejection would be something you would send after accepting the message initially, and then discovering that you could not deliver the message for some reason. So, when it comes to spam, you want to refuse it and not reject it. > There's a REALLY REALLY REALLY important difference in the case of spam. > Most spambots will ignore a reject and NOT generate a DSN bounce message. > However, if you choose to bounce the message, then a DNS will be sent to an > innocent third party. That's collateral spam, and it's a nightmare. Yes, blowback is a problem. I'm not sure that anyone can resolve this problem any time soon, however. > Unfortunately, RFC2821 says that you must generate such collateral spam, > and that's why I want my MTA to be able to read Mailman's config - so that > it can reject email properly at SMTP time. See my previous responses. We may be able to teach the MTAs how to read some of the databases that Mailman might be using when it would be making its decision to accept or reject the message, but I don't think it's going to be possible to teach the MTAs everything. -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From brad at stop.mail-abuse.org Wed Jun 7 19:24:26 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Wed, 7 Jun 2006 12:24:26 -0500 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: <20060607092611.643e6744@geddy.wooz.org> References: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> <20060607092611.643e6744@geddy.wooz.org> Message-ID: At 9:26 AM -0400 2006-06-07, Barry Warsaw wrote: > I think that will be problematic, given the wide variety of MTA > extension frameworks. It's not just the MTA extension frameworks, it's also the myriad of things that Mailman may choose to do or to look at when deciding what to do, based on content in the message. I don't think it's feasible to completely re-write Mailman, or to completely re-write the MTAs, so that each of them has a deep integral understanding of all the nuances and complexities of the work that is being done by the other. Short of doing a rewrite on that scale, I suspect that we're going to continue to have these kinds of problems for some time. -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From brad at stop.mail-abuse.org Wed Jun 7 19:36:23 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Wed, 7 Jun 2006 12:36:23 -0500 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> <20060607092611.643e6744@geddy.wooz.org> Message-ID: At 3:51 PM +0100 2006-06-07, Ian Eiloart wrote: > Perhaps. Even better would be to hold rosters in open databases. Exim, for > example, can read sql, ldap, flat files and so on. That's just rosters. That's a small part of the overall set of things that Mailman is going to be looking at when it comes to deciding whether or not to accept or reject a given message. Moreover, we've been trying to go to an integrated database model for all data regarding users, but what you're proposing here would be a push towards simplified, almost flat, databases with minimal specific information about users, so that the MTA could parse that information and understand who was subscribed to what list. Unless you've got some ideas of how to teach all MTAs how to reach deeply into our database and pull out subscription information for a given message, I don't see how these two goals are anything but diametrically opposed. We can't just be thinking of a single MTA here. Just because it would be convenient to you to make all this magic happen in a way that would be perfectly fine for Exim, doesn't mean that we can ignore sendmail, postfix, and other programs. If you want to write up some Exim-specific ways that would result in a tighter integration between the MTA and Mailman, I think that would be fine so long as they don't cause architectural changes within Mailman that would result in a significantly worse integration with other MTAs. > I don't think it's > Mailman's job to examine the content of messages - that's the job of a spam > or virus filter. But once the spam or virus filter has done their work, we need to look at that as part of the output in making our decisions. I don't think there's any way in the world that you're going to escape this. -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From brad at stop.mail-abuse.org Wed Jun 7 19:21:54 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Wed, 7 Jun 2006 12:21:54 -0500 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> References: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> Message-ID: At 10:41 AM +0100 2006-06-07, Ian Eiloart wrote: > Even better would be to integrate Mailman into MTA's better, so that the > MTA can use Mailman data to reject spam. I think we've had this debate in the past. I don't think that's possible, given the sorts of things that Mailman may do with messages, including taking different actions on different messages with the exact same combination of envelope sender and recipient, based on the values of other things in the headers (such as placed there by anti-spam/anti-virus scanning systems). If you want to completely re-write your MTA so that it has a deep understanding of all the internal workings of Mailman, feel free to go ahead and do that. Otherwise, I suspect that we're going to continue to have this kind of problem for quite some time. -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From barry at python.org Wed Jun 7 20:18:52 2006 From: barry at python.org (Barry Warsaw) Date: Wed, 7 Jun 2006 14:18:52 -0400 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> Message-ID: <20060607141852.41f12e4c@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 07 Jun 2006 15:46:56 +0100 Ian Eiloart wrote: > OK, i'm talking about messages here, not subscription requests. As I > understand the terms, a "reject" is an SMTP response to a remote > server (or MTA) trying to send email. It means "I'm not accepting > this email, you choose what to do with it". The sending MTA may > choose to generate a DSN, and a DSN that reports a hard (5xx) > rejection is often referred to as a bounce message. > > With Mailman, rejection isn't possible. We've already accepted the > message and queued it. When a Mailman list rule, or an administrator > decides to "reject" a message, in fact they're choosing to send a DSN > bounce message. I think that's a good point. What's really happening is that the admin is disapproving the message and returning it back to the original sender. The question is, which term captures that better for non-techies (I think techies will get it either way). To me "reject" is better than "bounce". Has anybody seen any comments on this issue on mailman-users? Using the term "bounce" here also has the possibility of confusion with the automated bounce processing system. > There's a REALLY REALLY REALLY important difference in the case of > spam. Most spambots will ignore a reject and NOT generate a DSN > bounce message. However, if you choose to bounce the message, then a > DNS will be sent to an innocent third party. That's collateral spam, > and it's a nightmare. Right, but we're not talking about an automated process here, we're talking about the actions a list admin will take manually. I honestly don't think it's feasible for a list admin to be managing malware. Ideally, 99% of all malware should be filtered lower in the stack, before Mailman (and the list admin) ever sees it. Of course, no filter is perfect, so if an admin does see spam, then she has the option of discarding it, which is why that operation has been optimized (Discard all messages marked deferred). Bottom line is that all malware that sneaks through whatever filters are in place should always be discarded, never rejected. > Unfortunately, RFC2821 says that you must generate such collateral > spam, and that's why I want my MTA to be able to read Mailman's > config - so that it can reject email properly at SMTP time. Very soon now I am going to start work on a SQLite backend for MM2.2. If we're lucky, I'll be able to use something like SQLAlchemy or SQLObject which will buy you many other RDBMS's at the same time. Then it's just a simple matter of publishing the schema, right? - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRIcYjXEjvBPtnXfVAQLj+gQAucBdCYrIwrGv1vVws2kvPNDRk3MFoQNY k1VOr2KQEgkqLE7tdkw4JZAMN22KxyCsIvs3TRwEQcrChU/kEySNqVJAZT2+KW5T 8NM4Y2fug53SGdjiv/C6Ig/wg3cXWseBC9+RnZdd/vKOC4XHXl5NM6dujkJn8fWy 7DauaMvv5qY= =ggpj -----END PGP SIGNATURE----- From barry at python.org Wed Jun 7 20:20:09 2006 From: barry at python.org (Barry Warsaw) Date: Wed, 7 Jun 2006 14:20:09 -0400 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> <20060607092611.643e6744@geddy.wooz.org> Message-ID: <20060607142009.12546a36@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 07 Jun 2006 15:51:54 +0100 Ian Eiloart wrote: > > A better approach would be to structure the > > Mailman code in such a way that large parts of it can be used as a > > library, which could serve as the basis for sites writing their own > > MTA extension, or any other specialized Mailman-based application. > > Perhaps. Even better would be to hold rosters in open databases. > Exim, for example, can read sql, ldap, flat files and so on. It's likely we'll do that too, to some degree, for MM2.2 (see my other response). > I don't think it's Mailman's job to examine the content of messages - > that's the job of a spam or virus filter. I agree. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRIcY2XEjvBPtnXfVAQLI5QP/ZSTtijaiiFIDCsc9jiYsey3KnhdcNa7j k7K4PYKs4QGvvsq5vtnMokosEuJjsr9oVWDuq+esXMjEp52j0EH2XbOSORsb3DXz kHo6a4H5W2QU+DZPwcUikDRWGIc+bQPQAcsBKUzcDqGzRNLvNnIGAlQRa6dp4yKN NDcIipGKRoA= =o/ZY -----END PGP SIGNATURE----- From barry at python.org Wed Jun 7 20:35:28 2006 From: barry at python.org (Barry Warsaw) Date: Wed, 7 Jun 2006 14:35:28 -0400 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> <20060607092611.643e6744@geddy.wooz.org> Message-ID: <20060607143528.1249af3f@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 7 Jun 2006 12:36:23 -0500 Brad Knowles wrote: > We can't just be thinking of a single MTA here. Just because > it would be convenient to you to make all this magic happen in a way > that would be perfectly fine for Exim, doesn't mean that we can > ignore sendmail, postfix, and other programs. > > If you want to write up some Exim-specific ways that would > result in a tighter integration between the MTA and Mailman, I think > that would be fine so long as they don't cause architectural changes > within Mailman that would result in a significantly worse integration > with other MTAs. Totally agree. OTOH, don't most MTAs provide /some/ way to call external programs on messages at various points in their workflow? If so, then by providing richer and more unified Python APIs inside Mailman, we can at least allow for developers to write extension modules for their MTAs that more tightly couple Mailman and the MTA, without having to perform major surgery on Mailman or duplicate lots of code. That's really the direction I'm heading in -- make Mailman more like a (Python) library that can be used to write custom "applications". Those applications wouldn't need to reach into our dbs directly because they ought to be able to get most answers to a question fairly directly. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRIcccHEjvBPtnXfVAQJO1QP/aHkb6YJa8+Gw/CI5dzDu8vjbTc4OqFbv 8yqaywKPKSz5ZysMQWdKa4w8Kqypp3vkF6K9gxjQbGj2eE6yxMOJnDBUWow5KSGm heVUdUe3q3cM5QXrFr3uOL++JN7+FfA/xw4agJH/zL/+/65AKgzrlYGo8Ky/kU4B wIA9c92288g= =phJV -----END PGP SIGNATURE----- From iane at sussex.ac.uk Wed Jun 7 20:44:51 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Wed, 07 Jun 2006 19:44:51 +0100 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: <20060607141852.41f12e4c@resist.wooz.org> References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> <20060607141852.41f12e4c@resist.wooz.org> Message-ID: <2BA1161BA40C5F4AB7BF8FB8@lewes.staff.uscs.susx.ac.uk> --On 7 June 2006 14:18:52 -0400 Barry Warsaw wrote: > > I think that's a good point. What's really happening is that the admin > is disapproving the message and returning it back to the original > sender. The question is, which term captures that better for > non-techies (I think techies will get it either way). To me "reject" > is better than "bounce". Has anybody seen any comments on this issue > on mailman-users? How about "return to sender"? That is what you'd say in the real world with snail mail. Better might be "return to purported sender" or even "return to some poor guy who knows nothing about this email" ;) -- Ian Eiloart IT Services, University of Sussex From barry at python.org Wed Jun 7 20:45:03 2006 From: barry at python.org (Barry Warsaw) Date: Wed, 7 Jun 2006 14:45:03 -0400 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> <20060607092611.643e6744@geddy.wooz.org> Message-ID: <20060607144503.4aa6bac6@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 7 Jun 2006 12:24:26 -0500 Brad Knowles wrote: > It's not just the MTA extension frameworks, it's also the > myriad of things that Mailman may choose to do or to look at when > deciding what to do, based on content in the message. I agree. > I don't think it's feasible to completely re-write Mailman, > or to completely re-write the MTAs, so that each of them has a deep > integral understanding of all the nuances and complexities of the > work that is being done by the other. > > Short of doing a rewrite on that scale, I suspect that we're > going to continue to have these kinds of problems for some time. There will certainly be limits to what you can do, but essentially the idea is that the MTA would be asking Mailman what it would do with a particular message. Kind of like the MTA calling out to SpamAssassin at various points in the SMTP protocol. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRIcer3EjvBPtnXfVAQKK5wP/fjgFY1rBOErUXr1y154MUSylRYGzEu7K DqETUMsH/DuBB7Q+AUYxIeM0uS245p2jffGbWPI9pHl6Ysvb8NKo9tV+yMLlLaYs GhyUZC29fBejqQI5EwvmDlWHSfXwku8S4yk7CFS2jnkOyfme0XMBwKj8YcLZ06aL GdUMyKHq9XU= =/bQu -----END PGP SIGNATURE----- From barry at python.org Wed Jun 7 20:49:18 2006 From: barry at python.org (Barry Warsaw) Date: Wed, 7 Jun 2006 14:49:18 -0400 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: <2BA1161BA40C5F4AB7BF8FB8@lewes.staff.uscs.susx.ac.uk> References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> <20060607141852.41f12e4c@resist.wooz.org> <2BA1161BA40C5F4AB7BF8FB8@lewes.staff.uscs.susx.ac.uk> Message-ID: <20060607144918.2e3c80d9@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 07 Jun 2006 19:44:51 +0100 Ian Eiloart wrote: > How about "return to sender"? That is what you'd say in the real > world with snail mail. Better might be "return to purported sender" > or even "return to some poor guy who knows nothing about this > email" ;) :) - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRIcfrnEjvBPtnXfVAQJ0tQP/Re/20m7I6W6/ooQY4MIjf6l9AtQTPJqu Fbue60fvRTlggfcmraQDulRN9aqoSo9UuykqlYDXyUN0LCLL3+34dqG/EFXQBge5 asL2XFZy7pARS90VTbutN5y5E3BfrhWSlfX250AWPbhN3H4LIhjaqJJQFPgi2QBm yJEY5N4mtTg= =9CRp -----END PGP SIGNATURE----- From iane at sussex.ac.uk Wed Jun 7 20:59:56 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Wed, 07 Jun 2006 19:59:56 +0100 Subject: [Mailman-Developers] Mailman on a cluster Message-ID: Hi, I'm looking at running Mailman on a cluster of servers, sharing a single disk with Apple XSan. I presume that everything done through the web interface must be resilient to multiple simultaneous attempts to modify - say - a list membership. So, I expect that I can put the list databases on a shared file system. But, what about the queue runners. Is it safe to share the queues between servers? If its safe to run multiple queue runners on one queue on one machine, then I should be OK - but I'm not sure that Mailman does that. If not, then I'm probably safer leaving the queues on unshared file systems, and accepting that a some queued items won't get processed while a cluster member is unavailable. -- Ian Eiloart IT Services, University of Sussex From barry at python.org Wed Jun 7 21:26:48 2006 From: barry at python.org (Barry Warsaw) Date: Wed, 7 Jun 2006 15:26:48 -0400 Subject: [Mailman-Developers] Mailman on a cluster In-Reply-To: References: Message-ID: <20060607152648.4200440a@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 07 Jun 2006 19:59:56 +0100 Ian Eiloart wrote: > I'm looking at running Mailman on a cluster of servers, sharing a > single disk with Apple XSan. > > I presume that everything done through the web interface must be > resilient to multiple simultaneous attempts to modify - say - a list > membership. So, I expect that I can put the list databases on a > shared file system. Mailman's locking scheme is NFS-safe, and should be safe on all shared files systems that support POSIX semantics. Given this, there should be no race conditions against the list databases, through any of the access mechanisms. Just make sure that if you have really huge lists, your cgi timeouts are set appropriately or your web server could kill the Mailman cgis while they wait for some other process's list lock to be released (this is the case even if you weren't clustered). Make sure your list lock timeouts are set appropriately too because you really don't want them getting broken. > But, what about the queue runners. Is it safe to share the queues > between servers? If its safe to run multiple queue runners on one > queue on one machine, then I should be OK - but I'm not sure that > Mailman does that. If not, then I'm probably safer leaving the queues > on unshared file systems, and accepting that a some queued items > won't get processed while a cluster member is unavailable. This should be safe too. Mailman uses a sha1 hash space slicing algorithm to ensure that each qfile is managed by exactly one qrunner process. No locking is required as long as you configure your slices appropriately. It's still the case though that should a cluster member go down, that portion of the hash space managed by those qrunners won't get processed. It should be fairly easy to reconfigure a backup though to handle the hash space while the primary is off-line. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRIcoeHEjvBPtnXfVAQKRSwP/ezLkaIFz2DHCxbW4fjqL2BIqlI4NTDcp kYt0kF+yGOBpVP9lYTrg2trAOZAXvaXPO8NZ0ujbO9ffKgTspKt10f4m+Oma/pm6 TMRRgo1Gp5GkImzYVrWXgywAg5jmXngSLcaxsbKej54pHKwv1uj01kRYNu7jrTJI RjJiB70mtJA= =iSah -----END PGP SIGNATURE----- From Dale at Newfield.org Wed Jun 7 21:32:49 2006 From: Dale at Newfield.org (Dale Newfield) Date: Wed, 07 Jun 2006 22:32:49 +0300 Subject: [Mailman-Developers] Mailman on a cluster In-Reply-To: References: Message-ID: <448729E1.50507@Newfield.org> Ian Eiloart wrote: > I'm looking at running Mailman on a cluster of servers, sharing a single > disk with Apple XSan. Barry, none of the bdb stuff you were working on is in the 2.1 tree, is it? bdb does not guarantee acid properties over networked file systems... -Dale Newfield Dale at Newfield.org From fil at rezo.net Wed Jun 7 21:53:41 2006 From: fil at rezo.net (Fil) Date: Wed, 7 Jun 2006 21:53:41 +0200 Subject: [Mailman-Developers] archiving size issue Message-ID: <20060607195341.GR14428@rezo.net> Hello, my server's drive is saturated now and my problem #1 is with the mailing-list archives. I have a total of 5GB of archives in .mbox format... which make a whopping 12GB when you add the html-generated archives. This makes me think that we might have room for improvement here... either to "archive on another computer" (using ssh maybe?), or to generate the archive HTML pages on the fly (with proper caching of the thread structure of course). It would also help a lot if the Message-Id were part of the url, I think. I'm not looking for a solution, but hints would already be great. -- Fil From barry at python.org Wed Jun 7 21:54:53 2006 From: barry at python.org (Barry Warsaw) Date: Wed, 7 Jun 2006 15:54:53 -0400 Subject: [Mailman-Developers] Mailman on a cluster In-Reply-To: <448729E1.50507@Newfield.org> References: <448729E1.50507@Newfield.org> Message-ID: <20060607155453.020d4694@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 07 Jun 2006 22:32:49 +0300 Dale Newfield wrote: > Ian Eiloart wrote: > > I'm looking at running Mailman on a cluster of servers, sharing a > > single disk with Apple XSan. > > Barry, none of the bdb stuff you were working on is in the 2.1 tree, > is it? bdb does not guarantee acid properties over networked file > systems... I just did a quick poke around the svn repository and I think you're right. IIRC, they were cvs rm'd quite a while ago, so it's possible they can be resurrected with the right Subversion magic. I wouldn't put much faith in them though -- does anybody (other than Sleepycat^H^H^H^H^H^H^H^H^H^HOracle) really know how to write robust and reliable BDB systems? ;) - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRIcvDnEjvBPtnXfVAQJK6gP/fo8llEMr0nLxLKBMktDriJrTNYg6qN9/ msR6RAfgRKt74/2ES/lOBfSSf2Mid9KyiI+5VfZlR/Jg3R07aHBKAkNPrsUFyo1o x70Zhsp+kOFlZp4XPBKdUsU9ItU+h0U11wgbvCNBiQPXAGcG8lorFhPdR7h+6qry 9107kpZTUDU= =ovYc -----END PGP SIGNATURE----- From barry at python.org Wed Jun 7 22:06:22 2006 From: barry at python.org (Barry Warsaw) Date: Wed, 7 Jun 2006 16:06:22 -0400 Subject: [Mailman-Developers] archiving size issue In-Reply-To: <20060607195341.GR14428@rezo.net> References: <20060607195341.GR14428@rezo.net> Message-ID: <20060607160622.4f0fe1cd@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 7 Jun 2006 21:53:41 +0200 Fil wrote: > my server's drive is saturated now and my problem #1 is with the > mailing-list archives. I have a total of 5GB of archives in .mbox > format... which make a whopping 12GB when you add the html-generated > archives. > > This makes me think that we might have room for improvement here... > either to "archive on another computer" (using ssh maybe?), or to > generate the archive HTML pages on the fly (with proper caching of > the thread structure of course). It would also help a lot if the > Message-Id were part of the url, I think. I'm not looking for a > solution, but hints would already be great. Ultimately, I think generating the archive html on the fly is the right way to go. That approach provides so many possible benefits at the mere cost of cpu time. When the original archive system was designed, that cost was too high, and thus we have the static page rendering approach. But today I think the tradeoff tips in the other direction. Also, the mbox file is really only needed these days in order to regen your archive, but that's fraught with pain anyway because there's no guarantee (in fact a pretty good anti-guarantee) that your message urls will be the same after regeneration. So yes, a predictable and reproducible message url is part of the solution. As I always say when this topic comes up, I'd love to have some motivated developers come forward to help with an archiver redesign, so if you're interested in doing work here, let me know! - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRIcxw3EjvBPtnXfVAQLdzAQAuLrOQwkiAo0SN3YwmzZ7K/8cocvxIf05 iZNJ5zq7koIjjcF4cSR/cxbVey543NIz+SBR7HeG4gZ6C7ZrZ7SSgXo+c7o+d2BL RA5B347arj3IOmFlW64STotGE4dKzBPdDRMTK/Px4Z8g22Hs6ntntGv78uQ2wDm3 IerVcP7TMuY= =DoDP -----END PGP SIGNATURE----- From bob at nleaudio.com Wed Jun 7 23:02:01 2006 From: bob at nleaudio.com (Bob Puff@NLE) Date: Wed, 07 Jun 2006 17:02:01 -0400 Subject: [Mailman-Developers] archiving size issue In-Reply-To: <20060607160622.4f0fe1cd@resist.wooz.org> References: <20060607195341.GR14428@rezo.net> <20060607160622.4f0fe1cd@resist.wooz.org> Message-ID: <44873EC9.5070108@nleaudio.com> Umm, may I humbly request there be an option NOT to dynamically generate them?? :-) One of my boxes gets git hard by people reading the archives, and I also run ht:dig to comb through the files every night, which would be a bit different with a database format. I already have boxes that slow down to a crawl by those CMS database-driven apps! Bob Barry Warsaw wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wed, 7 Jun 2006 21:53:41 +0200 > Fil wrote: > > >>my server's drive is saturated now and my problem #1 is with the >>mailing-list archives. I have a total of 5GB of archives in .mbox >>format... which make a whopping 12GB when you add the html-generated >>archives. >> >>This makes me think that we might have room for improvement here... >>either to "archive on another computer" (using ssh maybe?), or to >>generate the archive HTML pages on the fly (with proper caching of >>the thread structure of course). It would also help a lot if the >>Message-Id were part of the url, I think. I'm not looking for a >>solution, but hints would already be great. > > > Ultimately, I think generating the archive html on the fly is the right > way to go. That approach provides so many possible benefits at the > mere cost of cpu time. When the original archive system was > designed, that cost was too high, and thus we have the static page > rendering approach. But today I think the tradeoff tips in the other > direction. > > Also, the mbox file is really only needed these days in order to regen > your archive, but that's fraught with pain anyway because there's no > guarantee (in fact a pretty good anti-guarantee) that your message urls > will be the same after regeneration. So yes, a predictable and > reproducible message url is part of the solution. > > As I always say when this topic comes up, I'd love to have some > motivated developers come forward to help with an archiver redesign, so > if you're interested in doing work here, let me know! > > - -Barry > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > > iQCVAwUBRIcxw3EjvBPtnXfVAQLdzAQAuLrOQwkiAo0SN3YwmzZ7K/8cocvxIf05 > iZNJ5zq7koIjjcF4cSR/cxbVey543NIz+SBR7HeG4gZ6C7ZrZ7SSgXo+c7o+d2BL > RA5B347arj3IOmFlW64STotGE4dKzBPdDRMTK/Px4Z8g22Hs6ntntGv78uQ2wDm3 > IerVcP7TMuY= > =DoDP > -----END PGP SIGNATURE----- > _______________________________________________ > Mailman-Developers mailing list > Mailman-Developers at python.org > http://mail.python.org/mailman/listinfo/mailman-developers > Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py > Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ > Unsubscribe: http://mail.python.org/mailman/options/mailman-developers/bob%40nleaudio.com > > Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp > From barry at python.org Thu Jun 8 00:10:51 2006 From: barry at python.org (Barry Warsaw) Date: Wed, 7 Jun 2006 18:10:51 -0400 Subject: [Mailman-Developers] archiving size issue In-Reply-To: <44873EC9.5070108@nleaudio.com> References: <20060607195341.GR14428@rezo.net> <20060607160622.4f0fe1cd@resist.wooz.org> <44873EC9.5070108@nleaudio.com> Message-ID: <20060607181051.085729d4@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 07 Jun 2006 17:02:01 -0400 "Bob Puff at NLE" wrote: > Umm, may I humbly request there be an option NOT to dynamically > generate them?? :-) One of my boxes gets git hard by people reading > the archives, and I also run ht:dig to comb through the files every > night, which would be a bit different with a database format. I > already have boxes that slow down to a crawl by those CMS > database-driven apps! :) Hopefully caching will help, but don't worry. It's much more likely that nothing will change. :) - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRIdO63EjvBPtnXfVAQKadAP/fZ9XZ/IoLSLB1U0o5RtsbwhG6frxPmiX /5NM0FsY7JJnDGBEDkUal0AHAUpDb1yMmiojm2OIA8zt41kkgj/0WxWWTBdFXTFG p1ov1fcGZCkhlLoKEdlD8h8OEmNz/StfSJZvQAdJQdkExhSqzKCfRK/hXR9gjC++ y6/RLhjSDKw= =ines -----END PGP SIGNATURE----- From brad at stop.mail-abuse.org Thu Jun 8 06:28:30 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Wed, 7 Jun 2006 23:28:30 -0500 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: <20060607141852.41f12e4c@resist.wooz.org> References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> <20060607141852.41f12e4c@resist.wooz.org> Message-ID: At 2:18 PM -0400 2006-06-07, Barry Warsaw wrote: > To me "reject" > is better than "bounce". Has anybody seen any comments on this issue > on mailman-users? Reject is the correct term. Ian misunderstood what you're talking about, and got off on the wrong track. -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From brad at stop.mail-abuse.org Thu Jun 8 06:34:57 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Wed, 7 Jun 2006 23:34:57 -0500 Subject: [Mailman-Developers] Mailman on a cluster In-Reply-To: <448729E1.50507@Newfield.org> References: <448729E1.50507@Newfield.org> Message-ID: At 10:32 PM +0300 2006-06-07, Dale Newfield wrote: > Ian Eiloart wrote: >> I'm looking at running Mailman on a cluster of servers, sharing a single >> disk with Apple XSan. > > Barry, none of the bdb stuff you were working on is in the 2.1 tree, is > it? bdb does not guarantee acid properties over networked file systems... My understanding is that Berkeley db doesn't work at all on NFS, because it uses mmap to handle access to the database files, and mmap on NFS is an undefined operation. This is the same problem that people wanting to use Cyrus on NFS face, for the same reason -- Berkely db on NFS doesn't work. -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From brad at stop.mail-abuse.org Thu Jun 8 06:36:51 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Wed, 7 Jun 2006 23:36:51 -0500 Subject: [Mailman-Developers] Mailman on a cluster In-Reply-To: <20060607155453.020d4694@resist.wooz.org> References: <448729E1.50507@Newfield.org> <20060607155453.020d4694@resist.wooz.org> Message-ID: At 3:54 PM -0400 2006-06-07, Barry Warsaw wrote: > I wouldn't > put much faith in them though -- does anybody (other than > Sleepycat^H^H^H^H^H^H^H^H^H^HOracle) really know how to write robust > and reliable BDB systems? ;) Well, I'm pretty sure that Eric Allman can, since he worked closely with those guys back when he was at UCB, and he also spent some time writing the original Postgres database. But one positive example does not prove a trend. ;) -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From brad at stop.mail-abuse.org Thu Jun 8 06:38:43 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Wed, 7 Jun 2006 23:38:43 -0500 Subject: [Mailman-Developers] archiving size issue In-Reply-To: <20060607160622.4f0fe1cd@resist.wooz.org> References: <20060607195341.GR14428@rezo.net> <20060607160622.4f0fe1cd@resist.wooz.org> Message-ID: At 4:06 PM -0400 2006-06-07, Barry Warsaw wrote: > Ultimately, I think generating the archive html on the fly is the right > way to go. That approach provides so many possible benefits at the > mere cost of cpu time. When the original archive system was > designed, that cost was too high, and thus we have the static page > rendering approach. But today I think the tradeoff tips in the other > direction. I think we need to have both solutions. I have some really anemic machines running Mailman, and I can't imagine what they'd do if they had to generate HTML archives on the fly. > As I always say when this topic comes up, I'd love to have some > motivated developers come forward to help with an archiver redesign, so > if you're interested in doing work here, let me know! I can give some input and feedback based on my own experiences, but I'm not a developer. ;( -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From brad at stop.mail-abuse.org Thu Jun 8 06:32:01 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Wed, 7 Jun 2006 23:32:01 -0500 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: <20060607143528.1249af3f@resist.wooz.org> References: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> <20060607092611.643e6744@geddy.wooz.org> <20060607143528.1249af3f@resist.wooz.org> Message-ID: At 2:35 PM -0400 2006-06-07, Barry Warsaw wrote: > Totally agree. OTOH, don't most MTAs provide /some/ way to call > external programs on messages at various points in their workflow? Sendmail has milter, and that has now been brought into postfix (as of 2.3), but I can't speak for any other MTAs. What would need to happen would be a custom program would have to be written for each MTA to interact with it in the way that MTA works, but which has a deep understanding of Mailman and the configuration for each list and recipient, and could effectively do a "dry run" for each message. Of course, this would have to happen after the anti-spam/anti-virus milters, and then some sites are going to use accept & scan techniques as opposed to milter, so there may need to be multiple different "MTA adapters", even for a particular MTA. -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From iane at sussex.ac.uk Thu Jun 8 13:20:56 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Thu, 08 Jun 2006 12:20:56 +0100 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> <20060607092611.643e6744@geddy.wooz.org> <20060607143528.1249af3f@resist.wooz.org> Message-ID: --On 7 June 2006 23:32:01 -0500 Brad Knowles wrote: > At 2:35 PM -0400 2006-06-07, Barry Warsaw wrote: > >> Totally agree. OTOH, don't most MTAs provide /some/ way to call >> external programs on messages at various points in their workflow? > > Sendmail has milter, and that has now been brought into postfix (as of > 2.3), but I can't speak for any other MTAs. What would need to happen > would be a custom program would have to be written for each MTA to > interact with it in the way that MTA works, but which has a deep > understanding of Mailman and the configuration for each list and > recipient, and could effectively do a "dry run" for each message. No, that's not true. What's required is that Mailman provide a simple API to allow MTA developers to ask Mailman whether a particular sender is permitted to post to the list. Holding rosters (a v3 proposal) in open databases would solve this problem - at least for Exim. Although Mailman is capable of filtering on other factors, I don't think the number of cases is significant. However, it might be possible to extend the API to provide information on other list policies. > Of course, this would have to happen after the anti-spam/anti-virus > milters, and then some sites are going to use accept & scan techniques as > opposed to milter, so there may need to be multiple different "MTA > adapters", even for a particular MTA. If an MTA is doing accept and scan, then none of this is relevant. If the MTA doesn't query Mailman BEFORE accepting the message, then there's never any point in doing it at all. -- Ian Eiloart IT Services, University of Sussex From iane at sussex.ac.uk Thu Jun 8 13:30:03 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Thu, 08 Jun 2006 12:30:03 +0100 Subject: [Mailman-Developers] Mailman on a cluster In-Reply-To: <20060607152648.4200440a@resist.wooz.org> References: <20060607152648.4200440a@resist.wooz.org> Message-ID: <84136F8DF6C0AE5650F2B26B@lewes.staff.uscs.susx.ac.uk> --On 7 June 2006 15:26:48 -0400 Barry Warsaw wrote: > >> I'm looking at running Mailman on a cluster of servers, sharing a >> single disk with Apple XSan. >> >> I presume that everything done through the web interface must be >> resilient to multiple simultaneous attempts to modify - say - a list >> membership. So, I expect that I can put the list databases on a >> shared file system. > > Mailman's locking scheme is NFS-safe, and should be safe on all shared > files systems that support POSIX semantics. Given this, there should > be no race conditions against the list databases, through any of the > access mechanisms. Just make sure that if you have really huge lists, > your cgi timeouts are set appropriately or your web server could kill > the Mailman cgis while they wait for some other process's list lock to > be released (this is the case even if you weren't clustered). Make > sure your list lock timeouts are set appropriately too because you > really don't want them getting broken. That's good. It's an essential requirement that all the web servers see the same information. >> But, what about the queue runners. Is it safe to share the queues >> between servers? If its safe to run multiple queue runners on one >> queue on one machine, then I should be OK - but I'm not sure that >> Mailman does that. If not, then I'm probably safer leaving the queues >> on unshared file systems, and accepting that a some queued items >> won't get processed while a cluster member is unavailable. > > This should be safe too. Mailman uses a sha1 hash space slicing > algorithm to ensure that each qfile is managed by exactly one qrunner > process. No locking is required as long as you configure your slices > appropriately. It's still the case though that should a cluster member > go down, that portion of the hash space managed by those qrunners won't > get processed. It should be fairly easy to reconfigure a backup though > to handle the hash space while the primary is off-line. OK, so I have to figure out how to configure the slices to avoid clashes, but still won't gain anything until I figure out a backup scheme. I have failover between cluster members, so that should be doable. On the other hand, I might just live with the downtime - cluster members don't tend to go off line for more than a few minutes. Thanks Barry. I feel like I know what I'm doing now! > - -Barry -- Ian Eiloart IT Services, University of Sussex From t.d.lee at durham.ac.uk Thu Jun 8 13:39:22 2006 From: t.d.lee at durham.ac.uk (David Lee) Date: Thu, 8 Jun 2006 12:39:22 +0100 (BST) Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: <20060607092046.54b2a0a0@geddy.wooz.org> References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> Message-ID: On Wed, 7 Jun 2006, Barry Warsaw wrote: > [...] > It's just that we'll be redesigning the web u/i as part of the Google > SoC project (don't worry, it's not a forgone conclusion that that work > will be integrated into the mainline release). As we redesign and > rewrite, I think we should standardize on "Approve" for actions to be > taken by the list administrator. > > [...] > So I think the following terms should be used consistently (I'm not > suggesting a mass rewrite to adhere to this): > > Approve > Hold > Reject > Discard Throwing another item into the pot... ... on May 19th I started a thread "sender-based authorisation". In summary, this is intended as a defence against spoof. The incoming email would carry a header (of first line in body) of something like: Authorised: sender-pw where "sender-pw" is associated with the (claimed) From-address. This is different from, but complementary to, "Approved: list-pw". (See the thread itself for the gory detail.) This thread seemed to be accepted in principle, and as a step towards the "to-do" item. Given that I'm just about to start on implementing this, it would be nice to establish whether this sender-related word "Authorised" is the appropriate word, or if there is something better. Locally, we need to get moving on implementing this concept. Whilst my local code might get heavily replaced as future versions of Mailman (re-)implement these ideas, it would nevertheless be useful, from the persepctive of our users, to get the terminology agreed early on.) -- : David Lee I.T. Service : : Senior Systems Programmer Computer Centre : : Durham University : : http://www.dur.ac.uk/t.d.lee/ South Road : : Durham DH1 3LE : : Phone: +44 191 334 2752 U.K. : From barry at python.org Thu Jun 8 14:21:51 2006 From: barry at python.org (Barry Warsaw) Date: Thu, 8 Jun 2006 08:21:51 -0400 Subject: [Mailman-Developers] Mailman on a cluster In-Reply-To: <84136F8DF6C0AE5650F2B26B@lewes.staff.uscs.susx.ac.uk> References: <20060607152648.4200440a@resist.wooz.org> <84136F8DF6C0AE5650F2B26B@lewes.staff.uscs.susx.ac.uk> Message-ID: <097F701F-107B-47EE-9DD2-78149071D146@python.org> On Jun 8, 2006, at 7:30 AM, Ian Eiloart wrote: > > OK, so I have to figure out how to configure the slices to avoid > clashes, but still won't gain anything until I figure out a backup > scheme. I have failover between cluster members, so that should be > doable. On the other hand, I might just live with the downtime - > cluster members don't tend to go off line for more than a few minutes. In that case, the complexity of reconfiguring a backup may not be worth it. The worst that will happen is that that machine's slice of messages will have to wait a few minutes before getting processed, and since mail delivery order is never guaranteed anyway (iow, the delay could have happened anywhere else along the trail), it's possible the delay in bringing the cluster member back up won't be noticeable. > > Thanks Barry. I feel like I know what I'm doing now! > That makes one of us! :) -Barry From barry at python.org Thu Jun 8 14:48:28 2006 From: barry at python.org (Barry Warsaw) Date: Thu, 8 Jun 2006 08:48:28 -0400 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> Message-ID: <0C0EBF15-6A6C-4663-96BE-732A877935D0@python.org> On Jun 8, 2006, at 7:39 AM, David Lee wrote: > > Given that I'm just about to start on implementing this, it would > be nice > to establish whether this sender-related word "Authorised" is the > appropriate word, or if there is something better. > > Locally, we need to get moving on implementing this concept. > Whilst my > local code might get heavily replaced as future versions of Mailman > (re-)implement these ideas, it would nevertheless be useful, from the > persepctive of our users, to get the terminology agreed early on.) > Seems reasonable (I should go back and re-read that thread, but I think I get the gist of it), except for the English-speaking world's inability to agree on the spelling of that word. :) In the US, it's "Authorized". I suppose you could accept both keywords. -Barry From brad at stop.mail-abuse.org Thu Jun 8 15:52:26 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Thu, 8 Jun 2006 08:52:26 -0500 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> <20060607092611.643e6744@geddy.wooz.org> <20060607143528.1249af3f@resist.wooz.org> Message-ID: At 12:20 PM +0100 2006-06-08, Ian Eiloart wrote: > No, that's not true. What's required is that Mailman provide a simple API > to allow MTA developers to ask Mailman whether a particular sender is > permitted to post to the list. Holding rosters (a v3 proposal) in open > databases would solve this problem - at least for Exim. That's fine, for Exim. > Although Mailman is capable of filtering on other factors, I don't think > the number of cases is significant. However, it might be possible to extend > the API to provide information on other list policies. I disagree that it's not significant. If you want to extend the "simple API" argument to other aspects of the filtering Mailman is capable of doing, that's fine. But you still have to have something to use that API to tell the MTA what it needs to know and when, and I don't think we can necessarily depend on the MTA authors to create that. Maybe the Exim authors could and would do so quickly, but that's not the only MTA we have to concern ourselves with. -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From iane at sussex.ac.uk Thu Jun 8 16:26:25 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Thu, 08 Jun 2006 15:26:25 +0100 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> Message-ID: --On 8 June 2006 12:39:22 +0100 David Lee wrote: > The incoming email > would carry a header (of first line in body) of something like: > Authorised: sender-pw > > where "sender-pw" is associated with the (claimed) From-address. This is > different from, but complementary to, "Approved: list-pw". That's neither approval nor authorisation, it's authentication - proving that the person who used the email address also knew the password associated with it. It's far better to insist on authenticated SMTP for ALL message submission. > > Given that I'm just about to start on implementing this, it would be nice > to establish whether this sender-related word "Authorised" is the > appropriate word, or if there is something better. > I've had a look through that thread, and I'm not sure what you're trying to achieve. Generally, there are two aspects to deciding whether someone can post to a list: "authorisation" and "authentication". Passwords are usually used for both, but it's far better to separate the functions. Knowledge of a personal password serves to authenticate you, but not to authorise you. Knowledge of a shared password is sometimes used for authorisation, but can't be used for authentication. Even for authorisation, passwords are extremely weak. -- Ian Eiloart IT Services, University of Sussex From iane at sussex.ac.uk Thu Jun 8 16:35:55 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Thu, 08 Jun 2006 15:35:55 +0100 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> <20060607092611.643e6744@geddy.wooz.org> <20060607143528.1249af3f@resist.wooz.org> Message-ID: --On 8 June 2006 08:52:26 -0500 Brad Knowles wrote: > At 12:20 PM +0100 2006-06-08, Ian Eiloart wrote: > >> No, that's not true. What's required is that Mailman provide a simple >> API to allow MTA developers to ask Mailman whether a particular sender >> is permitted to post to the list. Holding rosters (a v3 proposal) in >> open databases would solve this problem - at least for Exim. > > That's fine, for Exim. > >> Although Mailman is capable of filtering on other factors, I don't think >> the number of cases is significant. However, it might be possible to >> extend the API to provide information on other list policies. > > I disagree that it's not significant. If you want to extend the "simple > API" argument to other aspects of the filtering Mailman is capable of > doing, that's fine. > > > But you still have to have something to use that API to tell the MTA > what it needs to know and when, and I don't think we can necessarily > depend on the MTA authors to create that. Maybe the Exim authors could > and would do so quickly, but that's not the only MTA we have to concern > ourselves with. Well, that doesn't matter. Obviously no solution is going to work for *all* MTAs. Some couldn't work with *any* solution. The thing is that if you decide that Mailman isn't going to share its data with anyone, then nobody can set up a Mailman system which doesn't generate collateral spam. I'm not suggesting that Mailman should relinquish its internal functionality, just that it should expose that functionality. In fact, for exim, the MTA authors may have to do nothing, it might just be a matter of fixing the configuration. In fact, its conceivable that I could do that already, but I'd much rather know that Mailman developers had some kind of commitment to solving the collateral spam problem. And I'd like there to be a supported method for doing that (an API). At the moment, I ask my list administrators to NEVER automatically bounce (sorry, "reject") messages - and I don't think that's satisfactory. -- Ian Eiloart IT Services, University of Sussex From barry at python.org Thu Jun 8 17:25:37 2006 From: barry at python.org (Barry Warsaw) Date: Thu, 8 Jun 2006 11:25:37 -0400 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> Message-ID: <20060608112537.6f2607e7@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 08 Jun 2006 15:26:25 +0100 Ian Eiloart wrote: > > where "sender-pw" is associated with the (claimed) From-address. > > This is different from, but complementary to, "Approved: list-pw". > > That's neither approval nor authorisation, it's authentication - That's a good point. > Passwords are usually used for both, but it's far better to separate > the functions. Knowledge of a personal password serves to > authenticate you, but not to authorise you. Knowledge of a shared > password is sometimes used for authorisation, but can't be used for > authentication. Even for authorisation, passwords are extremely weak. There has been some interest in the past on associating pubkeys with email addresses and using those to authenticate senders of signed messages. In the long run, that's probably a worthy avenue to pursue. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRIhBcnEjvBPtnXfVAQKZTwP/a0ULu7v8TQyrjAgI3Uj/znrsy+Kh24qp ilmE3Y/E9YXiYaSwpgdrLIyIH4zODXspML8l4jnscOBNexlpKNqfY4ZA9ky2oKoI x1YWDZmdVbrWyO5y3pN0bNOhQOkdiBqAs1STv5TP1VoN95eHQQrVlpGTMf6jTGll ZBl3kfV7xrU= =oLd8 -----END PGP SIGNATURE----- From barry at python.org Thu Jun 8 17:37:33 2006 From: barry at python.org (Barry Warsaw) Date: Thu, 8 Jun 2006 11:37:33 -0400 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> <20060607092611.643e6744@geddy.wooz.org> <20060607143528.1249af3f@resist.wooz.org> Message-ID: <20060608113733.135ff45a@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 08 Jun 2006 15:35:55 +0100 Ian Eiloart wrote: > The thing is that if you decide that Mailman isn't going to share its > data with anyone, then nobody can set up a Mailman system which > doesn't generate collateral spam. I'm not suggesting that Mailman > should relinquish its internal functionality, just that it should > expose that functionality. All of Mailman's functionality already /is/ exposed, although it may not be in a format you are familiar and/or comfortable with. I think a lot of people don't get this, so it's important to emphasize. Mailman is more than just open source. Because it's written in Python, even a deployed and operational system has complete access to Mailman's implementation, not just its data. Take a look at the command line scripts some time. There's really nothing special about them because they use exactly the same exposed functionality as any MTA extension would use. The only thing special about them is that one of us wrote it and it comes with Mailman. It's not like your typical MTA written in C where if they don't expose the right hooks, you're mostly SOL unless you can implement the hooks yourself, recompile and redeploy the new binary. Okay, you have to be a Python programmer and you probably have to understand enough of Mailman to know what the consequences of your code is, but that really isn't a huge hurdle (certainly the former isn't for any experienced programmer and for the latter, that's why we're here! :). > In fact, for exim, the MTA authors may have to do nothing, it might > just be a matter of fixing the configuration. In fact, its > conceivable that I could do that already, but I'd much rather know > that Mailman developers had some kind of commitment to solving the > collateral spam problem. And I'd like there to be a supported method > for doing that (an API). At the moment, I ask my list administrators > to NEVER automatically bounce (sorry, "reject") messages - and I > don't think that's satisfactory. I certainly agree that the entire email stack has to be defensive about collateral spam. I do believe that scripts could be written that could help an MTA make /some/ decisions about the disposition of an email message lower down in that stack. I'm not even opposed to distributing some with Mailman that have a proven track record, nor am I opposed to refactoring some code and "blessing" some APIs that make this job easier with some guarantees of stability across releases. But I'm not going to write them. :) There really is nothing stopping anyone else from starting to do that now, if you think about the problem in the right way. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRIhEPXEjvBPtnXfVAQJC/wP+KCPhMYf4nDYRJx9/gH4f5T4dy5TjFb0q AxvGWNNq7UZOisMQwnyF9VmEFDFBZDzAfCVttgDIRF27ZqTIDeMOdb8vayCmWk9T n5Yj+oo6iPNsgsKGce07rXSHWFEVTqb1xx55Tcv8O0qshoBpLGmITQG+ueBQ/h/0 J2icggSEFB4= =hiCr -----END PGP SIGNATURE----- From t.d.lee at durham.ac.uk Thu Jun 8 17:54:40 2006 From: t.d.lee at durham.ac.uk (David Lee) Date: Thu, 8 Jun 2006 16:54:40 +0100 (BST) Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> Message-ID: On Thu, 8 Jun 2006, Ian Eiloart wrote: > --On 8 June 2006 12:39:22 +0100 David Lee wrote: > > > The incoming email > > would carry a header (of first line in body) of something like: > > Authorised: sender-pw > > > > where "sender-pw" is associated with the (claimed) From-address. This is > > different from, but complementary to, "Approved: list-pw". > > That's neither approval nor authorisation, it's authentication - proving > that the person who used the email address also knew the password > associated with it. [...] Thanks, Ian. I agree with that technical view. That suggests that the header (of first line of body) would need to be something like: Authenticated: sender-pw To the average non-techie managerial type, what terminology (Authorised? Authenticated? etc.) is preferable? > [...] It's far better to insist on authenticated SMTP for ALL > message submission. That would, indeed, probably be the ideal. But that would itself mean that all paths by which the Mailman machine might be reached would have to be known to have an enforced mechanism for authenticated SMTP. (And what about (say) "cron" jobs generating email which might legitimately go through lists?) An insitution's (university's) "smtphost" service might naturally restrict access to its own users and thus the authentication could use, say, its central NIS/AD/LDAP-like user-base. But its Mailman service might extend considerably beyond those bounds to include collaboration with other places, for which a much wider user-base would be needed. (Suppose, for instance, that this very "mailman-developers" list were hosted at your own university?) Even if those problems could be overcome, one would still need to ensure that Mailman can know for certain that authenticated SMTP had been used. Which takes us off to another branch (about Mailan API, milters, etc.) of this fragmenting discussion!... > > > > > Given that I'm just about to start on implementing this, it would be nice > > to establish whether this sender-related word "Authorised" is the > > appropriate word, or if there is something better. > > > > I've had a look through that thread, and I'm not sure what you're trying to > achieve. Generally, there are two aspects to deciding whether someone can > post to a list: "authorisation" and "authentication". > > Passwords are usually used for both, but it's far better to separate the > functions. Knowledge of a personal password serves to authenticate you, but > not to authorise you. Knowledge of a shared password is sometimes used for > authorisation, but can't be used for authentication. Even for > authorisation, passwords are extremely weak. Agreed. That earlier thread was simply setting the ball rolling. The problem that precipitated that thread was an incident in which two emails went through our majordomo lists to the whole university (20,000 accounts), because those emails spoofed the "From" to match an entry in the "posters" file of those lists. So we are looking towards protecting these potentially massive distributions with a "From+verification" concept. (Hence our looking at Mailman, which looks much closer than majordomo to being able to offer that, especially as it is being actively developed.) Thanks again. -- : David Lee I.T. Service : : Senior Systems Programmer Computer Centre : : Durham University : : http://www.dur.ac.uk/t.d.lee/ South Road : : Durham DH1 3LE : : Phone: +44 191 334 2752 U.K. : From iane at sussex.ac.uk Thu Jun 8 18:06:43 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Thu, 08 Jun 2006 17:06:43 +0100 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: <20060608113733.135ff45a@resist.wooz.org> References: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> <20060607092611.643e6744@geddy.wooz.org> <20060607143528.1249af3f@resist.wooz.org> <20060608113733.135ff45a@resist.wooz.org> Message-ID: --On 8 June 2006 11:37:33 -0400 Barry Warsaw wrote: > >> In fact, for exim, the MTA authors may have to do nothing, it might >> just be a matter of fixing the configuration. In fact, its >> conceivable that I could do that already, but I'd much rather know >> that Mailman developers had some kind of commitment to solving the >> collateral spam problem. And I'd like there to be a supported method >> for doing that (an API). At the moment, I ask my list administrators >> to NEVER automatically bounce (sorry, "reject") messages - and I >> don't think that's satisfactory. > > I certainly agree that the entire email stack has to be defensive about > collateral spam. I do believe that scripts could be written that could > help an MTA make /some/ decisions about the disposition of an email > message lower down in that stack. I'm not even opposed to distributing > some with Mailman that have a proven track record, nor am I opposed to > refactoring some code and "blessing" some APIs that make this job > easier with some guarantees of stability across releases. But I'm not > going to write them. :) There really is nothing stopping anyone else > from starting to do that now, if you think about the problem in the > right way. That's fair enough. I do have an idea about how to use a python script with Exim. I don't know enough to make it efficient, though. Maybe there's a problem with my python installation, or the way that I invoke it, but it seems that even a simple query takes four or five seconds to run: rinka-12 # date ; /local/mailman/bin/list_members ian-test4 ; date Thu Jun 8 16:47:09 BST 2006 foo at example.ac.uk bar at example.ac.uk baz at example.ac.uk Thu Jun 8 16:47:13 BST 2006 But, it takes about 0.7 seconds to print "hello world", and truss shows a lot of files being opened just to get a list of members. Now, my Exim installation makes up to about a dozen LDAP queries to deliver an email. The queries are cached, and my average time to deliver an email is a second or two - and that's including virus a spam scanning. OK, maybe I should just get on and implement this. If Exim caches the results, then it's not going to be too bad. -- Ian Eiloart IT Services, University of Sussex From iane at sussex.ac.uk Thu Jun 8 18:18:33 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Thu, 08 Jun 2006 17:18:33 +0100 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> Message-ID: <043DD976975A1E62626E32AA@lewes.staff.uscs.susx.ac.uk> --On 8 June 2006 16:54:40 +0100 David Lee wrote: > On Thu, 8 Jun 2006, Ian Eiloart wrote: > >> --On 8 June 2006 12:39:22 +0100 David Lee wrote: >> >> > The incoming email >> > would carry a header (of first line in body) of something like: >> > Authorised: sender-pw >> > >> > where "sender-pw" is associated with the (claimed) From-address. This >> > is different from, but complementary to, "Approved: list-pw". >> >> That's neither approval nor authorisation, it's authentication - proving >> that the person who used the email address also knew the password >> associated with it. [...] > > Thanks, Ian. I agree with that technical view. That suggests that the > header (of first line of body) would need to be something like: > Authenticated: sender-pw > > To the average non-techie managerial type, what terminology (Authorised? > Authenticated? etc.) is preferable? > Not "Authenticated". That implies that authentication has already occurred. What you're doing is supplying a token to be used for authentication. So, "Authentication" would be better. Or even "Password". Oh, and if it's an email header, shouldn't it be X-Authentication, or whatever? -- Ian Eiloart IT Services, University of Sussex From iane at sussex.ac.uk Thu Jun 8 18:24:39 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Thu, 08 Jun 2006 17:24:39 +0100 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> Message-ID: --On 8 June 2006 16:54:40 +0100 David Lee wrote: > >> [...] It's far better to insist on authenticated SMTP for ALL >> message submission. > > That would, indeed, probably be the ideal. But that would itself mean > that all paths by which the Mailman machine might be reached would have to > be known to have an enforced mechanism for authenticated SMTP. (And what > about (say) "cron" jobs generating email which might legitimately go > through lists?) Well, I guess that a typical Message Submission Agent would require authenticated SMTP *except* for a list of specificed (host IP, sender email address) pairs. > An insitution's (university's) "smtphost" service might naturally restrict > access to its own users and thus the authentication could use, say, its > central NIS/AD/LDAP-like user-base. But its Mailman service might extend > considerably beyond those bounds to include collaboration with other > places, for which a much wider user-base would be needed. (Suppose, for > instance, that this very "mailman-developers" list were hosted at your own > university?) True. But are you really asking people to email secrets around? If you are, them I presume you're going to encrypt communication between your MTAs? Otherwise none of this is going to gain you anything. I presume you're going to have Mailman remove those tokens before delivery? Otherwise spoofing will be just as easy as before. To be honest, I'm skeptical about all of this. Do you have a history of people spoofing to your lists? > Even if those problems could be overcome, one would still need to ensure > that Mailman can know for certain that authenticated SMTP had been used. > Which takes us off to another branch (about Mailan API, milters, etc.) > of this fragmenting discussion!... -- Ian Eiloart IT Services, University of Sussex From brad at stop.mail-abuse.org Thu Jun 8 20:20:20 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Thu, 8 Jun 2006 13:20:20 -0500 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> Message-ID: At 3:26 PM +0100 2006-06-08, Ian Eiloart wrote: >> where "sender-pw" is associated with the (claimed) From-address. This is >> different from, but complementary to, "Approved: list-pw". > > That's neither approval nor authorisation, it's authentication - proving > that the person who used the email address also knew the password > associated with it. It's far better to insist on authenticated SMTP for ALL > message submission. For the application that David is looking at, "Authorized" would probably be the most appropriate term. > I've had a look through that thread, and I'm not sure what you're trying to > achieve. Generally, there are two aspects to deciding whether someone can > post to a list: "authorisation" and "authentication". David is looking for a way to do a per-sender way of using the existing "Approved:" mechanism, without having to share the list password across a large number of senders. Each user would get their own password that would achieve the same result. But otherwise, there should be no additional security exposure, and no change to the security threat model. > Passwords are usually used for both, but it's far better to separate the > functions. Knowledge of a personal password serves to authenticate you, but > not to authorise you. Knowledge of a shared password is sometimes used for > authorisation, but can't be used for authentication. Even for > authorisation, passwords are extremely weak. This is a debate best reserved for discussing the entire "Approved:" mechanism as a whole, as opposed to something that David should have to try to fix as a part of the extension work that he is looking at. There are lots of deeper technical and architectural details here that need to be addressed, and I think that's more appropriate to ask Barry, Tokio, and Mark to look into those issues as opposed to David. -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From brad at stop.mail-abuse.org Thu Jun 8 20:26:03 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Thu, 8 Jun 2006 13:26:03 -0500 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> Message-ID: At 4:54 PM +0100 2006-06-08, David Lee wrote: > To the average non-techie managerial type, what terminology (Authorised? > Authenticated? etc.) is preferable? I think that the authentication thing is a red herring. Stick to the original idea and make relatively minimal modifications to the code, and let Barry, Tokio, Mark, and others deal with the deeper technical and architectural issues that Ian is raising. > That would, indeed, probably be the ideal. But that would itself mean > that all paths by which the Mailman machine might be reached would have to > be known to have an enforced mechanism for authenticated SMTP. (And what > about (say) "cron" jobs generating email which might legitimately go > through lists?) Which is part of why you shouldn't worry about trying to solve this problem. With your original concept, you're not really opening any new security holes, and you shouldn't have to worry about trying to close those that already exist. Just make sure that you put in the appropriate cleanup code into place to remove the headers in question, as is done today for the "Approved:" header. -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From brad at stop.mail-abuse.org Thu Jun 8 20:40:03 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Thu, 8 Jun 2006 13:40:03 -0500 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> Message-ID: At 5:24 PM +0100 2006-06-08, Ian Eiloart wrote: > Well, I guess that a typical Message Submission Agent would require > authenticated SMTP *except* for a list of specificed (host IP, sender email > address) pairs. Mailman is not an MTA or an MSA. It makes use of MTAs and MSAs, but it is neither of these things itself. Therefore, it's not appropriate to ask David to fix MTA and MSA problems with respect to the code he's trying to add to Mailman. > True. But are you really asking people to email secrets around? If you are, > them I presume you're going to encrypt communication between your MTAs? > Otherwise none of this is going to gain you anything. The only thing that's secret is the password used to authorize their ability to post to the list. > I presume you're going to have Mailman remove those tokens before delivery? I'm sure. > Otherwise spoofing will be just as easy as before. To be honest, I'm > skeptical about all of this. Do you have a history of people spoofing to > your lists? Yes. Please re-read the thread. Using the "Approved:" mechanism will prevent future spoofing, but brings along a whole host of other problems, such as having to share the list password with all the potential senders, which increases the security exposure due to the probability of the password being accidentally exposed. Then there is the issue of having to change the shared list password, and having to have everyone memorize the new shared password. Using a per-sender password for the same mechanism will prevent the spoofing, eliminate the probability of accidentally exposing the shared password, and make recovery from accidental exposure of a password much easier -- only the one user will be affected by having to change and remember the new password. Some additional code will have to be added to handle the addition of storing a per-user "Authorized" password, and a per-user authorization/approval mechanism (akin to the list of approved_nonmembers), as well as a cleanup mechanism to try and ensure sure that the new password doesn't get inadvertently exposed by Mailman. But extending the existing "Approved:" mechanism is clearly the way to approach this problem. -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From t.d.lee at durham.ac.uk Fri Jun 9 10:47:27 2006 From: t.d.lee at durham.ac.uk (David Lee) Date: Fri, 9 Jun 2006 09:47:27 +0100 (BST) Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: <043DD976975A1E62626E32AA@lewes.staff.uscs.susx.ac.uk> References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> <043DD976975A1E62626E32AA@lewes.staff.uscs.susx.ac.uk> Message-ID: On Thu, 8 Jun 2006, Ian Eiloart wrote: > --On 8 June 2006 16:54:40 +0100 David Lee wrote: > > > On Thu, 8 Jun 2006, Ian Eiloart wrote: > > > >> --On 8 June 2006 12:39:22 +0100 David Lee wrote: > >> > >> > The incoming email > >> > would carry a header (of first line in body) of something like: > >> > Authorised: sender-pw > >> > > >> > where "sender-pw" is associated with the (claimed) From-address. This > >> > is different from, but complementary to, "Approved: list-pw". > >> > >> That's neither approval nor authorisation, it's authentication - proving > >> that the person who used the email address also knew the password > >> associated with it. [...] > > > > Thanks, Ian. I agree with that technical view. That suggests that the > > header (of first line of body) would need to be something like: > > Authenticated: sender-pw > > > > To the average non-techie managerial type, what terminology (Authorised? > > Authenticated? etc.) is preferable? > > > > Not "Authenticated". That implies that authentication has already occurred. > What you're doing is supplying a token to be used for authentication. So, > "Authentication" would be better. Or even "Password". I had picked on the past-tense terminology ("Authorised", "Authenticated", etc.) simply because the FAQ talks about an "Approved" (past tense) header. But I believe the code also accepts (present tense) "Approve". So I had antcipated that my proposal would be similarly tense-tolerant! > Oh, and if it's an email header, shouldn't it be X-Authentication, or > whatever? Two consistency trends pulling in opposite directions! 1. RFC-ish things suggest "X-Whatever:". 2. Mailman practice (the existing "Approved") suggests "Whatever:". I was assuming I should follow the Mailman convention. (Whether the Mailman convention needs revision is another matter...) -- : David Lee I.T. Service : : Senior Systems Programmer Computer Centre : : Durham University : : http://www.dur.ac.uk/t.d.lee/ South Road : : Durham DH1 3LE : : Phone: +44 191 334 2752 U.K. : From t.d.lee at durham.ac.uk Fri Jun 9 10:59:37 2006 From: t.d.lee at durham.ac.uk (David Lee) Date: Fri, 9 Jun 2006 09:59:37 +0100 (BST) Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> Message-ID: On Thu, 8 Jun 2006, Brad Knowles wrote: > At 4:54 PM +0100 2006-06-08, David Lee wrote: > > > To the average non-techie managerial type, what terminology (Authorised? > > Authenticated? etc.) is preferable? > > I think that the authentication thing is a red herring. Stick to > the original idea and make relatively minimal modifications to the > code, and let Barry, Tokio, Mark, and others deal with the deeper > technical and architectural issues that Ian is raising. > > > That would, indeed, probably be the ideal. But that would itself mean > > that all paths by which the Mailman machine might be reached would have to > > be known to have an enforced mechanism for authenticated SMTP. (And what > > about (say) "cron" jobs generating email which might legitimately go > > through lists?) > > Which is part of why you shouldn't worry about trying to solve > this problem. With your original concept, you're not really opening > any new security holes, and you shouldn't have to worry about trying > to close those that already exist. > > Just make sure that you put in the appropriate cleanup code into > place to remove the headers in question, as is done today for the > "Approved:" header. Thanks, Brad, for this and your previous emails. Your have nicely grasped both sides: (1) that this piece of string could be very long, and is an issue primarily for the Mailman development gurus in a global and relatively long timescale, context; (2) that my own particular per-sender password proposal is intended to be a small, self-contained thing, modelled on the existing "Approved:", and with a very similar set of security issues (positive and negative), in a local, short timescale, context. It's giving me the confidence to go ahead on this item, but I hope to keep in mind compatibility with (anticipation of) possible future developments. Thanks again. -- : David Lee I.T. Service : : Senior Systems Programmer Computer Centre : : Durham University : : http://www.dur.ac.uk/t.d.lee/ South Road : : Durham DH1 3LE : : Phone: +44 191 334 2752 U.K. : From iane at sussex.ac.uk Fri Jun 9 12:06:08 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Fri, 09 Jun 2006 11:06:08 +0100 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> Message-ID: <437C8037FE31DA14360CB721@lewes.staff.uscs.susx.ac.uk> --On 8 June 2006 13:40:03 -0500 Brad Knowles wrote: > At 5:24 PM +0100 2006-06-08, Ian Eiloart wrote: > >> Well, I guess that a typical Message Submission Agent would require >> authenticated SMTP *except* for a list of specificed (host IP, sender >> email address) pairs. > > Mailman is not an MTA or an MSA. It makes use of MTAs and MSAs, but it > is neither of these things itself. Therefore, it's not appropriate to > ask David to fix MTA and MSA problems with respect to the code he's > trying to add to Mailman. I'm not asking him to do that. I'm talking about the ecology of the situation. >> True. But are you really asking people to email secrets around? If you >> are, them I presume you're going to encrypt communication between your >> MTAs? Otherwise none of this is going to gain you anything. > > The only thing that's secret is the password used to authorize their > ability to post to the list. Yes, that's the secret that I'm talking about. >> I presume you're going to have Mailman remove those tokens before >> delivery? > > I'm sure. > >> Otherwise spoofing will be just as easy as before. To be honest, I'm >> skeptical about all of this. Do you have a history of people spoofing to >> your lists? > > Yes. Please re-read the thread. Using the "Approved:" mechanism will > prevent future spoofing, but brings along a whole host of other problems, > such as having to share the list password with all the potential senders, > which increases the security exposure due to the probability of the > password being accidentally exposed. Then there is the issue of having > to change the shared list password, and having to have everyone memorize > the new shared password. > > Using a per-sender password for the same mechanism will prevent the > spoofing, Only if you ensure that the entire email transmission chain is encrypted. That's only possible if you know the sender is on-site (on your campus, in your company, whatever). If that's true, then you can rely on authenticated SMTP anyway. > eliminate the probability of accidentally exposing the shared > password, and make recovery from accidental exposure of a password much > easier -- only the one user will be affected by having to change and > remember the new password. > > > Some additional code will have to be added to handle the addition of > storing a per-user "Authorized" password, and a per-user > authorization/approval mechanism (akin to the list of > approved_nonmembers), as well as a cleanup mechanism to try and ensure > sure that the new password doesn't get inadvertently exposed by Mailman. > > But extending the existing "Approved:" mechanism is clearly the way to > approach this problem. -- Ian Eiloart IT Services, University of Sussex From fil at rezo.net Fri Jun 9 15:43:35 2006 From: fil at rezo.net (Fil) Date: Fri, 9 Jun 2006 15:43:35 +0200 Subject: [Mailman-Developers] archiving size issue In-Reply-To: <20060607181051.085729d4@resist.wooz.org> References: <20060607195341.GR14428@rezo.net> <20060607160622.4f0fe1cd@resist.wooz.org> <44873EC9.5070108@nleaudio.com> <20060607181051.085729d4@resist.wooz.org> Message-ID: <20060609134330.GN18418@rezo.net> To continue this thread I decided to start splitting the big listname.mbox files into something like archives/private/listname.mbox/listname-2006-06.mbox This will enable compression of the older mboxes, and proper archival without copying the whole 5Gb of archive each night. The patch would be, in Archiver.py: +import time - self.internal_name() + '.mbox') + self.internal_name() + time.strftime('-%Y-%m') + '.mbox') Do you think there can be some unintended consequence? I don't allow downloading of the raw .mbox file. -- Fil From msapiro at value.net Fri Jun 9 15:59:24 2006 From: msapiro at value.net (Mark Sapiro) Date: Fri, 9 Jun 2006 06:59:24 -0700 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: <437C8037FE31DA14360CB721@lewes.staff.uscs.susx.ac.uk> Message-ID: Ian Eiloart wrote: > >--On 8 June 2006 13:40:03 -0500 Brad Knowles >wrote: >> >> Using a per-sender password for the same mechanism will prevent the >> spoofing, > >Only if you ensure that the entire email transmission chain is encrypted. >That's only possible if you know the sender is on-site (on your campus, in >your company, whatever). If that's true, then you can rely on authenticated >SMTP anyway. This thread has probably been flogged to death already, and my initial deletion of this post was probably the correct decision rather than now resurrecting it from the archive for this reply, but I just want to add from the point of view of an interested observer, that I think we all know that sending the list password in a header of an unencrypted message is not very secure, and neither will this be secure against some kinds of attacks, but at least this proposal potentially exposes a less powerful password. David is only trying to address a very limited kind of attack. He has multiple lists each with multiple authorized posters (but still a tiny fraction of the list membership - these are basically announcement lists). He is trying to protect the list from a list member's determining by observation who the authorized posters are and spoofing one of those addresses to mail to the list. This is a situation that has occurred for him (at least twice, I think he said). If this were one list with one or two authorized posters, he could moderate everyone, and the authorized poster could use the Approved: header to post, but this is too cumbersome in his environment unless he made all the list passwords the same which is neither practical nor wise. So, he wants to extend the existing method to one which allows the authorized posters to post with a personal password. We all know that this is not secure against all attacks, but David feels that it will be good enough for his situation. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From brad at stop.mail-abuse.org Fri Jun 9 16:01:31 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Fri, 9 Jun 2006 09:01:31 -0500 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: <437C8037FE31DA14360CB721@lewes.staff.uscs.susx.ac.uk> References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> <437C8037FE31DA14360CB721@lewes.staff.uscs.susx.ac.uk> Message-ID: At 11:06 AM +0100 2006-06-09, Ian Eiloart wrote: >> Using a per-sender password for the same mechanism will prevent the >> spoofing, > > Only if you ensure that the entire email transmission chain is encrypted. Using the existing "Approved:" mechanism would also prevent the spoofing, and would have the same exposures regarding encryption. We're not trying to fix all of the security problems in Mailman, we're just trying to take an existing mechanism (with known vulnerabilities) and extend that to work in a per-sender manner. > That's only possible if you know the sender is on-site (on your campus, > in your company, whatever). If that's true, then you can rely on > authenticated SMTP anyway. Red Herring. We're not trying to fix all the possible security problems in Mailman. That's a job for Barry, Tokio, Mark, and others. -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From msapiro at value.net Fri Jun 9 16:26:53 2006 From: msapiro at value.net (Mark Sapiro) Date: Fri, 9 Jun 2006 07:26:53 -0700 Subject: [Mailman-Developers] archiving size issue In-Reply-To: <20060609134330.GN18418@rezo.net> Message-ID: Fil wrote: >To continue this thread I decided to start splitting the big listname.mbox >files into something like > archives/private/listname.mbox/listname-2006-06.mbox > >Do you think there can be some unintended consequence? I don't allow >downloading of the raw .mbox file. Unless you've done something specific to prevent it, private.py will always serve the listname.mbox/listname.mbox file whether or not PUBLIC_MBOX = No. Your change will stop all private.py access to .mbox files unless changes are also made to private.py, because it currently only recognizes the specific name 'listname.mbox/listname.mbox' as a .mbox file. This may be a good or a bad thing depending on your point of view. Also, this will require changes if PUBLIC_MBOX = Yes to account for multiple .mbox files. It might be worth considering replacing the existing, monthly .txt files with the monthly .mbox files, but there are issues here too regarding both exposing the full .mbox information and the fact that with the suggested change, messages can be in one month's archive and a different month's .mbox. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From barry at python.org Fri Jun 9 17:32:48 2006 From: barry at python.org (Barry Warsaw) Date: Fri, 9 Jun 2006 11:32:48 -0400 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> <437C8037FE31DA14360CB721@lewes.staff.uscs.susx.ac.uk> Message-ID: <20060609113248.4448e079@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 9 Jun 2006 09:01:31 -0500 Brad Knowles wrote: > Using the existing "Approved:" mechanism would also prevent > the spoofing, and would have the same exposures regarding encryption. Actually, that might be the right approach here. Just use the existing Approved header, but instead of checking it only against the list admin password, check it against the user's password too. In fact do that first, falling back to the list admin password only if that fails. No new header necessary. Think 'sudo'. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRImUoHEjvBPtnXfVAQLTQQQAsstiGXz2mfDtK5hBBJeOrwftrcs3+/xo QkNmjvSnVXyNqFMXQRhLcVB8o1PsJhPTTfXnDHRBwamK7Fow8RYlmNjF7g/QHMMu jo7Zv1JtR+IYVJPm16DmPPhZJHPlWtenB2eWbu2ZB4WjChrHYzDQFg6GXyiwFFSo lpMknsjNsMA= =3UHn -----END PGP SIGNATURE----- From barry at python.org Fri Jun 9 17:12:19 2006 From: barry at python.org (Barry Warsaw) Date: Fri, 9 Jun 2006 11:12:19 -0400 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <20060606234945.0f135eb8@geddy.wooz.org> <20060607092046.54b2a0a0@geddy.wooz.org> <043DD976975A1E62626E32AA@lewes.staff.uscs.susx.ac.uk> Message-ID: <20060609111219.287faaa9@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 9 Jun 2006 09:47:27 +0100 (BST) David Lee wrote: > > Not "Authenticated". That implies that authentication has already > > occurred. What you're doing is supplying a token to be used for > > authentication. So, "Authentication" would be better. Or even > > "Password". > > I had picked on the past-tense terminology ("Authorised", > "Authenticated", etc.) simply because the FAQ talks about an > "Approved" (past tense) header. But I believe the code also accepts > (present tense) "Approve". So I had antcipated that my proposal would > be similarly tense-tolerant! Password seems reasonable. > > Oh, and if it's an email header, shouldn't it be X-Authentication, > > or whatever? > > Two consistency trends pulling in opposite directions! > > 1. RFC-ish things suggest "X-Whatever:". > > 2. Mailman practice (the existing "Approved") suggests "Whatever:". > > I was assuming I should follow the Mailman convention. (Whether the > Mailman convention needs revision is another matter...) Approved was chosen for compatibility with Majordomo, so there was a long tradition before us. Approve was added because so many people mistyped the original ;). When blazing our own trails we should be more RFC compliant. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRImP03EjvBPtnXfVAQLt6wP/Y/a4OuZ8r8kRm/JSrAh8jFU1d4OhsQ5c l+s4kYYY3QE+IfGC92x+QRe6dVSp9jKEmtB08lA8pR2UvfYgc5xDMoZQ57ZYGyhA f48FwdkOCfmr5MZgpfsbrMiR2fIKrzXx8bT6Bo803Sz07/F1+KbYLAlq3BSe8/4d HP2qqroiZ5o= =zWMz -----END PGP SIGNATURE----- From barry at python.org Fri Jun 9 17:09:35 2006 From: barry at python.org (Barry Warsaw) Date: Fri, 9 Jun 2006 11:09:35 -0400 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <1F376D442E2851D7278DDDE3@lewes.staff.uscs.susx.ac.uk> <20060607092611.643e6744@geddy.wooz.org> <20060607143528.1249af3f@resist.wooz.org> <20060608113733.135ff45a@resist.wooz.org> Message-ID: <20060609110935.071a57d0@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 08 Jun 2006 17:06:43 +0100 Ian Eiloart wrote: > That's fair enough. I do have an idea about how to use a python > script with Exim. I don't know enough to make it efficient, though. > Maybe there's a problem with my python installation, or the way that > I invoke it, but it seems that even a simple query takes four or five > seconds to run: > > rinka-12 # date ; /local/mailman/bin/list_members ian-test4 ; date > Thu Jun 8 16:47:09 BST 2006 > foo at example.ac.uk > bar at example.ac.uk > baz at example.ac.uk > Thu Jun 8 16:47:13 BST 2006 > > But, it takes about 0.7 seconds to print "hello world", and truss > shows a lot of files being opened just to get a list of members. You should definitely use time(1) instead, but to open and print a 3 member list should be nearly instantaneous. FWIW, it only takes me about 1/2 second to do the same on a 2500 member list on fairly old h/w. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRImPMHEjvBPtnXfVAQICTQQArHcq2KOwZuFnRFj+gwJn+N2HAuNT7qwD epQwc+zEfrSJ8Q1VECMh+g9/nDSHI2h7sp10ST46NMaj60Fyhr7TahSrfNsEZzgQ 5jhuQAPA0wdKUFciCVIRNrrkJCLJLIMjQ6sJXDil2BVT858MlR+XvrH77cahw4HZ O/VCDexviSQ= =Id8s -----END PGP SIGNATURE----- From barry at python.org Fri Jun 9 17:24:02 2006 From: barry at python.org (Barry Warsaw) Date: Fri, 9 Jun 2006 11:24:02 -0400 Subject: [Mailman-Developers] 2.1.8 documentation mismatch In-Reply-To: References: <437C8037FE31DA14360CB721@lewes.staff.uscs.susx.ac.uk> Message-ID: <20060609112402.35cbd760@resist.wooz.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 9 Jun 2006 06:59:24 -0700 Mark Sapiro wrote: > We all know that this is not secure against all attacks, but David > feels that it will be good enough for his situation. Which it probably is. There have been others that have proposed registering pubkeys with email addresses and authenticating against message signatures. I think there may even be patches out on SF to support this with gpg. It seems to me that that's the right long term solution, although email PKI is (still) sadly poorly supported -- or understood by end users -- it seems. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQCVAwUBRImSknEjvBPtnXfVAQJrCgP/f9oVtJmF/SDA/c/3jFi5ZJhqt3fRyA5X oK1Zx7aetmBCPVi14hIwD4PBGAAs8tBfdFwerrxFu8iC7Fjj5huflYi2j04yqN2/ 0rsYccVcbok8ci5lHFTukBpdR7O61Sshx1nlaUW4WxsWc6Zk644Hah4CoWSw9WeG Hp40QSw9Eck= =EH7y -----END PGP SIGNATURE----- From hdu at qualigo.de Tue Jun 13 18:36:54 2006 From: hdu at qualigo.de (Haluk Durmus) Date: Tue, 13 Jun 2006 19:36:54 +0300 Subject: [Mailman-Developers] edit moderated messages Message-ID: <20060613193654.2c17a9f6.hdu@qualigo.de> Hello, Is there any body working on this task ? [ 1198375 ] edit moderated messages directly on admindb page If not I will give it a try. thx, Haluk From barry at python.org Wed Jun 14 03:15:20 2006 From: barry at python.org (Barry Warsaw) Date: Tue, 13 Jun 2006 21:15:20 -0400 Subject: [Mailman-Developers] edit moderated messages In-Reply-To: <20060613193654.2c17a9f6.hdu@qualigo.de> References: <20060613193654.2c17a9f6.hdu@qualigo.de> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jun 13, 2006, at 12:36 PM, Haluk Durmus wrote: > Hello, > > Is there any body working on this task ? > > [ 1198375 ] edit moderated messages directly on admindb page Not that I know of. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEj2Mp2YZpQepbvXERAvg8AJoD8Eq+L/UAHFpj+9o1B2IFEBElEQCfdVhO 39UwGffhZOxyVeuoKR0Iw10= =BBeG -----END PGP SIGNATURE----- From i at mindlace.net Fri Jun 16 03:01:12 2006 From: i at mindlace.net (emf) Date: Thu, 15 Jun 2006 21:01:12 -0400 Subject: [Mailman-Developers] Hi! I'll be your intern for the summer :) Message-ID: <449202D8.8060805@mindlace.net> Hey, all; I'm ethan fremen, and I've been selected for a WebUI Summer of Code project. I'll keep a running log of my progress at http://wiki.list.org/display/DEV/Summer+of+Code My svn branch is https://svn.sourceforge.net/svnroot/mailman/branches/soc2006-webui ; feel free to check it out as the inclination strikes you. I'm especially interested in getting any feedback, either on the wiki or here, about any and all WebUI - or UI in general - ideas in people's heads. While the SoC project is fairly constrained, I want to at least make the future easier. ~ethan fremen From brad at stop.mail-abuse.org Fri Jun 16 06:47:41 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Thu, 15 Jun 2006 23:47:41 -0500 Subject: [Mailman-Developers] Hi! I'll be your intern for the summer :) In-Reply-To: <449202D8.8060805@mindlace.net> References: <449202D8.8060805@mindlace.net> Message-ID: At 9:01 PM -0400 2006-06-15, emf wrote: > I'm especially interested in getting any feedback, either on the wiki or > here, about any and all WebUI - or UI in general - ideas in people's > heads. Speaking only for myself, I think there should be three main design goals: 1. KISS -- I sometimes have to do list administration and moderation from my Treo 650, so anything that depends on graphics, JavaScript, CSS, or anything fancy is really bad news. Stick to a pure text-only UI as much as possible, and try doing some actual tests with various PDAs and phones, as well as all common browsers (including Safari) on all common desktop platforms (including MacOS X). This also means that the size of the pages should be kept as reasonably small as possible -- the smaller they are, the faster they load. Of course, the standard exemplars are Google and Yahoo! IMO, we're doing pretty good in this area today, but I would hate to see all the current WebUI code get thrown out and replaced with a Web2.0 AJAX/.NET framework. 2. Functionality -- As much as possible, make it "just work" out-of-the-box. We've managed to accumulate a lot of cruft in the FAQ Wizard because there are a whole host of things that list moderators and administrators want to do with their lists, and some of them are easy with the WebUI, and some are not -- while others simply aren't possible at all, at least not from the WebUI. Ideally, I'd like to see everything in the FAQ Wizard get removed because it is no longer applicable. At the very least, for anything that is related to the UI, there should not be any entries to go into any FAQ, because it "just works". 3. Completeness -- diametrically opposed to #1 and #2 above, anything that can be done from the command-line should be do-able from the WebUI. This includes things like editing posts in the archives, editing posts before approving them, etc.... It's going to be tough to balance #3 against #1 and #2. There may be a lot of things that you would like to do in this area that would require support in other parts of the code, and therefore you may not be able to do them. But I would like to see a concerted effort made. > While the SoC project is fairly constrained, I want to at least > make the future easier. Your work is very important to us. I'm not sure you fully understand how important. Or how difficult. ;) -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From j.e.vanbaal at uvt.nl Fri Jun 16 10:22:32 2006 From: j.e.vanbaal at uvt.nl (Joost van Baal) Date: Fri, 16 Jun 2006 10:22:32 +0200 Subject: [Mailman-Developers] Mailman WebUI improvement (was: Re: Hi! I'll be your intern for the summer :)) In-Reply-To: <449202D8.8060805@mindlace.net> References: <449202D8.8060805@mindlace.net> Message-ID: <20060616082232.GL16473@banach.uvt.nl> Hi, On Thu, Jun 15, 2006 at 09:01:12PM -0400, emf wrote: > Hey, all; I'm ethan fremen, and I've been selected for a WebUI Summer of > Code project. > > I'll keep a running log of my progress at > > http://wiki.list.org/display/DEV/Summer+of+Code > > My svn branch is > https://svn.sourceforge.net/svnroot/mailman/branches/soc2006-webui ; > feel free to check it out as the inclination strikes you. > > I'm especially interested in getting any feedback, either on the wiki or > here, about any and all WebUI - or UI in general - ideas in people's > heads. While the SoC project is fairly constrained, I want to at least > make the future easier. Apart from what Brad told: there has been discussion on UI and usability before (of course!). See the threads starting with Message-Id: From: Terri Oda Date: Thu, 3 Mar 2005 13:38:38 -0500 To: mailman-developers Subject: [Mailman-Developers] Mailman Usability and Message-ID: <4458607A.5030804 at ita.chalmers.se> Date: Wed, 03 May 2006 09:49:14 +0200 From: Dario Lopez-K?sten To: mailman-developers at python.org Subject: [Mailman-Developers] why not PageTemplates for GUI? a.o. Bye, Joost -- Joost van Baal http://abramowitz.uvt.nl/ Tilburg University j.e.vanbaal at uvt.nl The Netherlands -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: Digital signature Url : http://mail.python.org/pipermail/mailman-developers/attachments/20060616/05bfe1a9/attachment.pgp From iane at sussex.ac.uk Fri Jun 16 13:30:23 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Fri, 16 Jun 2006 12:30:23 +0100 Subject: [Mailman-Developers] Hi! I'll be your intern for the summer :) In-Reply-To: <449202D8.8060805@mindlace.net> References: <449202D8.8060805@mindlace.net> Message-ID: --On 15 June 2006 21:01:12 -0400 emf wrote: > Hey, all; I'm ethan fremen, and I've been selected for a WebUI Summer of > Code project. > > I'll keep a running log of my progress at > > http://wiki.list.org/display/DEV/Summer+of+Code > > My svn branch is > https://svn.sourceforge.net/svnroot/mailman/branches/soc2006-webui ; > feel free to check it out as the inclination strikes you. > > I'm especially interested in getting any feedback, either on the wiki or > here, about any and all WebUI - or UI in general - ideas in people's > heads. While the SoC project is fairly constrained, I want to at least > make the future easier. This is good news. Here's what I'd like to see happen: a) arbitrary page headers and footers so I can make it match the rest of my site. b) site-wide masking of features that we don't allow by policy. There's already some of this. c) templates for lists. We have four or five basic list styles (announce/discussion with open/closed membership and umbrella lists). When we create a list, I'd like to be able to specify there and then which style to use. Such a feature would rely on having a set of files on the server that hold the relevant list settings. The UI would simply let me pick which style to apply. The task here is not to design the templates, but to enable their easy application. d) When creating an list, I'd like to be able to choose an umbrella for it to live under, and have it inherit privacy settings from that list. So, to create a complex heirarchy, I'd start by creating the root list, adding privacy settings, and then work down the heirarchy - perhaps making the privacy settings more liberal as I go. e) -- Ian Eiloart IT Services, University of Sussex From barry at python.org Fri Jun 16 19:33:50 2006 From: barry at python.org (Barry Warsaw) Date: Fri, 16 Jun 2006 13:33:50 -0400 Subject: [Mailman-Developers] Hi! I'll be your intern for the summer :) In-Reply-To: References: <449202D8.8060805@mindlace.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jun 16, 2006, at 12:47 AM, Brad Knowles wrote: > IMO, we're doing pretty good in this area today, but I would > hate to see all the current WebUI code get thrown out and > replaced with a Web2.0 AJAX/.NET framework. I certainly agree that we want to make sure the UI is not /dependent/ on such fanciness, but I think it's acceptable for there to be some reasonable use of modern web UI tools, as long as the interface degrades gracefully. Remember that we have users who require specialized browsers (e.g. screen talkers for the visually impaired) and some people who use text-only browsers like links/lynx. > Ideally, I'd like to see everything in the FAQ Wizard get > removed because it is no longer applicable. At the very > least, for anything that is related to the UI, there should > not be any entries to go into any FAQ, because it "just works". Yep. > 3. Completeness -- diametrically opposed to #1 and #2 above, > anything that can be done from the command-line should be > do-able from the WebUI. This includes things like editing > posts in the archives, editing posts before approving them, > etc.... I agree, although there's some work from the core to be done here. Too much of the functionality is embedded in Cgi scripts and not refactored out into utilities that other access methods could take advantage of. List removal is something that comes to mind. OTOH, this is something I have a keen interest in fixing. > Your work is very important to us. > > I'm not sure you fully understand how important. Or how > difficult. ;) Indeed! Hopefully fun too though :) - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iQCVAwUBRJLrfnEjvBPtnXfVAQK+WQQAkTJ9jxLATEH8/AbsWhHGvgsflVDsNQsk ESo+a6gwCIBCe/LqljT5ljmZSyP/NDlzru0IRUxebuBBAgcDFMHAjpEUvgHSrbWB r41LknnztZAG6OUDj/3sGUuvXUm/99wjxgE/D7ixhs3B7NlYLTJXL/DJpGfSci+G Z449M2R8388= =rA9G -----END PGP SIGNATURE----- From barry at python.org Fri Jun 16 19:36:14 2006 From: barry at python.org (Barry Warsaw) Date: Fri, 16 Jun 2006 13:36:14 -0400 Subject: [Mailman-Developers] Hi! I'll be your intern for the summer :) In-Reply-To: References: <449202D8.8060805@mindlace.net> Message-ID: <62B0E6E7-64F0-4B8E-B26F-AE2F1C41F2DD@python.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jun 16, 2006, at 7:30 AM, Ian Eiloart wrote: > a) arbitrary page headers and footers so I can make it match > the rest > of my site. +1, with CSS to help in integration. > b) site-wide masking of features that we don't allow by policy. > There's > already some of this. +1 > c) templates for lists. We have four or five basic list styles > (announce/discussion with open/closed membership and umbrella > lists). When > we create a list, I'd like to be able to specify there and then > which style > to use. Such a feature would rely on having a set of files on the > server > that hold the relevant list settings. The UI would simply let me > pick which > style to apply. The task here is not to design the templates, but > to enable > their easy application. +1 I did a little experimentation with this in the mm3 branch and I don't think the basic mechanisms are that difficult. The UI is the challenge (i.e. how do you set up a style?). > d) When creating an list, I'd like to be able to choose an > umbrella for > it to live under, and have it inherit privacy settings from that > list. So, > to create a complex heirarchy, I'd start by creating the root list, > adding > privacy settings, and then work down the heirarchy - perhaps making > the > privacy settings more liberal as I go. Very interesting idea! - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iQCVAwUBRJLsDnEjvBPtnXfVAQIaVQP8DKy0zzZ2SD10iHRGaBUI8UgE3M+9ugTt Kjpo8ohrkCygEIk8UHFtkRc42u90HXMPjE9HUbdgVG0SAbPjiorwAK8YscKEYPWq wf5L39+vdOZ/yBLC5lZ2e5PYhgh6dfatktH/9Q353LD/bWNnoOMAmJxo3U0OpkcE Slep3Z3GcHY= =Y578 -----END PGP SIGNATURE----- From iane at sussex.ac.uk Mon Jun 19 12:31:30 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Mon, 19 Jun 2006 11:31:30 +0100 Subject: [Mailman-Developers] Hi! I'll be your intern for the summer :) In-Reply-To: <62B0E6E7-64F0-4B8E-B26F-AE2F1C41F2DD@python.org> References: <449202D8.8060805@mindlace.net> <62B0E6E7-64F0-4B8E-B26F-AE2F1C41F2DD@python.org> Message-ID: <182F894DC73A6D27677F14F0@lewes.staff.uscs.susx.ac.uk> --On 16 June 2006 13:36:14 -0400 Barry Warsaw wrote: > >> c) templates for lists. We have four or five basic list styles >> (announce/discussion with open/closed membership and umbrella >> lists). When >> we create a list, I'd like to be able to specify there and then >> which style >> to use. Such a feature would rely on having a set of files on the >> server >> that hold the relevant list settings. The UI would simply let me >> pick which >> style to apply. The task here is not to design the templates, but >> to enable >> their easy application. > > +1 I did a little experimentation with this in the mm3 branch and I > don't think the basic mechanisms are that difficult. The UI is the > challenge (i.e. how do you set up a style?). Well, in our case, the styles would be site-wide and set up only once. We don't need a UI to set up the styles, because we've already created them. Our current workflow is 1. Create a list through the UI 2. Shell in to the list server 3. Run a script which applies the style to the list. I'd just like to avoid 2. and 3. by having some UI to apply the style on creation - like the subethaedit example. I guess it would be nice for the CGI to look for a style file at -say- /mailman/styles/foo.style and a text description at /mailman/styles/foo.description - or to extract the description from the style file. -- Ian Eiloart IT Services, University of Sussex From iane at sussex.ac.uk Mon Jun 19 13:05:43 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Mon, 19 Jun 2006 12:05:43 +0100 Subject: [Mailman-Developers] Hi! I'll be your intern for the summer :) In-Reply-To: <182F894DC73A6D27677F14F0@lewes.staff.uscs.susx.ac.uk> References: <449202D8.8060805@mindlace.net> <62B0E6E7-64F0-4B8E-B26F-AE2F1C41F2DD@python.org> <182F894DC73A6D27677F14F0@lewes.staff.uscs.susx.ac.uk> Message-ID: <4D9556FA480B16E75D3C3250@lewes.staff.uscs.susx.ac.uk> --On 19 June 2006 11:31:30 +0100 Ian Eiloart wrote: > > > --On 16 June 2006 13:36:14 -0400 Barry Warsaw wrote: > >> >>> c) templates for lists. We have four or five basic list styles >>> (announce/discussion with open/closed membership and umbrella >>> lists). When >>> we create a list, I'd like to be able to specify there and then >>> which style >>> to use. Such a feature would rely on having a set of files on the >>> server >>> that hold the relevant list settings. The UI would simply let me >>> pick which >>> style to apply. The task here is not to design the templates, but >>> to enable >>> their easy application. >> >> +1 I did a little experimentation with this in the mm3 branch and I >> don't think the basic mechanisms are that difficult. The UI is the >> challenge (i.e. how do you set up a style?). > > Well, in our case, the styles would be site-wide and set up only once. We > don't need a UI to set up the styles, because we've already created them. > Our current workflow is > 1. Create a list through the UI > 2. Shell in to the list server > 3. Run a script which applies the style to the list. > > I'd just like to avoid 2. and 3. by having some UI to apply the style on > creation - like the subethaedit example. Sorry, I wasn't paying attention there. Someone sent me this link, and in my caffeine-deprived haze I didn't notice (a) this is a rival email list project not the subethaedit text editor, and (b) they hadn't posted to the list. > I guess it would be nice for > the CGI to look for a style file at -say- /mailman/styles/foo.style and > a text description at /mailman/styles/foo.description - or to extract > the description from the style file. -- Ian Eiloart IT Services, University of Sussex From mcn4 at leicester.ac.uk Mon Jun 19 15:45:22 2006 From: mcn4 at leicester.ac.uk (Matthew Newton) Date: Mon, 19 Jun 2006 14:45:22 +0100 Subject: [Mailman-Developers] Hi! I'll be your intern for the summer :) In-Reply-To: <62B0E6E7-64F0-4B8E-B26F-AE2F1C41F2DD@python.org> References: <449202D8.8060805@mindlace.net> <62B0E6E7-64F0-4B8E-B26F-AE2F1C41F2DD@python.org> Message-ID: <20060619134522.GB28225@ultra.le.ac.uk> On Fri, Jun 16, 2006 at 01:36:14PM -0400, Barry Warsaw wrote: > > a) arbitrary page headers and footers so I can make it match > > the rest > > of my site. > > +1, with CSS to help in integration. That would be nice for me, too, definitely with CSS. > > b) site-wide masking of features that we don't allow by policy. > > There's > > already some of this. > > +1 I wrote a patch for that a while ago (assuming I understand what you are after). See patch 1164457 on SF. It's for 2.1.5 as I haven't had time to update yet (apart from a couple of security patches). I doubt it would be difficult to update, though, as it's very small. I use it to disable the "owner" list setting, as list owners here have to request that change via our information desk staff, and then my back-end script handles it. Matthew -- Matthew Newton UNIX and e-mail Systems Administrator, Network Support Section, Computer Centre, University of Leicester, Leicester LE1 7RH, United Kingdom From msapiro at value.net Mon Jun 19 21:59:11 2006 From: msapiro at value.net (Mark Sapiro) Date: Mon, 19 Jun 2006 12:59:11 -0700 Subject: [Mailman-Developers] Topics revisited: Message-ID: After starting a thread on this list (http://mail.python.org/pipermail/mailman-developers/2006-May/018787.html> and also posting a request for feedback on Mailman-Users which received no replies, I think I'm almost done with this. My patch is attached for review, comment. Basically, I implement a new Utils.strip_verbose_pattern() function which converts verbose patterns to single-line, non-verbose equivalents and add code to versions.py for a one time conversion of existing topics regexps. I then modify the Gui, etc so that all future multi-line patterns are stored as entered, but compiled and used with the lines connected by '|'. Specifically, I would like advice and comment on two things. First since the strip_verbose_pattern() function is basically a one-time, list conversion function, would it be better added to versions.py rather than Utils.py. Second, when a topic pattern is first entered, an attempt is made to compile it, and if this throws an exception, the error is reported in the Gui and the topic is ignored. A similar thing is also done in MailList.py which will catch (eventually) and log bad topic regexps that might be entered with config_list or withlist. My question here is in the error message and log message, The pattern I report as invalid is the '|' joined pattern and not the original entry. I think this makes more sense, but I'm interested in what others think. Finally, in writing this post I have thought of another issue. Someone may have a saved config_list 'template' with old style 'verbose' topic regexps which wouldn't get converted if applied to a new 2.2.x list. Is this something to be concerned about? Note that this could be an issue any time a list attribute is deleted or has its set of values manipulated. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Topics.patch.txt Url: http://mail.python.org/pipermail/mailman-developers/attachments/20060619/31de9cb8/attachment.txt From i at mindlace.net Wed Jun 21 00:57:12 2006 From: i at mindlace.net (emf) Date: Tue, 20 Jun 2006 18:57:12 -0400 Subject: [Mailman-Developers] Hi! I'll be your intern for the summer :) In-Reply-To: References: <449202D8.8060805@mindlace.net> Message-ID: <44987D48.4020406@mindlace.net> > 1. KISS -- I sometimes have to do list administration and > moderation from my Treo 650, so anything that depends on > graphics, JavaScript, CSS, or anything fancy is really bad > news. Ug, yeah. There's so much cruft stuck in so many places that I've just started over writing (x)html templates. I will be using CSS mostly so that underneath the pages can be Very Simple; I've got a Palm TX and table pages can be brutal. Additionally, I fully intend to have a CSS file just for mobile devices. I will also be using JavaScript to add responsiveness to the UI for traditional browsers, but I swear on a stack of comic books that It Shall Degrade Gracefully. > Stick to a pure text-only UI as much as possible, Please forgive my insouciance on this point, but I believe one of the weaknesses of the current interface is that it provides no visual cues as to what is important/relevant. I will be using icons to draw the user's eye to relevant details, but I have no intention of gobbling up screen space for bling or committing similar crimes like using image-only links; the interface will be fully functional and aesthetically reasonable with images turned completely off. > and try doing some actual tests with various PDAs and > phones, as well as all common browsers (including Safari) > on all common desktop platforms (including MacOS X). Well, I've got me a testing lab right here! I'm only slightly kidding. Aside from the aforementioned TX, I have an intel mac, so I plan on installing Windows soon so I can see how things work on that end. I'm also going to make sure it's fine in links or lynx. > I would > hate to see all the current WebUI code get thrown out and > replaced with a Web2.0 AJAX/.NET framework. I will be using some XMLHTTPRequest action, but only to allow partial-form-submission, and it will degrade to "submit the whole page" gracefully. > 2. Functionality & 3. Completeness I'm not committed to doing much with these problems in this project, but I assure you it is my desire as well; I'm hoping to get us closer to the day where there is One Holy UI that works identically across web/email/cli. > I'm not sure you fully understand how important. Or how difficult. ;) Thanks! happily I feel like I'm making quite a bit of progress, so I think we might just get something viable out of this. ~ethan From i at mindlace.net Wed Jun 21 01:01:16 2006 From: i at mindlace.net (emf) Date: Tue, 20 Jun 2006 19:01:16 -0400 Subject: [Mailman-Developers] Hi! I'll be your intern for the summer :) In-Reply-To: References: <449202D8.8060805@mindlace.net> Message-ID: <44987E3C.7000703@mindlace.net> Ian Eiloart wrote: > a) arbitrary page headers and footers so I can make it match the rest > of my site. I'll give you this *and* throw in "arbitrary page-chunks you can plop right into your page", in case you just want to expose, say, the moderator interface. > b) site-wide masking of features that we don't allow by policy. > There's already some of this. No feature shall be visible if it doesn't or shouldn't function. Gotcha. > c) templates for lists. We have four or five basic list styles > (announce/discussion with open/closed membership and umbrella lists). > When we create a list, I'd like to be able to specify there and then > which style to use. Without getting too far into file management, I hope to have something beyond "three links; have fun". Not sure I can necessarily address the configuration issue. > d) When creating an list, I'd like to be able to choose an umbrella > for it to live under, and have it inherit privacy settings from that > list. This is great; I'm not sure I can do all that without writing a fair amount of under-the-UI code. ~ethan fremen From brad at stop.mail-abuse.org Wed Jun 21 02:09:06 2006 From: brad at stop.mail-abuse.org (Brad Knowles) Date: Tue, 20 Jun 2006 19:09:06 -0500 Subject: [Mailman-Developers] Hi! I'll be your intern for the summer :) In-Reply-To: <44987D48.4020406@mindlace.net> References: <449202D8.8060805@mindlace.net> <44987D48.4020406@mindlace.net> Message-ID: At 6:57 PM -0400 2006-06-20, emf wrote: > Well, I've got me a testing lab right here! I'm only slightly kidding. > Aside from the aforementioned TX, I have an intel mac, so I plan on > installing Windows soon so I can see how things work on that end. > > I'm also going to make sure it's fine in links or lynx. That's good enough for me. > Thanks! happily I feel like I'm making quite a bit of progress, so I > think we might just get something viable out of this. You've already made me feel a lot better about the probably outcome of this project, and I'm pretty confident that you will be fully successful. -- Brad Knowles, "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See . From t.d.lee at durham.ac.uk Wed Jun 21 10:47:47 2006 From: t.d.lee at durham.ac.uk (David Lee) Date: Wed, 21 Jun 2006 09:47:47 +0100 (BST) Subject: [Mailman-Developers] Hi! I'll be your intern for the summer :) In-Reply-To: <44987E3C.7000703@mindlace.net> References: <449202D8.8060805@mindlace.net> <44987E3C.7000703@mindlace.net> Message-ID: On Tue, 20 Jun 2006, emf wrote: > Ian Eiloart wrote: > [...] > > d) When creating an list, I'd like to be able to choose an umbrella > > for it to live under, and have it inherit privacy settings from that > > list. > > This is great; I'm not sure I can do all that without writing a fair > amount of under-the-UI code. Going slightly off to one-side... One of the things on the TODO list: http://www.gnu.org/software/mailman/todo.html is: Allow lists of the same name in two different virtual domains (i.e. "thislist at somedom.com" and "thislist at otherdom.org", where "thislist" and "thislist" are the same name). I suspect that most of this functionality would likewise be "under-the-UI" and so not directly related to your "work on the Web UI" brief. But it would be worth bearing this in mind so that your code could interwork as near as reasonably possible with any future virtual-domain developments. For instance, when your code passes processes a "listname" consider also having a "virthost" sitting alongside it, even if, for the moment, that is null, or default or always-the-same etc. -- : David Lee I.T. Service : : Senior Systems Programmer Computer Centre : : Durham University : : http://www.dur.ac.uk/t.d.lee/ South Road : : Durham DH1 3LE : : Phone: +44 191 334 2752 U.K. : From iane at sussex.ac.uk Wed Jun 21 15:09:44 2006 From: iane at sussex.ac.uk (Ian Eiloart) Date: Wed, 21 Jun 2006 14:09:44 +0100 Subject: [Mailman-Developers] Hi! I'll be your intern for the summer :) In-Reply-To: <44987E3C.7000703@mindlace.net> References: <449202D8.8060805@mindlace.net> <44987E3C.7000703@mindlace.net> Message-ID: --On 20 June 2006 19:01:16 -0400 emf wrote: > >> d) When creating an list, I'd like to be able to choose an umbrella >> for it to live under, and have it inherit privacy settings from that >> list. > > This is great; I'm not sure I can do all that without writing a fair > amount of under-the-UI code. > :) Maybe not. How about this for extra: 1) Display a list of ALL members - just their names and addresses. 2) Delete ALL the list members with one click - OK, and maybe a confirm dialog! The aim here is that I can completely change the list membership (through a delete-all and mass subscribe) before sending a mailing. The reason is that I have some users who maintain lists outside of Mailman. I'd like them to be able to take advantage of other Mailman features. -- Ian Eiloart IT Services, University of Sussex From lcarlson at d.umn.edu Wed Jun 21 15:05:10 2006 From: lcarlson at d.umn.edu (Laura Carlson) Date: Wed, 21 Jun 2006 08:05:10 -0500 Subject: [Mailman-Developers] Hi! I'll be your intern for the summer :) Message-ID: <84F5BFBEBEF7807D0A48932E@lcarslon.d.umn.edu> On Thu, Jun 15, 2006 at 09:01:12PM -0400, emf wrote: > I'm especially interested in getting any feedback, either on the wiki > or here, about any and all WebUI - or UI in general - ideas in > people's heads. Hi Ethan, I mentioned this about a year ago [1], it would be great if the Mailman templates, like the general list information page and the user specific options page, were accessible and standards compliant. For instance when the end user views the current pages, they get form labels that are not explicitly associated with their controls. Using the