From barry at list.org Wed Jun 1 19:32:26 2011 From: barry at list.org (Barry Warsaw) Date: Wed, 1 Jun 2011 13:32:26 -0400 Subject: [Mailman-Developers] FreeBSD 8.2, Python2.7, Exim-4 and MM3 In-Reply-To: <36380A66-1677-4A5C-9919-B27DC14679F0@dotdot.it> References: <20110529213747.5e00f306@neurotica.wooz.org> <36380A66-1677-4A5C-9919-B27DC14679F0@dotdot.it> Message-ID: <20110601133226.06b39323@neurotica.wooz.org> Hi Nigel, On May 30, 2011, at 09:10 AM, Nigel Metheringham wrote: >So to make this more generic:- > - how can an external process detect configured lists? > - preferably in a relatively non-active fashion - ie looking at > the filesystem > - if needed by running something to say if list x exists I think you could do it either way. In MM3, while there's no config.pck file, there still is a directory under lists/ for each mailing list. This is where things like template customizations can go, and probably more things eventually. One difference is that the directory contains the "fqdn listname" which is the same as the posting address. E.g.: $ bin/mailman info GNU Mailman 3.0.0a7+ (Where's My Thing?) Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) [GCC 4.5.2] config file: None db url: sqlite:////home/barry/projects/mailman/3.0/var/data/mailman.db REST root url: http://localhost:8001/3.0/ REST credentials: restadmin:restpass $ bin/mailman lists 1 matching mailing lists found: test1 at example.com $ ls var/lists test1 at example.com/ You could also get this information from the REST API. Here's an example using the Python client library, but of course anything that talks HTTP and can parse JSON will work too. $ python Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from mailman.client import Client >>> mm = Client('http://localhost:8001/3.0', 'restadmin', 'restpass') >>> for mlist in mm.lists: ... print mlist.fqdn_listname ... test1 at example.com > - what addresses does a list provide (ie list-request etc) > - or is there a way of getting mailman to list all the addresses > that mailman handles (ideally including domain) It's not wonderful, since it's primarily geared toward generating /etc/aliases files (or their mta-specific moral equivalents), but it's there. Of course, it would be easy to add any specific output format that would help Exim. This is the Postfix output: $ bin/mailman aliases -o - # AUTOMATICALLY GENERATED BY MAILMAN ON 2011-06-01 13:27:42 # # This file is generated by Mailman, and is kept in sync with the binary hash # file. YOU SHOULD NOT MANUALLY EDIT THIS FILE unless you know what you're # doing, and can keep the two files properly in sync. If you screw it up, # you're on your own. # Aliases which are visible only in the @example.com domain. test1 at example.com lmtp:[127.0.0.1]:8024 test1-bounces at example.com lmtp:[127.0.0.1]:8024 test1-confirm at example.com lmtp:[127.0.0.1]:8024 test1-join at example.com lmtp:[127.0.0.1]:8024 test1-leave at example.com lmtp:[127.0.0.1]:8024 test1-owner at example.com lmtp:[127.0.0.1]:8024 test1-request at example.com lmtp:[127.0.0.1]:8024 test1-subscribe at example.com lmtp:[127.0.0.1]:8024 test1-unsubscribe at example.com lmtp:[127.0.0.1]:8024 There's currently no equivalent in the REST API, although it would be trivial to add. >> Second, the preferred way to get messages into MM3 is via LMTP, so ideally, >> there'd be some configuration to get Exim to connect to MM3's LMTP server. > >That should be pretty easy. Awesome. >> It would be great to have better Exim (and Sendmail, qmail, or any other >> MTA) support in MM3. Let us know if you're willing and able to help! > >Can't do a great deal on this, but willing to heckle, umm, give >some advice from the sidelines. >The exim.org machine is moving to a more modern platform later in >the year so we may be in a position to realistically look at hosting >a MM3 install then. That would be great. I think we're very soon going to be ready to bring up a (GUI-less) test instance and to let brave souls start using it for real. I've been thinking about python.org or one of my own domains, none of which are entirely ideal. But if you or anyone else has a spare machine that we could use, let's talk! Cheers, -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From barry at list.org Wed Jun 1 19:41:42 2011 From: barry at list.org (Barry Warsaw) Date: Wed, 1 Jun 2011 13:41:42 -0400 Subject: [Mailman-Developers] ACL in Mailman - what's you opinion In-Reply-To: References: <20110527161819.63d00ff2@neurotica.wooz.org> Message-ID: <20110601134142.51b62254@neurotica.wooz.org> On May 27, 2011, at 04:35 PM, Richard Wackerbarth wrote: >I do not understand why "published over completely trusted channels" "means >only on localhost". When two machines are involved, you have to be able to >trust both of them, but they don't have to be the same machine. In addition, >you will need to open a secure channel. Even over public channels, signed, >and possibly encrypted, messages should be sufficient as long as you don't >expose the keys. True. I think this won't be a typical way of configuring the system, but experienced admins should most definitely have that option. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From odhiambo at gmail.com Thu Jun 2 08:10:02 2011 From: odhiambo at gmail.com (Odhiambo Washington) Date: Thu, 2 Jun 2011 09:10:02 +0300 Subject: [Mailman-Developers] FreeBSD 8.2, Python2.7, Exim-4 and MM3 In-Reply-To: <20110601133226.06b39323@neurotica.wooz.org> References: <20110529213747.5e00f306@neurotica.wooz.org> <36380A66-1677-4A5C-9919-B27DC14679F0@dotdot.it> <20110601133226.06b39323@neurotica.wooz.org> Message-ID: On Wed, Jun 1, 2011 at 20:32, Barry Warsaw wrote: > Hi Nigel, > > On May 30, 2011, at 09:10 AM, Nigel Metheringham wrote: > > >So to make this more generic:- > > - how can an external process detect configured lists? > > - preferably in a relatively non-active fashion - ie looking at > > the filesystem > > - if needed by running something to say if list x exists > > I think you could do it either way. In MM3, while there's no config.pck > file, > there still is a directory under lists/ for each mailing list. This is > where > things like template customizations can go, and probably more things > eventually. One difference is that the directory contains the "fqdn > listname" > which is the same as the posting address. E.g.: > > $ bin/mailman info > GNU Mailman 3.0.0a7+ (Where's My Thing?) > Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) > [GCC 4.5.2] > config file: None > db url: sqlite:////home/barry/projects/mailman/3.0/var/data/mailman.db > REST root url: http://localhost:8001/3.0/ > REST credentials: restadmin:restpass > $ bin/mailman lists > 1 matching mailing lists found: > test1 at example.com > $ ls var/lists > test1 at example.com/ > > You could also get this information from the REST API. Here's an example > using the Python client library, but of course anything that talks HTTP and > can parse JSON will work too. > > $ python > Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) > [GCC 4.5.2] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from mailman.client import Client > >>> mm = Client('http://localhost:8001/3.0', 'restadmin', 'restpass') > >>> for mlist in mm.lists: > ... print mlist.fqdn_listname > ... > test1 at example.com > > > - what addresses does a list provide (ie list-request etc) > > - or is there a way of getting mailman to list all the addresses > > that mailman handles (ideally including domain) > > It's not wonderful, since it's primarily geared toward generating > /etc/aliases > files (or their mta-specific moral equivalents), but it's there. Of > course, > it would be easy to add any specific output format that would help Exim. > This > is the Postfix output: > > $ bin/mailman aliases -o - > # AUTOMATICALLY GENERATED BY MAILMAN ON 2011-06-01 13:27:42 > # > # This file is generated by Mailman, and is kept in sync with the binary > hash > # file. YOU SHOULD NOT MANUALLY EDIT THIS FILE unless you know what you're > # doing, and can keep the two files properly in sync. If you screw it up, > # you're on your own. > > # Aliases which are visible only in the @example.com domain. > > test1 at example.com lmtp:[127.0.0.1]:8024 > test1-bounces at example.com lmtp:[127.0.0.1]:8024 > test1-confirm at example.com lmtp:[127.0.0.1]:8024 > test1-join at example.com lmtp:[127.0.0.1]:8024 > test1-leave at example.com lmtp:[127.0.0.1]:8024 > test1-owner at example.com lmtp:[127.0.0.1]:8024 > test1-request at example.com lmtp:[127.0.0.1]:8024 > test1-subscribe at example.com lmtp:[127.0.0.1]:8024 > test1-unsubscribe at example.com lmtp:[127.0.0.1]:8024 > > There's currently no equivalent in the REST API, although it would be > trivial > to add. > > >> Second, the preferred way to get messages into MM3 is via LMTP, so > ideally, > >> there'd be some configuration to get Exim to connect to MM3's LMTP > server. > > > >That should be pretty easy. > > Awesome. > > >> It would be great to have better Exim (and Sendmail, qmail, or any other > >> MTA) support in MM3. Let us know if you're willing and able to help! > > > >Can't do a great deal on this, but willing to heckle, umm, give > >some advice from the sidelines. > >The exim.org machine is moving to a more modern platform later in > >the year so we may be in a position to realistically look at hosting > >a MM3 install then. > > That would be great. I think we're very soon going to be ready to bring up > a > (GUI-less) test instance and to let brave souls start using it for real. > I've > been thinking about python.org or one of my own domains, none of which are > entirely ideal. But if you or anyone else has a spare machine that we > could > use, let's talk! > Hello Barry, I manage several machines (FreeBSD of course) all of which use Exim as the MTA. I'd like to know what sort of conditions you attach to this requirement (for a spare machine). The only downside is that bandwidth is still not cheap in KE, so people connecting from outside will definately feel the slow speeds. If the tests are NOT likely to interfere with the smooth running of Exim on any of these servers, then I am willing to let you use one of them. However, Nigel's input matters most so I must wait till he can work out something for Exim. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 652 bytes Desc: not available URL: From arnaud.le-roy at voila.fr Tue Jun 7 11:55:32 2011 From: arnaud.le-roy at voila.fr (arnaud.le-roy at voila.fr) Date: Tue, 7 Jun 2011 11:55:32 +0200 (CEST) Subject: [Mailman-Developers] (no subject) Message-ID: <11842958.6241307440532414.JavaMail.www@wwinf4636> Hi, I've just installed mailman 3 : as my goal is to use it with the REST interface or custom scripts, I'd like to get a good grasp of how it is working. So, I'm trying to use it in interactive mode as in the package documentation. However, I'm not sure of the best way to be in the same context as in the documentation examples. At first I tried the "py" script under bin, but everything is not initialised (eg I have component not found errors for getUtility). Then I tried with mailman withlist. It works better now but I now see the dump_list function in the examples and I had to import it manually. So my question is : what is the context of the examples and how can I set it up ? Or are they all "ad hoc" with no general way to be in the same state ? Thanks, Arnaud Le Roy ____________________________________________________ D?couvrez les photos des sportives les plus sexy sur Voila http://people.voila.fr/people/mediatheque/dossiers/les-sportives-les-plus-sexy/ From benedict.stein at googlemail.com Tue Jun 7 18:28:13 2011 From: benedict.stein at googlemail.com (Benedict Stein) Date: Tue, 07 Jun 2011 18:28:13 +0200 Subject: [Mailman-Developers] (no subject) In-Reply-To: <11842958.6241307440532414.JavaMail.www@wwinf4636> References: <11842958.6241307440532414.JavaMail.www@wwinf4636> Message-ID: <1307464093.2467.40.camel@vaio-fe31m> Hi arnaud, regarde: http://wiki.list.org/pages/viewpage.action?pageId=11960560 Am Dienstag, den 07.06.2011, 11:55 +0200 schrieb arnaud.le-roy at voila.fr: > Hi, > > I've just installed mailman 3 : as my goal is to use it with the REST interface or custom scripts, I'd like to get a good grasp of how > it is working. So, I'm trying to use it in interactive mode as in the package documentation. However, I'm not sure of the best way to be > in the same context as in the documentation examples. At first I tried the "py" script under bin, but everything is not initialised (eg > I have component not found errors for getUtility). Then I tried with mailman withlist. It works better now but I now see the dump_list > function in the examples and I had to import it manually. So my question is : what is the context of the examples and how can I set it > up ? Or are they all "ad hoc" with no general way to be in the same state ? > > Thanks, > Arnaud Le Roy > > > > ____________________________________________________ > > D?couvrez les photos des sportives les plus sexy sur Voila http://people.voila.fr/people/mediatheque/dossiers/les-sportives-les-plus-sexy/ > > > > _______________________________________________ > Mailman-Developers mailing list > Mailman-Developers at python.org > http://mail.python.org/mailman/listinfo/mailman-developers > Mailman FAQ: http://wiki.list.org/x/AgA3 > Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ > Unsubscribe: http://mail.python.org/mailman/options/mailman-developers/benedict.stein%40googlemail.com > > Security Policy: http://wiki.list.org/x/QIA9 -- Einen sch?nen Tag w?nscht: Benedict Stein -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: From arnaud.le-roy at voila.fr Tue Jun 7 21:48:23 2011 From: arnaud.le-roy at voila.fr (arnaud.le-roy at voila.fr) Date: Tue, 7 Jun 2011 21:48:23 +0200 (CEST) Subject: [Mailman-Developers] (no subject) Message-ID: <8999118.32611307476103525.JavaMail.www@wwinf4627> Thanks Benedict, (j'ai regard?, merci!) this page is going to be very important for my next steps. I'm sorry however that I did not made my "core" question clear enough : if I look at the documentation for the packages, eg : http://packages.python.org/mailman/commands/docs/members.html, there are interactive python sessions operating on the different data structures of mailman, and I'd like to know how or if I can start the python shell to be in the same initial state than these sessions, or if these examples are just a moment in a larger interactive sequence... I tried with "mailman withlist" but it appears to not be the same context. Arnaud > Message du 07/06/11 ? 18h28 > De : "Benedict Stein" > A : arnaud.le-roy at voila.fr > Copie ? : mailman-developers at python.org > Objet : Re: [Mailman-Developers] (no subject) > > Hi arnaud, > > regarde: > http://wiki.list.org/pages/viewpage.action?pageId=11960560 > > > Am Dienstag, den 07.06.2011, 11:55 +0200 schrieb arnaud.le-roy at voila.fr: > > > Hi, > > > > I've just installed mailman 3 : as my goal is to use it with the REST interface or custom scripts, I'd like to get a good grasp of how > > it is working. So, I'm trying to use it in interactive mode as in the package documentation. However, I'm not sure of the best way to be > > in the same context as in the documentation examples. At first I tried the "py" script under bin, but everything is not initialised (eg > > I have component not found errors for getUtility). Then I tried with mailman withlist. It works better now but I now see the dump_list > > function in the examples and I had to import it manually. So my question is : what is the context of the examples and how can I set it > > up ? Or are they all "ad hoc" with no general way to be in the same state ? > > > > Thanks, > > Arnaud Le Roy > > > > > > > > ____________________________________________________ > > > > D?couvrez les photos des sportives les plus sexy sur Voila http://people.voila.fr/people/mediatheque/dossiers/les-sportives- les-plus-sexy/ > > > > > > > > _______________________________________________ > > Mailman-Developers mailing list > > Mailman-Developers at python.org > > http://mail.python.org/mailman/listinfo/mailman-developers > > Mailman FAQ: http://wiki.list.org/x/AgA3 > > Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ > > Unsubscribe: http://mail.python.org/mailman/options/mailman-developers/benedict.stein%40googlemail.com > > > > Security Policy: http://wiki.list.org/x/QIA9 > > > -- > > Einen sch?nen Tag w?nscht: > Benedict Stein > > > > > [ signature.asc (0.8 Ko) ] ____________________________________________________ D?couvrez les photos des sportives les plus sexy sur Voila http://people.voila.fr/people/mediatheque/dossiers/les-sportives-les-plus-sexy/ From barry at list.org Tue Jun 7 21:57:06 2011 From: barry at list.org (Barry Warsaw) Date: Tue, 7 Jun 2011 15:57:06 -0400 Subject: [Mailman-Developers] (no subject) In-Reply-To: <11842958.6241307440532414.JavaMail.www@wwinf4636> References: <11842958.6241307440532414.JavaMail.www@wwinf4636> Message-ID: <20110607155706.33e20fcf@neurotica.wooz.org> Hi Arnaud, On Jun 07, 2011, at 11:55 AM, arnaud.le-roy at voila.fr wrote: >I've just installed mailman 3 : as my goal is to use it with the REST >interface or custom scripts, I'd like to get a good grasp of how it is >working. So, I'm trying to use it in interactive mode as in the package >documentation. However, I'm not sure of the best way to be in the same >context as in the documentation examples. At first I tried the "py" script >under bin, but everything is not initialised (eg I have component not found >errors for getUtility). Then I tried with mailman withlist. It works better >now but I now see the dump_list function in the examples and I had to import >it manually. So my question is : what is the context of the examples and how >can I set it up ? Or are they all "ad hoc" with no general way to be in the >same state ? You're pretty close, actually. The documentation does assume a slightly crafted global namespace, which you can see in src/mailman/tests/test_documentation.py. Look in the setup() function. I've tried to keep these 'magic test gobals' to a minimum, but some are just too darn convenient. You're right that bin/py does not initialize the system. That's exactly what `bin/mailman withlist` does though. As you've seen, you will have to manually import certain names though, exactly the ones that test_documentation.py puts in the doctest globals. It should be fairly obvious from looking at that file what you'll need and where to get it from. The other tricky bit about the test suite is that you might need to take into account the "layer" feature of zope.testing. You'll find all the testing layers in src/mailman/testing/layers.py and for doctests, some package __init__.py files have a `layer` global that defines the layer for doctests in that package. See for example src/mailman/rest/docs/__init__.py. I hope that helps. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From barry at list.org Tue Jun 7 22:35:57 2011 From: barry at list.org (Barry Warsaw) Date: Tue, 7 Jun 2011 16:35:57 -0400 Subject: [Mailman-Developers] FreeBSD 8.2, Python2.7, Exim-4 and MM3 In-Reply-To: References: <20110529213747.5e00f306@neurotica.wooz.org> <36380A66-1677-4A5C-9919-B27DC14679F0@dotdot.it> <20110601133226.06b39323@neurotica.wooz.org> Message-ID: <20110607163557.3a107851@neurotica.wooz.org> On Jun 02, 2011, at 09:10 AM, Odhiambo Washington wrote: >I manage several machines (FreeBSD of course) all of which use Exim as the >MTA. I'd like to know what sort of conditions you attach to this requirement >(for a spare machine). The only downside is that bandwidth is still not >cheap in KE, so people connecting from outside will definately feel the slow >speeds. If the tests are NOT likely to interfere with the smooth running of >Exim on any of these servers, then I am willing to let you use one of >them. However, Nigel's input matters most so I must wait till he can work out >something for Exim. Hi Odhiambo, There really aren't too many conditions on this, though I think I would need shell access to quickly update the code and restart Mailman. Really, we just want a test server that brave folks like yourself can subscribe to and we can start throwing real traffic at. I think it would be wise at this point to not use a production server for now. Bandwidth isn't that big a deal for the email traffic I'd expect, though latency to the USA might be a problem. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From arnaud.le-roy at voila.fr Tue Jun 7 22:59:07 2011 From: arnaud.le-roy at voila.fr (arnaud.le-roy at voila.fr) Date: Tue, 7 Jun 2011 22:59:07 +0200 (CEST) Subject: [Mailman-Developers] (no subject) Message-ID: <24574620.109001307480347002.JavaMail.www@wwinf4601> Hi Barry, Happy to confirm that it helps. These convenience functions ease the discovery for first time players, so from this point of view this is an added benefit of your trade-off. Thanks, Arnaud > Message du 07/06/11 ? 21h57 > De : "Barry Warsaw" > A : mailman-developers at python.org > Copie ? : arnaud.le-roy at voila.fr > Objet : Re: [Mailman-Developers] (no subject) > > Hi Arnaud, > > On Jun 07, 2011, at 11:55 AM, arnaud.le-roy at voila.fr wrote: > > >I've just installed mailman 3 : as my goal is to use it with the REST > >interface or custom scripts, I'd like to get a good grasp of how it is > >working. So, I'm trying to use it in interactive mode as in the package > >documentation. However, I'm not sure of the best way to be in the same > >context as in the documentation examples. At first I tried the "py" script > >under bin, but everything is not initialised (eg I have component not found > >errors for getUtility). Then I tried with mailman withlist. It works better > >now but I now see the dump_list function in the examples and I had to import > >it manually. So my question is : what is the context of the examples and how > >can I set it up ? Or are they all "ad hoc" with no general way to be in the > >same state ? > > You're pretty close, actually. The documentation does assume a slightly > crafted global namespace, which you can see in > src/mailman/tests/test_documentation.py. Look in the setup() function. I've > tried to keep these 'magic test gobals' to a minimum, but some are just too > darn convenient. > > You're right that bin/py does not initialize the system. That's exactly what > `bin/mailman withlist` does though. As you've seen, you will have to manually > import certain names though, exactly the ones that test_documentation.py puts > in the doctest globals. It should be fairly obvious from looking at that file > what you'll need and where to get it from. > > The other tricky bit about the test suite is that you might need to take into > account the "layer" feature of zope.testing. You'll find all the testing > layers in src/mailman/testing/layers.py and for doctests, some package > __init__.py files have a `layer` global that defines the layer for doctests in > that package. See for example src/mailman/rest/docs/__init__.py. > > I hope that helps. > -Barry > > > [ signature.asc (0.8 Ko) ] ____________________________________________________ D?couvrez les photos des sportives les plus sexy sur Voila http://people.voila.fr/people/mediatheque/dossiers/les-sportives-les-plus-sexy/ From odhiambo at gmail.com Wed Jun 8 15:20:31 2011 From: odhiambo at gmail.com (Odhiambo Washington) Date: Wed, 8 Jun 2011 16:20:31 +0300 Subject: [Mailman-Developers] FreeBSD 8.2, Python2.7, Exim-4 and MM3 In-Reply-To: <20110607163557.3a107851@neurotica.wooz.org> References: <20110529213747.5e00f306@neurotica.wooz.org> <36380A66-1677-4A5C-9919-B27DC14679F0@dotdot.it> <20110601133226.06b39323@neurotica.wooz.org> <20110607163557.3a107851@neurotica.wooz.org> Message-ID: On Tue, Jun 7, 2011 at 23:35, Barry Warsaw wrote: > On Jun 02, 2011, at 09:10 AM, Odhiambo Washington wrote: > > >I manage several machines (FreeBSD of course) all of which use Exim as the > >MTA. I'd like to know what sort of conditions you attach to this > requirement > >(for a spare machine). The only downside is that bandwidth is still not > >cheap in KE, so people connecting from outside will definately feel the > slow > >speeds. If the tests are NOT likely to interfere with the smooth running > of > >Exim on any of these servers, then I am willing to let you use one of > >them. However, Nigel's input matters most so I must wait till he can work > out > >something for Exim. > > Hi Odhiambo, > > There really aren't too many conditions on this, though I think I would > need > shell access to quickly update the code and restart Mailman. Really, we > just > want a test server that brave folks like yourself can subscribe to and we > can > start throwing real traffic at. I think it would be wise at this point to > not > use a production server for now. Bandwidth isn't that big a deal for the > email traffic I'd expect, though latency to the USA might be a problem. > > -Barry > Hello Barry, Is a valid MX record a MUST for this project? My test box is inside a 2Mbps symmetric connection from anywhere (USofA, etc) but it does not have a valid MX record. Will that do? If it must have, then I will need to register a domain name and talk to the ISP to do the mappings. However, if this test is non-intrusive to Exim, then I can use one of the production servers I use. PS: My hope is that we'll be using Exim as the MTA:) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 652 bytes Desc: not available URL: From barry at list.org Thu Jun 9 00:34:04 2011 From: barry at list.org (Barry Warsaw) Date: Wed, 8 Jun 2011 18:34:04 -0400 Subject: [Mailman-Developers] FreeBSD 8.2, Python2.7, Exim-4 and MM3 In-Reply-To: References: <20110529213747.5e00f306@neurotica.wooz.org> <36380A66-1677-4A5C-9919-B27DC14679F0@dotdot.it> <20110601133226.06b39323@neurotica.wooz.org> <20110607163557.3a107851@neurotica.wooz.org> Message-ID: <20110608183404.305257a3@neurotica.wooz.org> On Jun 08, 2011, at 04:20 PM, Odhiambo Washington wrote: >Is a valid MX record a MUST for this project? > >My test box is inside a 2Mbps symmetric connection from anywhere (USofA, etc) >but it does not have a valid MX record. Will that do? If it must have, then >I will need to register a domain name and talk to the ISP to do the mappings. > >However, if this test is non-intrusive to Exim, then I can use one of the >production servers I use. > >PS: My hope is that we'll be using Exim as the MTA:) As long as you can send email to foo-list at example.com, I think that's all that matters for right now. My idea is that we'd bring up a test domain with a couple of test lists, and let people subscribe and unsubscribe via email (e.g. foo-join at example.com and foo-leave at example.com). Then people could post test messages to the list and we'd all see how MM3 performed under real-world conditions. A few other things: * My main goal right now is to get the core to releasable state by 11.11.11. This probably means it's got to go to beta fairly soon, probably no later than the end of the northern hemisphere summer (probably best right after GSoC ends). * We don't need to wait until the web ui is ready, so we'll start with just the email interface. * Probably best to run the system off of bzr trunk. That way, you can much more quickly deploy bug fixes during this test phase. * I actually don't need shell access if you're willing and able to maintain the system, provide logs if necessary, update the bzr branch, etc. * I think the risk is small, but you should be prepared to deal with any runaway mail storms. Since most of the queuing architecture is a fairly straight port from MM2, and we have at least a *decade* of experience with that subsystem, we should be in good shape. But the MM3 code has been refactored and updated to more modern Pythonic idioms, so it's entirely possible that some catastrophic bug was introduced. Don't be afraid, but be prepared. :) -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From odhiambo at gmail.com Fri Jun 10 18:33:01 2011 From: odhiambo at gmail.com (Odhiambo Washington) Date: Fri, 10 Jun 2011 19:33:01 +0300 Subject: [Mailman-Developers] FreeBSD 8.2, Python2.7, Exim-4 and MM3 In-Reply-To: <20110608183404.305257a3@neurotica.wooz.org> References: <20110529213747.5e00f306@neurotica.wooz.org> <36380A66-1677-4A5C-9919-B27DC14679F0@dotdot.it> <20110601133226.06b39323@neurotica.wooz.org> <20110607163557.3a107851@neurotica.wooz.org> <20110608183404.305257a3@neurotica.wooz.org> Message-ID: On Thu, Jun 9, 2011 at 01:34, Barry Warsaw wrote: > On Jun 08, 2011, at 04:20 PM, Odhiambo Washington wrote: > > >Is a valid MX record a MUST for this project? > > > >My test box is inside a 2Mbps symmetric connection from anywhere (USofA, > etc) > >but it does not have a valid MX record. Will that do? If it must have, > then > >I will need to register a domain name and talk to the ISP to do the > mappings. > > > >However, if this test is non-intrusive to Exim, then I can use one of the > >production servers I use. > > > >PS: My hope is that we'll be using Exim as the MTA:) > > As long as you can send email to foo-list at example.com, I think that's all > that > matters for right now. > > My idea is that we'd bring up a test domain with a couple of test lists, > and > let people subscribe and unsubscribe via email (e.g. foo-join at example.comand > foo-leave at example.com). Then people could post test messages to the list > and > we'd all see how MM3 performed under real-world conditions. > > A few other things: > > * My main goal right now is to get the core to releasable state by > 11.11.11. > This probably means it's got to go to beta fairly soon, probably no later > than the end of the northern hemisphere summer (probably best right after > GSoC ends). > > * We don't need to wait until the web ui is ready, so we'll start with just > the email interface. > > * Probably best to run the system off of bzr trunk. That way, you can much > more quickly deploy bug fixes during this test phase. > > * I actually don't need shell access if you're willing and able to maintain > the system, provide logs if necessary, update the bzr branch, etc. > > * I think the risk is small, but you should be prepared to deal with any > runaway mail storms. Since most of the queuing architecture is a fairly > straight port from MM2, and we have at least a *decade* of experience with > that subsystem, we should be in good shape. But the MM3 code has been > refactored and updated to more modern Pythonic idioms, so it's entirely > possible that some catastrophic bug was introduced. Don't be afraid, but > be > prepared. :) > > -Barry > Hello Barry, I have crafted a subdomain for this purpose. The 'domain' will be jaribu.kictanet.or.ke. The DNS portions have just been done a few hours ago so they need some hours to propagate, otherwise the IP is 196.200.26.114 Please dig your e-mails (btn me and you) for your logon credentials. The host already has Apache22, Exim-4.76, etc. Nigel's been quiet! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 652 bytes Desc: not available URL: From richard at NFSNet.org Tue Jun 14 02:22:44 2011 From: richard at NFSNet.org (Richard Wackerbarth) Date: Mon, 13 Jun 2011 19:22:44 -0500 Subject: [Mailman-Developers] [Bug 283751] Re: feature request: fetch archived emails In-Reply-To: <20110613181146.1682.26107.malone@gac.canonical.com> References: <20081015124912.15623.8318.malonedeb@palladium.canonical.com> <20110613181146.1682.26107.malone@gac.canonical.com> Message-ID: <0C620D08-D620-4331-88C8-B4E98A3384AC@NFSNet.org> This seems "out of place" for MM, per se. Providing this material is something that is intimately tied to the archiver. As I see it, the only thing that MM can do is to provide a "pass thru" conduit to whatever archiver the installation has chosen. Wacky On Jun 13, 2011, at 1:11 PM, Barry Warsaw wrote: > I think we'll probably do something like this in Mailman 3, but also, > I'm much more fond of providing a Gmane-like NNTP interface to the > archives. I find myself subscribing to fewer mailing lists these days > and just reading (and replying!) to them via Gmane. Works great. > > -- > You received this bug notification because you are a member of Mailman > Coders, which is subscribed to GNU Mailman. > https://bugs.launchpad.net/bugs/283751 > > Title: > feature request: fetch archived emails From richard at NFSNet.org Tue Jun 14 21:31:36 2011 From: richard at NFSNet.org (Richard Wackerbarth) Date: Tue, 14 Jun 2011 14:31:36 -0500 Subject: [Mailman-Developers] Analysis of MM3 Issues on FreeBSD Message-ID: <02D1A98D-5473-410F-9F3D-AE62CA43F946@NFSNet.org> I did some investigation of problems reported in attempting to get MM3 to run on FreeBSD. I used FreeBSD 8.2 - python 2.7.1 from ports, but it looks as if the situation is the same on other combinations. After bootstrap, running bin/test fails because the pysqlite2 module is not found. This is because the port that installed it put the module in the site-packages folder. The MM3 buildout.cfg explicitly ignores anything there. A) Changing to "include-site-packages = true" in line 9 of buildout.cfg fixes the problem. However, bug LP: #659231 introduced the exclusion for another reason. It is my opinion that the fix to 659231 by disabling site-packages is fundamentally wrong and just masks the real issue, if it exists. (Personally, I have been unable to reproduce the condition reported by the referenced bug) B) Another "workaround" is to install the pysqlite2 in another directory that is on the python path. (After installation in site-packages, I just `mv`d it) This investigation has uncovered two additional issues. 1) In choosing its implementation, storm chooses the pysqlite2 interface and, if it is not present, attempts to fall back to the newer sqlite3 interface. 2) The FreeBSD port of python disables a number of modules: disabled_module_list = ["_bsddb", "_sqlite3", "_tkinter", "gdbm", "mpz"] I assume that this is because the port was not set up to make these optional and assure that the prerequisite code gets installed if not already present. Richard "Wacky" Wackerbarth From barry at list.org Tue Jun 14 22:03:06 2011 From: barry at list.org (Barry Warsaw) Date: Tue, 14 Jun 2011 16:03:06 -0400 Subject: [Mailman-Developers] Analysis of MM3 Issues on FreeBSD In-Reply-To: <02D1A98D-5473-410F-9F3D-AE62CA43F946@NFSNet.org> References: <02D1A98D-5473-410F-9F3D-AE62CA43F946@NFSNet.org> Message-ID: <20110614160306.5c83d52b@neurotica.wooz.org> On Jun 14, 2011, at 02:31 PM, Richard Wackerbarth wrote: >A) Changing to "include-site-packages = true" in line 9 of buildout.cfg fixes >the problem. However, bug LP: #659231 introduced the exclusion for another >reason. It is my opinion that the fix to 659231 by disabling site-packages is >fundamentally wrong and just masks the real issue, if it exists. (Personally, >I have been unable to reproduce the condition reported by the referenced bug) Me too. I've just verified that it the setting makes no difference with Python 2.6 or 2.7 on Ubuntu 11.04. I'll remove the setting. Thanks for looking at this. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From mark at msapiro.net Wed Jun 15 00:53:00 2011 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 14 Jun 2011 15:53:00 -0700 Subject: [Mailman-Developers] Administrivia bug with 'set' Message-ID: I recently noticed (by looking at code) that since the format of the email set command changed from set