From asishrocks95 at gmail.com Sun Feb 2 07:23:18 2014 From: asishrocks95 at gmail.com (Asish Panda) Date: Sun, 2 Feb 2014 11:53:18 +0530 Subject: [Mailman-Developers] GSoC 2014 Message-ID: Hey! My first question regarding GSoC is whether mailman is taking part in it this year or not. Secondly, is the project list listed under GSoC 2013 good for 2014 as well? Thank you! From tim at xrammit.de Sun Feb 2 16:17:42 2014 From: tim at xrammit.de (Tim Marx) Date: Sun, 02 Feb 2014 16:17:42 +0100 Subject: [Mailman-Developers] Mailman 3: Problem with binding REST server to custom address Message-ID: <52EE6196.1090801@xrammit.de> Hi, I'm testing the new REST API of Mailman 3 at the moment and installed Mailman 3.0.0b3 on Ubuntu Server 12.04 in VirtualBox following the steps in docs/START.rst (with virtualenv). I got Mailman running without errors but I can't change the IP address the REST server binds to. I would like to bind the REST server for development to the address 0.0.0.0 to access it from outside of the VirtualBox with Port Mapping. I tried with a custom settings file 'mailman.cfg' in my Mailman working directory in which I set the property hostname to 0.0.0.0. Now when I call 'mailman info' it shows the custom defined hostname in line starting with 'REST root url' but I can't access the API from outside the virtual machine and the command 'netstat -lntpu' displays that the REST server process was bound to the address 127.0.0.1 and therefore is of course only accessible from localhost. To eliminate any configuration mistakes of my virtual machine or python I wrote a simple python script that starts a server with the wsgi library and I had no problems to bind this server to 0.0.0.0. I appreciate any ideas and tips! Regards, Tim From terri at toybox.ca Mon Feb 3 10:19:36 2014 From: terri at toybox.ca (Terri Oda) Date: Mon, 03 Feb 2014 01:19:36 -0800 Subject: [Mailman-Developers] GSoC 2014 In-Reply-To: References: Message-ID: <52EF5F28.5000106@toybox.ca> Mailman is intending to participate! (At least, Florian told me he'd write our application this year... ;) The project list under 2013 is *not* good for 2014 -- some of those projects have been finished and/or there may be no developer interest in some of them this year. However, others may still be viable. If there are any in particular that interest you, please ask on this list! The sooner you ask the easier it us for us to hash out a project idea that will be viable and have plenty of mentor support. Terri On 2/1/2014, 10:23 PM, Asish Panda wrote: > Hey! > > My first question regarding GSoC is whether mailman is taking part in it > this year or not. Secondly, is the project list listed under GSoC 2013 good > for 2014 as well? > > Thank you! > _______________________________________________ > Mailman-Developers mailing list > Mailman-Developers at python.org > https://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: https://mail.python.org/mailman/options/mailman-developers/terri%40zone12.com > > Security Policy: http://wiki.list.org/x/QIA9 > From barry at list.org Mon Feb 3 21:38:34 2014 From: barry at list.org (Barry Warsaw) Date: Mon, 3 Feb 2014 15:38:34 -0500 Subject: [Mailman-Developers] Mailman 3: Problem with binding REST server to custom address In-Reply-To: <52EE6196.1090801@xrammit.de> References: <52EE6196.1090801@xrammit.de> Message-ID: <20140203153834.425ba927@anarchist.wooz.org> On Feb 02, 2014, at 04:17 PM, Tim Marx wrote: >I got Mailman running without errors but I can't change the IP address the >REST server binds to. I would like to bind the REST server for development to >the address 0.0.0.0 to access it from outside of the VirtualBox with Port >Mapping. 0.0.0.0 is a reserved IPv4 address: http://en.wikipedia.org/wiki/Reserved_IP_addresses#Reserved_IPv4_addresses so I don't think it's generally useful as an address to bind Mailman's REST API to, unless VB is doing something special I'm not aware of. (I'm not a VB expert.) >I tried with a custom settings file 'mailman.cfg' in my Mailman working >directory in which I set the property hostname to 0.0.0.0. Now when I call >'mailman info' it shows the custom defined hostname in line starting with >'REST root url' but I can't access the API from outside the virtual machine >and the command 'netstat -lntpu' displays that the REST server process was >bound to the address 127.0.0.1 and therefore is of course only accessible >from localhost. > >To eliminate any configuration mistakes of my virtual machine or python I >wrote a simple python script that starts a server with the wsgi library and I >had no problems to bind this server to 0.0.0.0. I appreciate any ideas and >tips! Mailman doesn't do anything special here. Whatever IP address/hostname you set in mailman.cfg is passed straight through to the wsgiref server: http://tinyurl.com/knkcdz2 http://docs.python.org/2/library/wsgiref.html#module-wsgiref.simple_server Scanning the Python 2.7 stdlib, I can't see that wsgiref does anything special to the address you give it. It passes it down through several levels, but ultimately ends up calling socket.bind() on it AFAICT. What happens if you give it the public host name of your VB instance, e.g. myhost.mydomain? Cheers, -Barry From stephen at xemacs.org Tue Feb 4 06:49:07 2014 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Tue, 04 Feb 2014 14:49:07 +0900 Subject: [Mailman-Developers] Mailman 3: Problem with binding REST server to custom address In-Reply-To: <20140203153834.425ba927@anarchist.wooz.org> References: <52EE6196.1090801@xrammit.de> <20140203153834.425ba927@anarchist.wooz.org> Message-ID: <87mwi75sx8.fsf@uwakimon.sk.tsukuba.ac.jp> Barry Warsaw writes: > >the address 0.0.0.0 to access it from outside of the VirtualBox with Port > >Mapping. > > 0.0.0.0 is a reserved IPv4 address: > > http://en.wikipedia.org/wiki/Reserved_IP_addresses#Reserved_IPv4_addresses I don't think it's a very interesting idea to bind a listener to that address, since it could only hear broadcasts. *shiver* But for exactly that reason it's often used as a non-address token to express that the network server should to bind to all available interfaces. > >I tried with a custom settings file 'mailman.cfg' in my Mailman working > >directory in which I set the property hostname to 0.0.0.0. Now when I call > >'mailman info' it shows the custom defined hostname in line starting with > >'REST root url' but I can't access the API from outside the virtual machine > >and the command 'netstat -lntpu' displays that the REST server process was > >bound to the address 127.0.0.1 and therefore is of course only accessible > >from localhost. Given the above interpretation, it looks to me like your problem may be that the only interface found has address 127.0.0.1. I don't know much about VirtualBox, but I would look at its configuration and that of your webserver (WSGI is not a webserver, it is an interface between Python and a real webserver), despite your simple experiment (which is far from eliminating configuration errors based on the data you've provided so far, although it might do so based on information you haven't given us). From barry at list.org Tue Feb 4 16:08:45 2014 From: barry at list.org (Barry Warsaw) Date: Tue, 4 Feb 2014 10:08:45 -0500 Subject: [Mailman-Developers] Mailman 3: Problem with binding REST server to custom address In-Reply-To: <87mwi75sx8.fsf@uwakimon.sk.tsukuba.ac.jp> References: <52EE6196.1090801@xrammit.de> <20140203153834.425ba927@anarchist.wooz.org> <87mwi75sx8.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <20140204100845.5b5802f4@limelight.wooz.org> On Feb 04, 2014, at 02:49 PM, Stephen J. Turnbull wrote: >(WSGI is not a webserver, it is an interface between Python and a real >webserver) Right, but the wsgiref stdlib module does provide a WSGI-compliant HTTP server, which is what Mailman's REST runner uses currently. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From stephen at xemacs.org Tue Feb 4 16:58:50 2014 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Wed, 05 Feb 2014 00:58:50 +0900 Subject: [Mailman-Developers] Mailman 3: Problem with binding REST server to custom address In-Reply-To: <20140204100845.5b5802f4@limelight.wooz.org> References: <52EE6196.1090801@xrammit.de> <20140203153834.425ba927@anarchist.wooz.org> <87mwi75sx8.fsf@uwakimon.sk.tsukuba.ac.jp> <20140204100845.5b5802f4@limelight.wooz.org> Message-ID: <87mwi6c1j9.fsf@uwakimon.sk.tsukuba.ac.jp> Barry Warsaw writes: > On Feb 04, 2014, at 02:49 PM, Stephen J. Turnbull wrote: > > >(WSGI is not a webserver, it is an interface between Python and a real > >webserver) > > Right, but the wsgiref stdlib module does provide a WSGI-compliant HTTP > server, which is what Mailman's REST runner uses currently. Indeed, but my point is that unless the full configuration that Mailman uses and the full configuration for the OP's "simple HTTP server", not to mention the exact test case run with the "simple HTTP server" are specified, we can't be sure it's a Mailman problem. AFAICS that point stands. From tim at xrammit.de Tue Feb 4 22:05:14 2014 From: tim at xrammit.de (Tim Marx) Date: Tue, 04 Feb 2014 22:05:14 +0100 Subject: [Mailman-Developers] Mailman 3: Problem with binding REST server to custom address In-Reply-To: <20140203153834.425ba927@anarchist.wooz.org> References: <52EE6196.1090801@xrammit.de> <20140203153834.425ba927@anarchist.wooz.org> Message-ID: <52F1560A.8030307@xrammit.de> Am 03.02.2014 21:38, schrieb Barry Warsaw: > 0.0.0.0 is a reserved IPv4 address: > > http://en.wikipedia.org/wiki/Reserved_IP_addresses#Reserved_IPv4_addresses > > so I don't think it's generally useful as an address to bind Mailman's REST > API to, unless VB is doing something special I'm not aware of. (I'm not a VB > expert.) I thought it might be a good idea, because the output of 'netstat -lntpu' in my virtual machine shows that all public accessible services (e.g. apache2, sshd) are bound to 0.0.0.0 and these services are accessible from the host. The services that are bound to 127.0.0.1 can only be accessed from localhost inside the virtual machine. I found a simple python script and modified it a little bit: > from wsgiref.simple_server import make_server > > def hello_world(environ, start_response): > start_response('200 OK', [('Content-Type', 'text/html')]) > return ['''Hello world!'''] > > if __name__ == '__main__': > srv = make_server('', 8080, hello_world) > srv.serve_forever() This script responses "Hello world" to every request on Port 8080. When I pass '' or '0.0.0.0' as first argument to make_server(...) I get the expected response "Hello world" inside and outside the virtual machine and netstat shows that the service is bound to 0.0.0.0:8080. But when I pass '127.0.0.1' I can't access it outside the virtual machine and netstat shows that the service is bound to 127.0.0.1:8080. The interesting thing is netmask shows that the Mailman rest service is always bound to 127.0.0.1 even if edit the file src/mailman/rest/wsgiapp.py directly and change line 80 from > host, port, make_application(), to > '', port, make_application(), the rest service is bound to 127.0.0.1 and not accessible outside the virtual machine. This is the reason why I think it's a Mailman problem. Thanks and Cheers, Tim From djkevincr1989 at gmail.com Wed Feb 5 08:45:31 2014 From: djkevincr1989 at gmail.com (Kevin Ratnasekera) Date: Wed, 5 Feb 2014 13:15:31 +0530 Subject: [Mailman-Developers] Missing Content-Type header in mailman-3.0.0b3 rest api Message-ID: hi, I am using the above version of mailman rest api. When I sent a http request to rest api ( for example to get all mailman users ) JSON is returned, but Content-type header is missing from the response message. Is there any way that i can fix this. Regards, Kevin From djkevincr1989 at gmail.com Thu Feb 6 12:38:07 2014 From: djkevincr1989 at gmail.com (Kevin Ratnasekera) Date: Thu, 6 Feb 2014 17:08:07 +0530 Subject: [Mailman-Developers] (no subject) Message-ID: Hi all, While i create new list with mailman rest api i receive this error, sh: 1: /usr/sbin/postmap: not found sh: 1: /usr/sbin/postmap: not found Traceback (most recent call last): File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run self.result = application(self.environ, self.start_response) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/database/transaction.py", line 60, in wrapper rtn = function(*args, **kws) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/wsgiapp.py", line 59, in __call__ environ, start_response) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py", line 18, in __call__ response = self.get_response(request, resource_or_response) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py", line 65, in get_response resource_or_response = resource_or_response(request) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py", line 212, in __call__ return _dispatch(request, match, lambda r: callable(self, r)) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py", line 243, in _dispatch response = func(request) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py", line 212, in return _dispatch(request, match, lambda r: callable(self, r)) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/lists.py", line 203, in create mlist = create_list(**validator(request)) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/app/lifecycle.py", line 84, in create_list call_name(config.mta.incoming).create(mlist) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py", line 73, in create self.regenerate() File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py", line 108, in regenerate raise RuntimeError(NL.join(errors)) RuntimeError: command failure: /usr/sbin/postmap /home/kevin/var/data/postfix_lmtp, 127, Key has expired command failure: /usr/sbin/postmap /home/kevin/var/data/postfix_domains, 127, Key has expired sh: 1: /usr/sbin/postmap: not found sh: 1: /usr/sbin/postmap: not found Traceback (most recent call last): File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run self.result = application(self.environ, self.start_response) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/database/transaction.py", line 60, in wrapper rtn = function(*args, **kws) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/wsgiapp.py", line 59, in __call__ environ, start_response) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py", line 18, in __call__ response = self.get_response(request, resource_or_response) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py", line 65, in get_response resource_or_response = resource_or_response(request) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py", line 212, in __call__ return _dispatch(request, match, lambda r: callable(self, r)) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py", line 243, in _dispatch response = func(request) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py", line 212, in return _dispatch(request, match, lambda r: callable(self, r)) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/lists.py", line 203, in create mlist = create_list(**validator(request)) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/app/lifecycle.py", line 84, in create_list call_name(config.mta.incoming).create(mlist) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py", line 73, in create self.regenerate() File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py", line 108, in regenerate raise RuntimeError(NL.join(errors)) RuntimeError: command failure: /usr/sbin/postmap /home/kevin/var/data/postfix_lmtp, 127, Key has expired command failure: /usr/sbin/postmap /home/kevin/var/data/postfix_domains, 127, Key has expired sh: 1: /usr/sbin/postmap: not found sh: 1: /usr/sbin/postmap: not found Traceback (most recent call last): File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run self.result = application(self.environ, self.start_response) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/database/transaction.py", line 60, in wrapper rtn = function(*args, **kws) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/wsgiapp.py", line 59, in __call__ environ, start_response) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py", line 18, in __call__ response = self.get_response(request, resource_or_response) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py", line 65, in get_response resource_or_response = resource_or_response(request) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py", line 212, in __call__ return _dispatch(request, match, lambda r: callable(self, r)) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py", line 243, in _dispatch response = func(request) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py", line 212, in return _dispatch(request, match, lambda r: callable(self, r)) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/lists.py", line 203, in create mlist = create_list(**validator(request)) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/app/lifecycle.py", line 84, in create_list call_name(config.mta.incoming).create(mlist) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py", line 73, in create self.regenerate() File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py", line 108, in regenerate raise RuntimeError(NL.join(errors)) RuntimeError: command failure: /usr/sbin/postmap /home/kevin/var/data/postfix_lmtp, 127, Key has expired command failure: /usr/sbin/postmap /home/kevin/var/data/postfix_domains, 127, Key has expired sh: 1: /usr/sbin/postmap: not found sh: 1: /usr/sbin/postmap: not found Traceback (most recent call last): File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run self.result = application(self.environ, self.start_response) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/database/transaction.py", line 60, in wrapper rtn = function(*args, **kws) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/wsgiapp.py", line 59, in __call__ environ, start_response) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py", line 18, in __call__ response = self.get_response(request, resource_or_response) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py", line 65, in get_response resource_or_response = resource_or_response(request) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py", line 212, in __call__ return _dispatch(request, match, lambda r: callable(self, r)) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py", line 243, in _dispatch response = func(request) File "/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py", line 212, in return _dispatch(request, match, lambda r: callable(self, r)) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/lists.py", line 203, in create mlist = create_list(**validator(request)) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/app/lifecycle.py", line 84, in create_list call_name(config.mta.incoming).create(mlist) File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py", line 73, in create self.regenerate() File "/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py", line 108, in regenerate raise RuntimeError(NL.join(errors)) RuntimeError: command failure: /usr/sbin/postmap /home/kevin/var/data/postfix_lmtp, 127, Key has expired command failure: /usr/sbin/postmap /home/kevin/var/data/postfix_domains, 127, Key has expired can anyone give me some help. Regards Kevin From geoff at QuiteLikely.com Thu Feb 6 12:49:41 2014 From: geoff at QuiteLikely.com (Geoff Shang) Date: Thu, 6 Feb 2014 13:49:41 +0200 (IST) Subject: [Mailman-Developers] (no subject) In-Reply-To: References: Message-ID: On Thu, 6 Feb 2014, Kevin Ratnasekera wrote: > While i create new list with mailman rest api i receive this error, > sh: 1: /usr/sbin/postmap: not found > sh: 1: /usr/sbin/postmap: not found Looks like Mailman is expecting to find a Postfix installation in the standard place. Are you using Postfix as your mail transport agent? If so, where is your postmap executable installed? If not, have you configured Mailman for the MTA you *are* using? Geoff. From barry at list.org Thu Feb 6 15:42:27 2014 From: barry at list.org (Barry Warsaw) Date: Thu, 6 Feb 2014 09:42:27 -0500 Subject: [Mailman-Developers] (no subject) In-Reply-To: References: Message-ID: <20140206094227.6c014989@anarchist.wooz.org> On Feb 06, 2014, at 01:49 PM, Geoff Shang wrote: >On Thu, 6 Feb 2014, Kevin Ratnasekera wrote: > >> While i create new list with mailman rest api i receive this error, >> sh: 1: /usr/sbin/postmap: not found >> sh: 1: /usr/sbin/postmap: not found > >Looks like Mailman is expecting to find a Postfix installation in the >standard place. > >Are you using Postfix as your mail transport agent? If so, where is your >postmap executable installed? If not, have you configured Mailman for the >MTA you *are* using? If you're using Postfix but the postmap executable is in a different location, add a postfix.cfg file containing this to your etc directory: [postfix] postmap_command: /path/to/postmap Cheers, -Barry From djkevincr1989 at gmail.com Thu Feb 6 16:11:44 2014 From: djkevincr1989 at gmail.com (Kevin Ratnasekera) Date: Thu, 6 Feb 2014 20:41:44 +0530 Subject: [Mailman-Developers] (no subject) In-Reply-To: <20140206094227.6c014989@anarchist.wooz.org> References: <20140206094227.6c014989@anarchist.wooz.org> Message-ID: Thanks all got it fixed :) regards Kevin On Thu, Feb 6, 2014 at 8:12 PM, Barry Warsaw wrote: > On Feb 06, 2014, at 01:49 PM, Geoff Shang wrote: > > >On Thu, 6 Feb 2014, Kevin Ratnasekera wrote: > > > >> While i create new list with mailman rest api i receive this error, > >> sh: 1: /usr/sbin/postmap: not found > >> sh: 1: /usr/sbin/postmap: not found > > > >Looks like Mailman is expecting to find a Postfix installation in the > >standard place. > > > >Are you using Postfix as your mail transport agent? If so, where is your > >postmap executable installed? If not, have you configured Mailman for the > >MTA you *are* using? > > If you're using Postfix but the postmap executable is in a different > location, > add a postfix.cfg file containing this to your etc directory: > > [postfix] > postmap_command: /path/to/postmap > > Cheers, > -Barry > _______________________________________________ > Mailman-Developers mailing list > Mailman-Developers at python.org > https://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: > https://mail.python.org/mailman/options/mailman-developers/djkevincr1989%40gmail.com > > Security Policy: http://wiki.list.org/x/QIA9 > From r at manufacturaindependente.org Thu Feb 6 13:18:27 2014 From: r at manufacturaindependente.org (Ricardo Lafuente) Date: Thu, 06 Feb 2014 12:18:27 +0000 Subject: [Mailman-Developers] Updating the template HTML and including CSS? Message-ID: <52F37D93.6050804@manufacturaindependente.org> Hi everyone, I have a little itch with Mailman and would like to know the best way to scratch it for everyone. I've looked into the current bzr version and the templates are still very old HTML, using hard-coded styles and, in some places, incorrect markup and unclosed tags (I can dig some examples up if necessary.) I can't come up with a proper reason to keep using outdated HTML, but I'm happy to be corrected if there is a specific reason to keep it so. I've also found an attempt to bring the markup up to date in this bug report with an attached patch from 4 years ago; https://bugs.launchpad.net/mailman/+bug/398030 However, the patch is pretty large and incorporating it into the codebase would be non-trivial (plus it's certainly outdated), so I understand why it's been sitting there forgotten. I'd like to take up the task of reviewing the patch and create a branch where changes would be properly documented in commit logs, following the Mailman development guidelines, so that it could be easily merged into the main branch. I would only like to ask the Mailman devs if this would be a desirable goal, since it only makes sense for me to work on this if there's openness for this to be included in the main branch. I've searched for previous instances of this discussion, so please excuse me if I missed any existing efforts on this front, and would appreciate any kind of pointers with regards to updating HTML and including CSS in Mailman templates. Thank you! :r From flo.fuchs at gmail.com Thu Feb 6 19:11:05 2014 From: flo.fuchs at gmail.com (Florian Fuchs) Date: Thu, 06 Feb 2014 19:11:05 +0100 Subject: [Mailman-Developers] GSoC 2014 ideas list In-Reply-To: <52CE4FB9.3060500@zone12.com> References: <52CE4FB9.3060500@zone12.com> Message-ID: <52F3D039.9040701@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, some project suggestions for this year's GSoC: 1. A continuous integration tool for the Mailman suite. Mailman 3 is based on 4 different packages which are developed somewhat independently: The Mailman core, Postorius, Hyperkitty and mailman.client. It's not always guaranteed that these components still play nicely with each other after a new commit. It would be very useful to have some mechanism that runs a series of tests to make sure everything's not fundamentally breaking. This could be everything from a command line based tool to a full-fledged integration into something like Jenkins. 2. A responsive ui for Postorius In 2014 a web ui should be equally usable on a desktop computer as on a phone. Nowadays the CSS mechanisms needed to use the same HTML for different devices are pretty well supported across browsers. I'd love to be able to use Postorius (and Hyperkitty!) on my phone without constant zooming. 3. Various Python 3 ports The goal for the Mailman core is to support Python 3 in the near future, so Postorius/Hyperkitty/mailman.client might be ported as well (probably supporting both 2.6+ *and* 3.3+ in order to not frustrate folks who use additional Django apps that haven't been ported yet). Not sure if this should be one single GSoC project or one for each package... 4. Postorius: Improve the test suite Currently Postorius' test suite consists mostly of unit-tests, using nose as the test runner. The test coverage could definitely be improved. It might also be nice to add some doctests as a developer resource. This project could also feature some interface/navigation testing, using Selenium, casperJS or similar. In addition to these there are a number of project ideas that didn't get picked last year: http://wiki.list.org/display/DEV/Google+Summer+of+Code+2013#GoogleSummerofCode2013-ProjectIdeas My personal favourites: - - Migration Scripts from MM 2.1 to MM 3 - - Design interface "themes" for specific types of list - - Enhance List Style Capabilities - - Full anonymization (obfuscating sender addresses) - - No-logging mode - - Log monitor Any comments or (even better) more ideas? I am planning to complete the ideas page by the end of the week (probably over the weekend), so I can submit our GSoC application on Monday or Tuesday... Of course we can theoretically add more after the deadline, but since the ideas page is the most important ingredient of the application, it would be *a lot* better if we had all projects on it before Friday 14. Cheers Florian On 01/09/2014 08:28 AM, Terri Oda wrote: > I've had prospective Google Summer of Code students emailing me > since, uh, September or so... so I guess it's time to talk ideas! > > I've set up a wiki page, as usual: > > http://wiki.list.org/display/DEV/Google+Summer+of+Code+2014 > > But let's start with here: what small projects would you like to > see us sponsor this year? I think we'll need to be more selective > about the final list, but let's start with some brainstorming! > > > _______________________________________________ Mailman-Developers > mailing list Mailman-Developers at python.org > https://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: > https://mail.python.org/mailman/options/mailman-developers/flo.fuchs%40gmail.com > > > > Security Policy: http://wiki.list.org/x/QIA9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS89A5AAoJEEceGbPdavl7kYAIAJFnVk3GwHVOJ1/xEQQogGd7 ted1MsA4QoDPPcqEDASN0SxpsYFIFLPHpPA9J58783pQN0bQ85iQphd3GyE5Ihg9 LLlJgkrmSyS2u5dX70RSSfN2r56wZ81aqVygWVPZA+xoNOnxossJqe1aK5rPrxnH xIyKtIfsn80Yi876SCB81sAN2kYS7A6NXJ7kF+krpMRW+c5rkkrnLSRPcH0PMIhs P423f+Q0IVTM+8+vK2MYdmCOCWc01ZrvNGbIBl4Q9t0kBtQ/3hHfjYlpaiSq1x6n InTbkgiX0Sd6lq5at3GyK/Ud5WC58OnTQEXm2qjkPHNGJPqF31hYKc97CChIveY= =1amL -----END PGP SIGNATURE----- From duffy at redhat.com Thu Feb 6 19:22:43 2014 From: duffy at redhat.com (=?ISO-8859-1?Q?M=E1ir=EDn_Duffy?=) Date: Thu, 06 Feb 2014 13:22:43 -0500 Subject: [Mailman-Developers] GSoC 2014 ideas list In-Reply-To: <52CE4FB9.3060500@zone12.com> References: <52CE4FB9.3060500@zone12.com> Message-ID: <52F3D2F3.2070109@redhat.com> On 01/09/2014 02:28 AM, Terri Oda wrote: > I've had prospective Google Summer of Code students emailing me since, > uh, September or so... so I guess it's time to talk ideas! > > I've set up a wiki page, as usual: > > http://wiki.list.org/display/DEV/Google+Summer+of+Code+2014 > > But let's start with here: what small projects would you like to see us > sponsor this year? I think we'll need to be more selective about the > final list, but let's start with some brainstorming! Do you know if Summer of Code students can do interaction design / UX stuff? Because I'd be willing to mentor for that. ~m From mark at msapiro.net Thu Feb 6 19:59:19 2014 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 06 Feb 2014 10:59:19 -0800 Subject: [Mailman-Developers] Updating the template HTML and including CSS? In-Reply-To: <52F37D93.6050804@manufacturaindependente.org> References: <52F37D93.6050804@manufacturaindependente.org> Message-ID: <52F3DB87.30705@msapiro.net> On 02/06/2014 04:18 AM, Ricardo Lafuente wrote: > > I've also found an attempt to bring the markup up to date in this bug > report with an attached patch from 4 years ago; > > https://bugs.launchpad.net/mailman/+bug/398030 > > However, the patch is pretty large and incorporating it into the > codebase would be non-trivial (plus it's certainly outdated), so I > understand why it's been sitting there forgotten. > > I'd like to take up the task of reviewing the patch and create a branch > where changes would be properly documented in commit logs, following the > Mailman development guidelines, so that it could be easily merged into > the main branch. > > I would only like to ask the Mailman devs if this would be a desirable > goal, since it only makes sense for me to work on this if there's > openness for this to be included in the main branch. The main development focus for Mailman is Mailman 3/Postorius/Hyperkitty. Postorius is a totally new web UI for Mailman. Mailman 2.1 is at the end of its life cycle, although I continue to provide support, fix bugs and even implement new things. The main obstacles to merging the branch you propose is i18n considerations and impacts on existing users. I confess, I haven't really looked at the patch at , but if it can be implemented with full i18n support and transparently to existing users/lists, I would certainly consider merging it. However, keep in mind that anything that works to extend the life of Mailman 2.1 is contrary to our goal of getting everyone on Mailman 3 as soon as possible. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From flo.fuchs at gmail.com Thu Feb 6 20:04:49 2014 From: flo.fuchs at gmail.com (Florian Fuchs) Date: Thu, 06 Feb 2014 20:04:49 +0100 Subject: [Mailman-Developers] GSoC 2014 ideas list In-Reply-To: <52F3D2F3.2070109@redhat.com> References: <52CE4FB9.3060500@zone12.com> <52F3D2F3.2070109@redhat.com> Message-ID: <52F3DCD1.60708@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/06/2014 07:22 PM, M?ir?n Duffy wrote: > Do you know if Summer of Code students can do interaction design / > UX stuff? Because I'd be willing to mentor for that. Oh, that would be great! I'm not a 100% sure about the exact criteria. I vaguely remember a discussion on the GSoC mentors list about CSS which eventually turned into an argument about Turing completeness and what constitutes "real" programming. So I don't know if a pure design/CSS project would qualify. But I think any UX work on Postorius/Hyperkitty will involve at least a little bit of Django and/or JavaScript work. I'll scan the mentors list archives if I can find something - or ask that question again, just to be on the save side. Florian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS89zRAAoJEEceGbPdavl7vrAH/0rru3C6TtS5RP66h3onx6te v+9ODFthhH4X4igbElIaI5THa2p8W9d3ukabN9JtvUPhdSSCzWxCn4JsFNJhhqa7 nxQ36cTeR/QPXs49MBBMVTtQPXN7vAC11OgIgOLmkYRrI0hFOQnOOliXflYy7ho6 RSxzHPpsUw48ASYryODfWOSBE1F0yk+fc4p4fWoQZsvGnR56U3y7PV39FLJdWAvq vdXTqHzX/rzHJyd1njfLO36SFQ0p+rDQNHZXrQJ/Ul5r3le2m1yrxD65WIjn1HAb frFD4V8RI+CHAP+PSbpJ3E8hBi5/CUVUKqnoZD9ShZ948wpQEIxYRIzXKUImPcE= =auR2 -----END PGP SIGNATURE----- From nicolas at karageuzian.com Thu Feb 6 20:07:44 2014 From: nicolas at karageuzian.com (Nicolas Karageuzian) Date: Thu, 06 Feb 2014 20:07:44 +0100 Subject: [Mailman-Developers] GSoC 2014 ideas list In-Reply-To: <52F3D2F3.2070109@redhat.com> References: <52CE4FB9.3060500@zone12.com> <52F3D2F3.2070109@redhat.com> Message-ID: <52F3DD80.8020607@karageuzian.com> Le 06/02/14 19:22, M?ir?n Duffy a ?crit : > On 01/09/2014 02:28 AM, Terri Oda wrote: >> I've had prospective Google Summer of Code students emailing me since, >> uh, September or so... so I guess it's time to talk ideas! >> >> I've set up a wiki page, as usual: >> >> http://wiki.list.org/display/DEV/Google+Summer+of+Code+2014 >> >> But let's start with here: what small projects would you like to see us >> sponsor this year? I think we'll need to be more selective about the >> final list, but let's start with some brainstorming! > > Do you know if Summer of Code students can do interaction design / UX > stuff? Because I'd be willing to mentor for that. And what about this idea (already posted i think) about : - plug-in support for hyperkitty ( for plugs to other tools like redmine, etherpad, poll systems, and as an opening for semantic integration (index/search) ) > > ~m > _______________________________________________ > Mailman-Developers mailing list > Mailman-Developers at python.org > https://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: > https://mail.python.org/mailman/options/mailman-developers/nicolas%40karageuzian.com > > > Security Policy: http://wiki.list.org/x/QIA9 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 551 bytes Desc: OpenPGP digital signature URL: From barry at list.org Thu Feb 6 20:21:36 2014 From: barry at list.org (Barry Warsaw) Date: Thu, 6 Feb 2014 14:21:36 -0500 Subject: [Mailman-Developers] GSoC 2014 ideas list In-Reply-To: <52F3D039.9040701@gmail.com> References: <52CE4FB9.3060500@zone12.com> <52F3D039.9040701@gmail.com> Message-ID: <20140206142136.439b77b7@anarchist.wooz.org> On Feb 06, 2014, at 07:11 PM, Florian Fuchs wrote: >1. A continuous integration tool for the Mailman suite. Very much +1. I like the development model where we have a gatekeeper against merges to the trunk better than post-merge buildbot-style validations. That way, we know that only merges that pass the test suite will land on trunk, so it should always be releaseable. The downside to that is that the gatekeeper is usually one exact setup (e.g. a specific version of the OS, a specific choice for backend database, a specific Python version, etc.) buildbots/jenkins, etc. then augment that to make sure that we haven't regressed on supporting PostgreSQL, MySQL, PythonX.Y, etc. >2. A responsive ui for Postorius Very much +1. Another thought would be to support an app that you could install on Android or iOS (or Ubuntu Touch? :) to more directly control a Postorius server. >3. Various Python 3 ports Very much +1. More on this later. >4. Postorius: Improve the test suite +1 >- - Migration Scripts from MM 2.1 to MM 3 abompard has a merge proposal that I've been slowly working through here. >- - Design interface "themes" for specific types of list Styles, yes, this would be nice and very doable for GSoC. >- - Enhance List Style Capabilities >- - Full anonymization (obfuscating sender addresses) >- - No-logging mode >- - Log monitor > > >Any comments or (even better) more ideas? > > >I am planning to complete the ideas page by the end of the week >(probably over the weekend), so I can submit our GSoC application on >Monday or Tuesday... Of course we can theoretically add more after the >deadline, but since the ideas page is the most important ingredient of >the application, it would be *a lot* better if we had all projects on >it before Friday 14. Thanks for doing this Florian and to Terri for getting the ball rolling. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From stephen at xemacs.org Fri Feb 7 03:17:18 2014 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Fri, 07 Feb 2014 11:17:18 +0900 Subject: [Mailman-Developers] GSoC 2014 ideas list In-Reply-To: <52F3D2F3.2070109@redhat.com> References: <52CE4FB9.3060500@zone12.com> <52F3D2F3.2070109@redhat.com> Message-ID: <87ppmzmztd.fsf@uwakimon.sk.tsukuba.ac.jp> Hi, M?ir?n! Good to see you here! M?ir?n Duffy writes: > Do you know if Summer of Code students can do interaction design / UX > stuff? Because I'd be willing to mentor for that. I'm not sure what you mean by "design". Something like graphic design via CSS alone doesn't fly. It has to come with an implementation that is aimed to be of high enough quality to be integrated. If the project misses implementation quality by end of summer, nobody's going to complain if we pass the student based on reasonable effort and significant progress. But what Google is paying for is the time and effort spent on designing and writing code to implement processes, not the UX design. Eg, doing CSS work that makes a screen pretty and easy to hide uninteresting information and changes simple text fields to more structured widgets (eg for date input) is out. Writing JavaScript that sanity-checks user input is OK. If what you mean is the kind of stuff that is involved in Postorius and Shanu Salunke's "Mailman Interface" (a GSoC project for Systers last year), yes, that passes muster. From duffy at redhat.com Fri Feb 7 14:39:47 2014 From: duffy at redhat.com (=?UTF-8?B?TcOhaXLDrW4gRHVmZnk=?=) Date: Fri, 07 Feb 2014 08:39:47 -0500 Subject: [Mailman-Developers] GSoC 2014 ideas list In-Reply-To: <87ppmzmztd.fsf@uwakimon.sk.tsukuba.ac.jp> References: <52CE4FB9.3060500@zone12.com> <52F3D2F3.2070109@redhat.com> <87ppmzmztd.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <52F4E223.1070709@redhat.com> On 02/06/2014 09:17 PM, Stephen J. Turnbull wrote: > Hi, M?ir?n! Good to see you here! Thanks :) Long time lurker :) > I'm not sure what you mean by "design". Something like graphic design > via CSS alone doesn't fly. It has to come with an implementation that > is aimed to be of high enough quality to be integrated. By UX design I don't mean simply surface aesthetics, but designing the interactions and workflows for new features and cleaning up what's there, scoping out new features (e.g., right now Karen and I are working out whether or not users should be able to follow categories in Hyperkitty like they can follow tags, walking through what a user might want to do based on how mailing lists may be set up, and the mechanisms we could add to allow the feature.) So I was actually envisioning an internship similar to what my current Hyperkitty OPW program intern is doing some UX design work (as described above) but also creating static HTML pages of the new pages, modifying existing screens to mobile friendly / responsive by upgrading it to the latest Bootstrap and making it more Bootstrap-compliant (it was a little messy before she fixed it up.) So she is doing some CSS yeah, but also javascript and she's modifying stuff in django too for the Bootstrap upgrade. Testing how well it works across various mobile formats. In addition to creating UX mockups, etc. > If what you mean is the kind of stuff that is involved in Postorius > and Shanu Salunke's "Mailman Interface" (a GSoC project for Systers > last year), yes, that passes muster. While I've used Postorius and am familiar with it, I'm not familiar with Shanu's internship work. How do you think what I'm proposing above compares? ~m From flo.fuchs at gmail.com Fri Feb 7 21:03:39 2014 From: flo.fuchs at gmail.com (Florian Fuchs) Date: Fri, 07 Feb 2014 21:03:39 +0100 Subject: [Mailman-Developers] GSoC 2014 ideas list In-Reply-To: <20140206142136.439b77b7@anarchist.wooz.org> References: <52CE4FB9.3060500@zone12.com> <52F3D039.9040701@gmail.com> <20140206142136.439b77b7@anarchist.wooz.org> Message-ID: <52F53C1B.2060806@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/06/2014 08:21 PM, Barry Warsaw wrote: >> 2. A responsive ui for Postorius > > Very much +1. Another thought would be to support an app that you > could install on Android or iOS (or Ubuntu Touch? :) to more > directly control a Postorius server. Also a great idea! I think using Apache Cordova for that would be an interesting option. It's a native app container around a HTML/JS engine, so one can build native apps with HTML/CSS/JS. Supports Android, iOS and, yes, Ubuntu, plus a few others. I heard a lot of good things about it from a friend who has used it recently. We would need to get the public API working though... Cheers Florian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS9TwbAAoJEEceGbPdavl7hrUH/jOPOcLl5f0i/PtC+dmxA1E3 lHyYN8pEF5gSYZ4LQfTYIdjBy5yFxVT3kmhNSm8q9TcRB0yYXYsaDBam2GBcrJyU 5utrP5fqtKXDWRe7yZ2k4316tdG8x0ljTwRDeth1IFiEAIqEs1S9ph7xdReA/mry PVTo1VRjoSXGOryilxDR4RQ151xILooN+R0zw8KoAEcBhSU9oi7ZF8LBop7E1+1a 87/scF7qNTm+4H+0G2/2f5JO+/Cpi2iQvChN2Y6w0OHzhuF1270InN1yz308Qcmp 7TJpkvtQ4DGYV+7C0LbOT5IKKvlOtPvE7nmvPCeBeBdqCUAWEuROL6E2HYb3oSM= =+I6D -----END PGP SIGNATURE----- From stephen at xemacs.org Fri Feb 7 22:10:33 2014 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Sat, 08 Feb 2014 06:10:33 +0900 Subject: [Mailman-Developers] GSoC 2014 ideas list In-Reply-To: <52F4E223.1070709@redhat.com> References: <52CE4FB9.3060500@zone12.com> <52F3D2F3.2070109@redhat.com> <87ppmzmztd.fsf@uwakimon.sk.tsukuba.ac.jp> <52F4E223.1070709@redhat.com> Message-ID: <87bnyimxx2.fsf@uwakimon.sk.tsukuba.ac.jp> M?ir?n Duffy writes: > By UX design I don't mean simply surface aesthetics, but designing the > interactions and workflows for new features and cleaning up what's > there, scoping out new features (e.g., right now Karen and I are working > out whether or not users should be able to follow categories in > Hyperkitty like they can follow tags, walking through what a user might > want to do based on how mailing lists may be set up, and the mechanisms > we could add to allow the feature.) The implementation of "workflows" such as "following categories like tags" and "mechanisms" sounds good to me. "New features" are generally what Google is interested in sponsoring. > So she is doing some CSS yeah, but also javascript and she's modifying > stuff in django too for the Bootstrap upgrade. AIUI, the javascript and Django work sounds like it would be enough to qualify for the "Code" in "Google Summer of Code". > Testing how well it works across various mobile formats. Testing in the sense of running the program on different devices doesn't qualify, and ISTR discussion on the Google lists to the effect that even writing regression tests doesn't qualify by itself if they basically amount to scripts to mimic a human thumbing on an iPhone. :-) There's also a prejudice against declarative languages like HTML and CSS.[1] Google recognizes the value of CSS and regression tests, of course. There has been discussion of extending GSoC (eg, Google Code-In for high school students allows tasks defined by those activities, and documentation as well), or having a separate intern program for them. But GSoC is designed and funded for the purpose of supporting coding. So from the point of view of GSoC proposals, the students should be focusing on the Javascript and Python to be written to implement the features in Django. Overall it sounds to me like the project your student would propose is very similar in content to what Shanu did, and the main thing is to emphasize the Django/Python and Javascript coding, and make sure it looks like a summer's worth of work in the proposal. I would say at this point it's certainly worth writing up a preliminary design proposal to see if it's worth putting in the work to write up schedules and precise descriptions of deliverables. Also, note that I can't speak *for* the Google administrators. Footnotes: [1] I mention that because I find these distinctions somewhat specious, myself, but the language bias clearly exists among the Google administrators. From p at sys4.de Fri Feb 7 22:22:11 2014 From: p at sys4.de (Patrick Ben Koetter) Date: Fri, 7 Feb 2014 22:22:11 +0100 Subject: [Mailman-Developers] GSoC 2014 ideas list In-Reply-To: <52F53C1B.2060806@gmail.com> References: <52CE4FB9.3060500@zone12.com> <52F3D039.9040701@gmail.com> <20140206142136.439b77b7@anarchist.wooz.org> <52F53C1B.2060806@gmail.com> Message-ID: <20140207212211.GB4716@sys4.de> * Florian Fuchs : > > > On 02/06/2014 08:21 PM, Barry Warsaw wrote: > >> 2. A responsive ui for Postorius > > > > Very much +1. Another thought would be to support an app that you > > could install on Android or iOS (or Ubuntu Touch? :) to more > > directly control a Postorius server. > > Also a great idea! I think using Apache Cordova for that would be an > interesting option. It's a native app container around a HTML/JS > engine, so one can build native apps with HTML/CSS/JS. Supports > Android, iOS and, yes, Ubuntu, plus a few others. I heard a lot of > good things about it from a friend who has used it recently. Dunno, if this is there yet, but a command line client for admins that allows to create lists, configure them via list templates, backup configs etc. would be a nice thing to have. Personally I would also like to see SNMP support to monitor mailman in larger installations. p at rick -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstra?e 15, 81669 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein From nitinagarwal3006 at gmail.com Sat Feb 8 13:47:02 2014 From: nitinagarwal3006 at gmail.com (Nitin Agarwal) Date: Sat, 8 Feb 2014 17:47:02 +0500 Subject: [Mailman-Developers] Contribution to Mailman Project Ideas as part of Gsoc 2014 Message-ID: Hi, Here, its Nitin Agarwal, an open source software developer and enthusiast. I am currently pursuing Computer science and Engineering at International Institute of Information Technology INDIA. I am having experience working with the open source orgnisations and the open source software workflow development. My Programming languages that I used to code are GNU C/C++, Python, Javascript, many of the other web technologies, CMS and other tools. I would like to contribute to the Project Idea which uses python as the core language and ambitious to learn other technologies needed.I would to start off with this project early enough, pursue it though Gsoc 2014 and then contribute as an active member to the Mailman community. I would like to discuss the project idea with the associated mentors of this project and would start contributing to it. One can contact me on IRC : nitinagarwal3006 at Freenode *Nitin Agarwal* Website : www.nitinagarwal.in Github : *https://github.com/NitinAgarwal *IRC : nitinagarwal3006 https://en.wikipedia.org/wiki/User:Nitinagarwal3006 From mittal.pranjal at gmail.com Sat Feb 8 22:27:30 2014 From: mittal.pranjal at gmail.com (Pranjal Mittal) Date: Sun, 9 Feb 2014 02:57:30 +0530 Subject: [Mailman-Developers] [GSoC 2014] Interested in contributing to Mailman, Need guidance. Message-ID: Hi there, I am Pranjal; A final year student at Indian Institute of Technology, Varanasi, India.I am familiar with Python, Javascript, C/C++ and HTML/CSS. I have good experience working with Django/Python and have worked on many web applications from development to deployment. I really love contributing to open source and some of my open source contributions can be viewed on Github [1]. As I worked on one of my previous project for Google Cloud Developer Challenge 2013 caled Makemymails [2] (GCDC 2013 finalist), I developed a lot of interest in emails, SMTP, MTA's and Google APIs. I have always loved working on Django/Python and web technologies in general. I would love to get actively involved with the Mailman community, contribute code, discuss ideas and am happy to learn new things :) GSoC 2014 will be a really nice opportunity to build a plan, hack on a great new feature for Mailman and an opportunity for me to work in my area of interest. *I am looking for some guidance to get started and also a possible topic on which I could contribute effectively*. I spent a few days going through the docs of (Mailman 2.1) , and wikis for Mailman 3 and had some questions. I will write about them soon (separately). Looking forward to hear back and some guidance to get setup with the source code and required libraries. (I am using Linux - Ubuntu 12.04) Thanks :) Kind Regards, - Pranjal IRC (Freenode): *pmittal* [1] http://github.com/pramttl [2] gcdc2013-makemymails.appspot.com [3] http://www.google.com/events/gcdc2013/finalists.html [3] pranjalmittal.in -- Pranjal Mittal Indian Institute of Technology,BHU Varanasi, U.P, India From nitikaagarwal18 at gmail.com Sun Feb 9 17:30:34 2014 From: nitikaagarwal18 at gmail.com (Nitika) Date: Sun, 9 Feb 2014 21:30:34 +0500 Subject: [Mailman-Developers] Getting Introduced with the Community and Looking forward to Contribute to the Project as part of Gsoc 2014 Message-ID: Hi, Firstly I, Nitika would like to introduce myself to the developers of this commmunity. I am currently pursuing Computer Science and Engineering at Netaji Subhash Institute of Technology INDIA. I have been following the discussions on the mailing list for past few months. I had got an indepth knowledge of the tools used for the development of open source software. My skills include Programming languages: GNU C/C++, Python, Javascript, Version control systems Git/Github and SVN. I am also aware with many of the web development application tools and content management systems. I am an ambitous person willing to learn other technologies when need in future. I choose this organisation for the contribution as the work the community does looks very appealing and interesting to me and useful for the whole community. The skills used by the organisation for the development of open source software matches with my skills to much extent. I had installed the required necessary tools and setup the environment in my system needed for the contribution to open source software. I had got myself aware of the source to some extent and had forked on my github account. I had also read the contribution, development tutorial on the community webpage. I would like to seek the mentors help in the selection of the project for which the idea has been proposed for the Gsoc and someone is willing to mentor the project idea. I will highly appreciate with any kind of help, guidance from the mentors to help me move forward to contribute to the software starting off with some easy tasks and then moving levels higher so as to make a strong proposal for the upcoming Google Summer of Code 2014. [1] Github : https://github.com/NitikaAgarwal [2] IRC : nitika18 *--Nitika Agarwal* From flo.fuchs at gmail.com Sun Feb 9 22:13:07 2014 From: flo.fuchs at gmail.com (Florian Fuchs) Date: Sun, 09 Feb 2014 22:13:07 +0100 Subject: [Mailman-Developers] GSoC 2014 ideas list In-Reply-To: <20140207212211.GB4716@sys4.de> References: <52CE4FB9.3060500@zone12.com> <52F3D039.9040701@gmail.com> <20140206142136.439b77b7@anarchist.wooz.org> <52F53C1B.2060806@gmail.com> <20140207212211.GB4716@sys4.de> Message-ID: <52F7EF63.2020401@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/07/2014 10:22 PM, Patrick Ben Koetter wrote: > Dunno, if this is there yet, but a command line client for admins > that allows to create lists, configure them via list templates, > backup configs etc. would be a nice thing to have. +1! Maybe starting with a "local" version first (meaning: running on the same host as Mailman, with unrestricted REST API access -- I guess it might be enough work for one GSoC project to build a nice CL interface for the most important functionality). But with an option to add remote access with more advanced authentication/authorization at a later time. > Personally I would also like to see SNMP support to monitor mailman > in larger installations. I'm adding it to the ideas page. Would you like to provide a short description of what you have in mind, so I can add that too? Cheers Florian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS9+9jAAoJEEceGbPdavl7ACQIAKToWKOZpVu73XyGRgLKTD1b 892v/2xfli2HUUjU/Pb4JfGAZGen0GcPNtsjahy8THcRHy0RIJ+3RrrTrfCErZ9Y THkyu0uILaZLqOrr9TMvyUkmF0DQXZF0IdgzeYel/WZVL/EC5NHxFldHv4LnnNX8 25cMhxlOW8VJzrUoeP3qBhrwhXe4kMB9PUa8onxgWlvT47P1zNcCLeyb3LBPcphO 0P3iZOgT+nlVn1ZFFrqOT7d3+r2MFYRQz7ltMu3RSwwkXKC0Cq2nfIbtYYtPue2h az6JPfStGZChq/sQCa5Nqz4JwNc1XW+fo7Qx6YKEuHZxXP4HyGG/c5yI0MuLFwU= =83sc -----END PGP SIGNATURE----- From p at sys4.de Mon Feb 10 00:23:55 2014 From: p at sys4.de (Patrick Ben Koetter) Date: Mon, 10 Feb 2014 00:23:55 +0100 Subject: [Mailman-Developers] GSoC 2014 ideas list In-Reply-To: <52F7EF63.2020401@gmail.com> References: <52CE4FB9.3060500@zone12.com> <52F3D039.9040701@gmail.com> <20140206142136.439b77b7@anarchist.wooz.org> <52F53C1B.2060806@gmail.com> <20140207212211.GB4716@sys4.de> <52F7EF63.2020401@gmail.com> Message-ID: <20140209232355.GC12341@sys4.de> * Florian Fuchs : > > > On 02/07/2014 10:22 PM, Patrick Ben Koetter wrote: > > Dunno, if this is there yet, but a command line client for admins > > that allows to create lists, configure them via list templates, > > backup configs etc. would be a nice thing to have. > > +1! > > Maybe starting with a "local" version first (meaning: running on the > same host as Mailman, with unrestricted REST API access -- I guess it > might be enough work for one GSoC project to build a nice CL interface > for the most important functionality). But with an option to add > remote access with more advanced authentication/authorization at a > later time. ACK > > > Personally I would also like to see SNMP support to monitor mailman > > in larger installations. > > I'm adding it to the ideas page. Would you like to provide a short > description of what you have in mind, so I can add that too? Unfortunately I am short on time. Here's a brief description: The idea is to add SNMP capabilities to MM. The SNMP interface should follow the FCAPS model . What exactly that means for an MLM and MM in specific is something I'd expect the project to layout and implement (in parts). I would, for example, like to know how many mailing lists there are, how many people subscribed to each mailinglist, how many non-subscribed senders send to the mailinglist etc. pp. I can come up with a list of items to examine and count if this becomes a project. p at rick -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstra?e 15, 81669 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein From varun at sharmalabs.com Mon Feb 10 16:11:38 2014 From: varun at sharmalabs.com (Varun Sharma) Date: Mon, 10 Feb 2014 20:41:38 +0530 Subject: [Mailman-Developers] GSOC Idea : Continuous integration tool for the mailman suite and postorius improvements Message-ID: Hello everyone, I will be applying this year too for mailman and this time i'll be putting my best effort. I just went through gsoc ideas list posted by florian today and i am thinking of combining multiple projects listed on ideas page into a single project which i think i'll be able to complete within given timeframe. *Project : Continuous integration tool for the mailman suite and postorius improvements* *Continuous integration tool for mailman suite:* Everyone will agree on the fact that installing mailman 3 suite is little bit complex. We can we use buildbot's/jenkin's intergration and unit tests to make sure everything is working fine. I am not sure whether we should use buildbot or jenkins but i think as buildbot is written in python, so it will be easy to integrate. I really need suggestions and guidance from community on this. *Postorius improvements:* Postorius has improved a lot from what it was one year back but i think there are few improvements that can be done like: *Test Suite:* 1. Writing doctests and unit tests for all the postorius data flow. (I intend to complete all the unit tests and doctests for postorius simultaniously, so it will be easy to understand and extend) *UI:* 1. Option to convert mailman user to django user and vice-versa. (Right now new django users can only be created via persona, i think we should have an option to convert mailman users into django users and maybe give an option to sign up without persona) 2. Better user info display by adding UserProfile class. (Last year it was under community discussions whether to create an extra UserProfile class for users to save their extra info, i think this issue needs further discussions in community) 3. Adding ToDo functionality. (This is a little bit complex thing to implement but last year i had short discussions with barry and wacky about possible implementations in postorius and they told that something like this is available in core mailman) 4. Responsive css (Adding responsible css is important but won't take more than 1-2 days to implement) I will be posting my code updates on https://code.launchpad.net/~varun . I need guidance from community on the best approach and practice to implement my project. Thanks Varun From varun at sharmalabs.com Mon Feb 10 15:23:27 2014 From: varun at sharmalabs.com (Varun Sharma) Date: Mon, 10 Feb 2014 19:53:27 +0530 Subject: [Mailman-Developers] GSOC Idea : Continuous integration tool for the mailman suite and postorius improvements Message-ID: Hello everyone, I will be applying this year too for mailman and this time i'll be putting my best effort. I just went through gsoc ideas list posted by florian today and i am thinking of combining multiple projects listed on ideas page into a single project which i think i'll be able to complete within given timeframe. *Project : Continuous integration tool for the mailman suite and postorius improvements* *Continuous integration tool for mailman suite:* Everyone will agree on the fact that installing mailman 3 suite is little bit complex. We can we use buildbot's/jenkin's intergration and unit tests to make sure everything is working fine. I am not sure whether we should use buildbot or jenkins but i think as buildbot is written in python, so it will be easy to integrate. I really need suggestions and guidance from community on this. *Postorius improvements:* Postorius has improved a lot from what it was one year back but i think there are few improvements that can be done like: *Test Suite:* 1. Writing doctests and unit tests for all the postorius data flow. (I intend to complete all the unit tests and doctests for postorius simultaniously, so it will be easy to understand and extend) *UI:* 1. Option to convert mailman user to django user and vice-versa. (Right now new django users can only be created via persona, i think we should have an option to convert mailman users into django users and maybe give an option to sign up without persona) 2. Better user info display by adding UserProfile class. (Last year it was under community discussions whether to create an extra UserProfile class for users to save their extra info, i think this issue needs further discussions in community) 3. Adding ToDo functionality. (This is a little bit complex thing to implement but last year i had short discussions with barry and wacky about possible implementations in postorius and they told that something like this is available in core mailman) 4. Responsive css (Adding responsible css is important but won't take more than 1-2 days to implement) I will be posting my code updates on https://code.launchpad.net/~varun . I need guidance from community on the best approach and practice to implement my project. Thanks Varun From kshah215 at gmail.com Fri Feb 14 05:06:25 2014 From: kshah215 at gmail.com (Zeel Shah) Date: Fri, 14 Feb 2014 09:36:25 +0530 Subject: [Mailman-Developers] Fwd: Google Summer of Code 2014 FAQs In-Reply-To: References: Message-ID: Hi, I want to take part in GSOC 2014 under 'mailman' organization. When I went through organization's idea page( http://wiki.list.org/display/DEV/Google+Summer+of+Code+2014) for gsoc 2014, I liked following two projects. 1) Postorius Responsive UI 2) Android/iOS/Ubuntu Phone/Cordova app for Mailman administration I want to request any mentor out there please throw some light about these two projects. During installing mailman in my laptop as described in following link ( http://wiki.list.org/display/DEV/A+5+minute+guide+to+get+the+Mailman+web+UI+running) in the following step: (postorius)$ cd mailman (postorius)$ python setup.py install (postorius)$ bin/buildout (postorius)$ bin/test I am not able to go ahead from the third step. Which is as follows: $ bin/buildout bash: bin/buildout: No such file or directory Please guide me to install mailman so that this process will be easy for me. Regards, zeel On Thu, Feb 13, 2014 at 10:10 AM, Terri Oda wrote: > Off the top of my head, I don't recall any projects related to AST > specifically. (I'm cc'ing the org admin list in case my co-admin noticed > one while he was reviewing ideas pages today, though.) > > If you'd like to work with AST in particular, you should talk to the > developers who work on it about being involved in GSoC. There's still time > to gather together enough mentors to sponsor a project, but unless you've > got at least one, preferably two or three mentors on board, it's unlikely > to happen. > > The python projects that I do know are participating are all up on our > wiki page: > https://wiki.python.org/moin/SummerOfCode/2014 > > I expect that there won't be a complete list there until around March 1st. > From last year's experience, I can tell you that I will get an influx of > additional projects starting after the mentoring orgs are announced by > Google. > > In the meantime, that page contains suggestions on how to get started. > Good luck! > > Terri > > > > > On Tue, Feb 11, 2014 at 2:22 PM, Zeel Shah wrote: > >> Hi, >> I am Zeel from India and want to take part in GSOC 2014. Can you tell me >> is there any projects related to AST, compiler in python that I can >> contribute. Can you suggest python projects in these or other areas so that >> I can start preparing for Gsoc. >> >> Thanks in advance. >> >> Regards, >> >> -- >> *Zeel Shah* >> *Research Student* >> *Aspiring Minds Assessment Pvt Ltd.* >> *Gurgaon, IN* >> *+91-9724960102 <%2B91-9724960102>* >> *Blog : http://magnificientzps.blogspot.in/ >> * >> *E-Mail : kshah215 at gmail.com * >> >> > -- *Zeel Shah* *Research Student* *Aspiring Minds Assessment Pvt Ltd.* *Gurgaon, IN* *+91-9724960102* *Blog : http://magnificientzps.blogspot.in/ * *E-Mail : kshah215 at gmail.com * -- *Zeel Shah* *Research Student* *Aspiring Minds Assessment Pvt Ltd.* *Gurgaon, IN* *+91-9724960102* *Blog : http://magnificientzps.blogspot.in/ * *E-Mail : kshah215 at gmail.com * From stephen at xemacs.org Sat Feb 15 16:58:22 2014 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Sun, 16 Feb 2014 00:58:22 +0900 Subject: [Mailman-Developers] Fwd: Google Summer of Code 2014 FAQs In-Reply-To: References: Message-ID: <87txc0weox.fsf@uwakimon.sk.tsukuba.ac.jp> Zeel Shah writes: > I want to request any mentor out there please throw some light about these > two projects. We're still in the application process. You're probably not going to get a lot of love from mentors until after the 24th, when Google announces the accepted orgs, or perhaps later if we need to negotiate with an umbrella org such as the Python Software Foundation. So please be patient. Personally I can't give you a lot of encouragement. I'm interested in the core, and especially in authn/authz/signature/encryption issues, not so much Postorius. And I don't know anything about Android (or iOS for that matter) development. So I'm not a likely candidate to mentor those projects. > During installing mailman in my laptop as described in following link ( > http://wiki.list.org/display/DEV/A+5+minute+guide+to+get+the+Mailman+web+UI+running) > in the following step: > > (postorius)$ cd mailman > (postorius)$ python setup.py install > (postorius)$ bin/buildout > (postorius)$ bin/test > > I am not able to go ahead from the third step. Which is as follows: > $ bin/buildout > bash: bin/buildout: No such file or directory Didn't your university teach not to trust anything you read on the 'net? ;-) Mailman 3 (core) has transitioned away from buildout, and now uses setup.py only. Look for instructions in src/mailman/docs/START.rst. Good luck! From shubhamsomani92 at gmail.com Thu Feb 20 13:17:03 2014 From: shubhamsomani92 at gmail.com (Shubham Somani) Date: Thu, 20 Feb 2014 17:47:03 +0530 Subject: [Mailman-Developers] Continuous integration tool for the Mailman suite Message-ID: Hi, My Name is Shubham Somani. I am a final year student at Delhi College of Engineering. I am a successful Google Summer of Code 2013 student. I wish to participate in this year's Google Summer of Code with Mailman. Creating a continuous integration tool for the Mailman suite seemed like an interesting project to me and I have built Mailman's code with Vagrant and Chef. I would be very glad if some one could provide me pointers of what to do next to contribute to this project. Thanks! Shubham From dunhame at onid.orst.edu Thu Feb 20 17:48:29 2014 From: dunhame at onid.orst.edu (Emily Dunham) Date: Thu, 20 Feb 2014 08:48:29 -0800 Subject: [Mailman-Developers] Continuous integration tool for the Mailman suite In-Reply-To: References: Message-ID: Shubham, You're on the right track by getting into IRC and posting on the mailing list! On IRC, it helps to ask a specific question and then wait about 8 hours for a reply, since the developers are in a wide variety of different time zones. Congratulations on getting the Vagrant VM set up already! I've found that that process can be anywhere from easy to infuriating, depending on your host system's configuation. With that up and running, here's what I'd do next: 1) If you're not already familiar with the Bazaar and Launchpad development workflow, read up on it at http://wiki.list.org/display/DEV/MailmanOnLaunchpad and http://wiki.list.org/display/DEV/MailmanBranches to get familiar with the bzr workflow and make sure you're making your changes on the correct branch. 2) Look through the Mailman issue tracker at https://bugs.launchpad.net/mailman and find simple bugs that you can confirm and then write tests for. Communicate with the people who have submitted and worked on the bugs you're looking at, to make sure your tests capture them correctly. 3) Write those tests, while studying Python best practices for testing and the conventions of Mailman's existing tests. 4) Research the similarities and differences between various Continuous Integration tools and ask questions on the list and in IRC to determine how Mailman's testing needs correlate to the tools' strengths and weaknesses. Good luck, have fun, and come here or the IRC channel if you have any problems getting things set up! --Emily Dunham Also a prospective GSOC student, interested in CI and command-line tool projects On Thu, Feb 20, 2014 at 4:17 AM, Shubham Somani wrote: > Hi, > > My Name is Shubham Somani. I am a final year student at Delhi College of > Engineering. I am a successful Google Summer of Code 2013 student. > > I wish to participate in this year's Google Summer of Code with Mailman. > > Creating a continuous integration tool for the Mailman suite seemed like an > interesting project to me and I have built Mailman's code with Vagrant and > Chef. > > I would be very glad if some one could provide me pointers of what to do > next to contribute to this project. > > Thanks! > Shubham > _______________________________________________ > Mailman-Developers mailing list > Mailman-Developers at python.org > https://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: > https://mail.python.org/mailman/options/mailman-developers/dunhame%40onid.orst.edu > > Security Policy: http://wiki.list.org/x/QIA9 > From fmouse at fmp.com Thu Feb 20 19:07:53 2014 From: fmouse at fmp.com (Lindsay Haisley) Date: Thu, 20 Feb 2014 12:07:53 -0600 Subject: [Mailman-Developers] Kernel update breaks Mailman!! Message-ID: <1392919673.65474.31.camel@pudina.fmp.com> I'm running Mailman 2.1.15 on a Ubuntu server, feeding into Courier MTA, running Python 2.7.3. I track security updates and install them promptly when they're issued by Ubuntu. Yesterday I updated the Linux kernel from 3.2.0-58-generic (x86_64) to 3.2.0-59-generic and Mailman quit working. List posts made it through to the archives, and were apparently queued within Mailman, but wouldn't go out. The mail server was working OK for non-list email. Today I backed out the kernel update and posts to lists sent yesterday and today are going out without problems. I can find nothing in the Mailman logs, or in the mail server logs, indicating a problem. This is the first time I've ever had a problem with a server kernel update breaking something related to mail. Has anyone else seen this problem? Does anyone have any insight into how to address it? -- Lindsay Haisley | "Everything works if you let it" FMP Computer Services | 512-259-1190 | --- The Roadie http://www.fmp.com | From mark at msapiro.net Thu Feb 20 19:37:45 2014 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 20 Feb 2014 10:37:45 -0800 Subject: [Mailman-Developers] [Mailman-Users] Kernel update breaks Mailman!! In-Reply-To: <1392919673.65474.31.camel@pudina.fmp.com> References: <1392919673.65474.31.camel@pudina.fmp.com> Message-ID: <53064B79.4070604@msapiro.net> On 02/20/2014 10:07 AM, Lindsay Haisley wrote: > I'm running Mailman 2.1.15 on a Ubuntu server, feeding into Courier MTA, > running Python 2.7.3. I track security updates and install them > promptly when they're issued by Ubuntu. Yesterday I updated the Linux > kernel from 3.2.0-58-generic (x86_64) to 3.2.0-59-generic and Mailman > quit working. List posts made it through to the archives, and were > apparently queued within Mailman, but wouldn't go out. The mail server > was working OK for non-list email. Today I backed out the kernel update > and posts to lists sent yesterday and today are going out without > problems. What's in Mailman's 'post' and 'smtp' logs for these messages. Are they timestamped before or after you backed out the update. If before, they were queued in the MTA. If after, they were in Mailman's 'out' queue. If the latter, what's in Mailman's 'qrunner' log related to OutgoingRunner. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From barry at list.org Thu Feb 20 20:39:20 2014 From: barry at list.org (Barry Warsaw) Date: Thu, 20 Feb 2014 14:39:20 -0500 Subject: [Mailman-Developers] Kernel update breaks Mailman!! In-Reply-To: <1392919673.65474.31.camel@pudina.fmp.com> References: <1392919673.65474.31.camel@pudina.fmp.com> Message-ID: <20140220143920.04e14993@anarchist.wooz.org> On Feb 20, 2014, at 12:07 PM, Lindsay Haisley wrote: >I'm running Mailman 2.1.15 on a Ubuntu server, feeding into Courier MTA, >running Python 2.7.3. I track security updates and install them >promptly when they're issued by Ubuntu. Yesterday I updated the Linux >kernel from 3.2.0-58-generic (x86_64) to 3.2.0-59-generic and Mailman >quit working. List posts made it through to the archives, and were >apparently queued within Mailman, but wouldn't go out. The mail server >was working OK for non-list email. Today I backed out the kernel update >and posts to lists sent yesterday and today are going out without >problems. I'm really quite surprised about this. From the kernel version numbers, I'm guessing you're running Ubuntu 12.04 LTS? I have my personal Mailman server running on that OS, and just performed a kernel update. I'm about to reboot it into the new kernel, so I'll send a test message out and see if it works. Very odd that a kernel update alone would cause the problem. Can you send mail normally (i.e. outside of Mailman) and connect to your port 25? I guess the one difference between our setups is that I use Postfix. -Barry From fmouse at fmp.com Thu Feb 20 23:56:52 2014 From: fmouse at fmp.com (Lindsay Haisley) Date: Thu, 20 Feb 2014 16:56:52 -0600 Subject: [Mailman-Developers] Kernel update breaks Mailman!! In-Reply-To: <20140220143920.04e14993@anarchist.wooz.org> References: <1392919673.65474.31.camel@pudina.fmp.com> <20140220143920.04e14993@anarchist.wooz.org> Message-ID: <1392937012.65474.72.camel@pudina.fmp.com> On Thu, 2014-02-20 at 14:39 -0500, Barry Warsaw wrote: > I'm really quite surprised about this. From the kernel version numbers, I'm > guessing you're running Ubuntu 12.04 LTS? You are correct about the Ubuntu release on the box. My next step would be to reinstall the new kernel version and test this issue in a controlled way, but before I do so I'd like to have some diagnostic code or configs in place which will track and log the intimate details of the relationship between Mailman and the MTA. Any suggestions will be appreciated! I'm also going to post to the very active courier-users list and see if anyone else is having this or similar problems. -- Lindsay Haisley | "Everything works if you let it" FMP Computer Services | 512-259-1190 | --- The Roadie http://www.fmp.com | From barry at list.org Fri Feb 21 17:39:31 2014 From: barry at list.org (Barry Warsaw) Date: Fri, 21 Feb 2014 11:39:31 -0500 Subject: [Mailman-Developers] [Mailman-Users] MM 3 and OSCON 2014 In-Reply-To: <53077B9E.1080303@msapiro.net> References: <53077B9E.1080303@msapiro.net> Message-ID: <20140221113931.02477607@anarchist.wooz.org> On Feb 21, 2014, at 08:15 AM, Mark Sapiro wrote: >> 2. Is MM going to have a presence at O'reilly's OSCON 2014 in July? > >I don't plan to be there, but others may. There will be a number of us >at PyCon in April . I won't be at OSCON either. We'll be sprinting on Mailman 3.0 at Pycon. I want to emphasize two things at the sprint: working on Postorius and Hyperkitty, and porting MM3 to Python 3. But we can work on other things if you have an interest. AFAICT, the sprint page is not up yet though. Please come and join us! -Barry From barry at list.org Fri Feb 21 23:58:49 2014 From: barry at list.org (Barry Warsaw) Date: Fri, 21 Feb 2014 17:58:49 -0500 Subject: [Mailman-Developers] Continuous integration tool for the Mailman suite In-Reply-To: References: Message-ID: <20140221175849.58d9975f@anarchist.wooz.org> Welcome Shubham and Emily (and all prospective GSoC students). On Feb 20, 2014, at 08:48 AM, Emily Dunham wrote: >You're on the right track by getting into IRC and posting on the mailing >list! On IRC, it helps to ask a specific question and then wait about 8 >hours for a reply, since the developers are in a wide variety of different >time zones. You can always ping me or one of the other core developers in IRC. I'm usually around during US/Eastern normal working hours, but I don't always pay background attention to the channel. Cheers, -Barry From varun at sharmalabs.com Sat Feb 22 07:54:38 2014 From: varun at sharmalabs.com (Varun Sharma) Date: Sat, 22 Feb 2014 12:24:38 +0530 Subject: [Mailman-Developers] Gsoc idea discussions : Continuous integration tool Message-ID: Hi all, I am interested in continuous integration tool as my gsoc project and would like to discuss further it's possible implementations. I think one possible implementation for gatekeeper is : Making another django project mm_gatekeeper which every developer must run in order to commit to trunk. We can host its repo of on launchpad. It will act as a proxy to bzr and will perform bzr commit only after all the unit and doc tests succeeds. bzr pull can be implemented as $ mm_gatekeeper PROJECT_NAME pull or to pull all projects $ mm_gatekeeper pull Instead of using bzr commit in postorius we can use $ mm_gatekeepar PROJECT_NAME COMMAND $ mm_gatekeeper postorius commit -m"commit message" commit command will run all the tests first and then using python subprocess execute the bzr commit command. We can import all the unit tests from every project while implementing commit command and every test can be given a value so that we can check if total number of tests passed is equal to total tests written. It can be further expanded in django by saving commiter's history, adding automatic testing schedules, getting the branch info etc. From kasturisurya at gmail.com Sat Feb 22 11:56:00 2014 From: kasturisurya at gmail.com (Surya) Date: Sat, 22 Feb 2014 02:56:00 -0800 Subject: [Mailman-Developers] Newbie questions on mailman dev Message-ID: Hello there, I am Surya trying to get my hands dirty with Mailman, solve some bugs - The idea is to get familiar with codebase! For now, I thought to start with Postorius. I had successfully setup mailman development environment; Just have few newbie questions. I appreciate if someone can help me on them and possibly give a direction too! 1. I had created a test domain, test mailing list attached to it and few test users Now, I am trying to login as test users but its not happening. Is think there might be some email validation. On a development server, where can I hear those? Having said that, I had looked into the code and noticed the below 1. postorius.models.MailmanUser class inherits from a base class which does not belong inherit from AbstractBaseUser of django [Django isn't recognizing these objects as users] But the method postorius.views.user.user_login() expects django User objects to authenticate! I am a bit confused here. Is there any doc I can read to get little bit more understanding of codebase would also be great. Thanks Surya From rajeevs1992 at gmail.com Sat Feb 22 13:45:40 2014 From: rajeevs1992 at gmail.com (Rajeev S) Date: Sat, 22 Feb 2014 18:15:40 +0530 Subject: [Mailman-Developers] Implemented Mass Subscription via file upload Message-ID: Hi, I have implemented a mass subscription via file upload feature for Postorious which can be found here. https://code.launchpad.net/~rajeevs1992/mailman-rajeevs1992/trunk How am I to submit a merge request to the Postorious repository?I tried to propose a merge via the launchpad, but says the branch cannot be merged. What am I doing wrong? *Regards,Rajeev S* *Government Engineering College,Thrissur* *http://rajeevs.tk * From stephen at xemacs.org Sun Feb 23 01:20:00 2014 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Sun, 23 Feb 2014 09:20:00 +0900 Subject: [Mailman-Developers] Newbie questions on mailman dev In-Reply-To: References: Message-ID: <87ha7qvfwv.fsf@uwakimon.sk.tsukuba.ac.jp> Surya writes: > 1. I had created a test domain, test mailing list attached to it and few > test users. Now, I am trying to login as test users but its not > happening. Is think there might be some email validation. On a > development server, where can I hear those? With users created directly via mailman.client, there is no validation. That is a function of the front-end (Postorius), IIRC. The easiest thing to do is to create your first test user as a real account on the development server so that there are (almost :) no Internet mail issues to deal with. Then you can read mail on the same host. Your second test user can be on a free mail service or on another host you control. Having both will help you determine whether issues are due to Mailman itself or due to your MTA. When email is not being delivered, *always* report what MTA you are using. > Having said that, I had looked into the code and noticed the below > > 1. postorius.models.MailmanUser class inherits from a base class which does > not belong inherit from AbstractBaseUser of django [Django isn't > recognizing these objects as users] That's usually OK in Python. Python programs are expected to "duck type", meaning that the type of an object is determined by the available attributes and methods. Ensuring that the methods and attributes have appropriate semantics is the responsibility of the programmer. In Python, actual class inheritance is usually a convenience to avoid having to define most methods. However, typically a Mailman user object doesn't actually exist on the same host as Postorius! So a postorius.models.MailmanUser is actually an empty object which bundles a bunch of methods to extract the necessary information from a remote Mailman instance (I'm guessing, but Postorius has to be able to behave that way -- of course it could cache some information in a Django User, but that could cause problems too if the Django User were incompletely initialized). > But the method postorius.views.user.user_login() expects django User > objects to authenticate! Either the MailmanUser objects "duck type" as AbstractBaseUsers, or the necessary attributes are added elsewhere is my guess. > Is there any doc I can read to get little bit more understanding of > codebase would also be great. If there is, it would be in the src/postorius/doc/ directory. But there probably isn't. Ask here and on #mailman. And take notes :-) because when you commit them to doc/ later developers will love you forever! :-) :-) BTW, don't absolutely trust anything I say until experience proves it or Terri, Florian or Barry signs off on it. For statements about Python, Barry is the best (he's an acknowledged authority with an established title, FLUFL = Friendly Language Uncle for Life, in the Python pantheon). Terri and Florian are the authorities on Postorius itself. (I do try to mark less reliable statements with "IIRC" and the like, but I'm not perfect.) Steve From stephen at xemacs.org Sun Feb 23 01:22:21 2014 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Sun, 23 Feb 2014 09:22:21 +0900 Subject: [Mailman-Developers] Implemented Mass Subscription via file upload In-Reply-To: References: Message-ID: <87fvnavfsy.fsf@uwakimon.sk.tsukuba.ac.jp> Rajeev S writes: > I have implemented a mass subscription via file upload feature for > Postorious which can be found here. > > https://code.launchpad.net/~rajeevs1992/mailman-rajeevs1992/trunk > > How am I to submit a merge request to the Postorious repository?I tried to > propose a merge via the launchpad, but says the branch cannot be merged. Postorius is an entirely separate project as far as Launchpad is concerned. Your URL suggests you derived from mailman, in which case Postorius and Mailman share no ancestors and the merge has to fail. If that's not it, I'll try to check the actual code later. :-) Steve From mark at msapiro.net Sun Feb 23 02:03:28 2014 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 22 Feb 2014 17:03:28 -0800 Subject: [Mailman-Developers] Implemented Mass Subscription via file upload In-Reply-To: References: Message-ID: <530948E0.4020803@msapiro.net> Rajeev S wrote: > I have implemented a mass subscription via file upload feature for > Postorious which can be found here. > > https://code.launchpad.net/~rajeevs1992/mailman-rajeevs1992/trunk > > How am I to submit a merge request to the Postorious repository?I tried to > propose a merge via the launchpad, but says the branch cannot be merged. Did you propose the merge using the "Propose for merging" link on the above page? If you didn't see the link, were you logged in? On the merge proposal page did you specify the target branch as lp:postorius? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rajeevs1992 at gmail.com Sun Feb 23 04:11:40 2014 From: rajeevs1992 at gmail.com (Rajeev S) Date: Sun, 23 Feb 2014 08:41:40 +0530 Subject: [Mailman-Developers] Implemented Mass Subscription via file upload In-Reply-To: <87fvnavfsy.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87fvnavfsy.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: Hi Stephen, It was my mistake in *naming* my repository. The https://code.launchpad.net/~rajeevs1992/mailman-rajeevs1992/trunk points to a Postorious repository, which I had downloaded using bzr branch lp:postorius and has following properties push branch: http://bazaar.launchpad.net/~mailman-coders/postorius/trunk/parent branch: http://bazaar.launchpad.net/~mailman-coders/postorius/trunk/ *Regards,Rajeev S* *Government Engineering College,Thrissur* *http://rajeevs.tk * On Sun, Feb 23, 2014 at 5:52 AM, Stephen J. Turnbull wrote: > Rajeev S writes: > > > I have implemented a mass subscription via file upload feature for > > Postorious which can be found here. > > > > https://code.launchpad.net/~rajeevs1992/mailman-rajeevs1992/trunk > > > > How am I to submit a merge request to the Postorious repository?I tried > to > > propose a merge via the launchpad, but says the branch cannot be merged. > > Postorius is an entirely separate project as far as Launchpad is > concerned. Your URL suggests you derived from mailman, in which case > Postorius and Mailman share no ancestors and the merge has to fail. > > If that's not it, I'll try to check the actual code later. :-) > > Steve > From rajeevs1992 at gmail.com Sun Feb 23 10:46:55 2014 From: rajeevs1992 at gmail.com (Rajeev S) Date: Sun, 23 Feb 2014 15:16:55 +0530 Subject: [Mailman-Developers] Fwd: Implemented Mass Subscription via file upload In-Reply-To: References: Message-ID: First of all, there is no propose to merge link on my https://code.launchpad.net/~rajeevs1992/mailman-rajeevs1992/trunk page. home.png And this is what happens when I propose a merge. proposemerge.png *Regards,Rajeev S* *Government Engineering College,Thrissur* *http://rajeevs.tk * From mark at msapiro.net Sun Feb 23 15:25:03 2014 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 23 Feb 2014 06:25:03 -0800 Subject: [Mailman-Developers] Fwd: Implemented Mass Subscription via file upload In-Reply-To: References: Message-ID: <530A04BF.1070305@msapiro.net> On 02/23/2014 01:46 AM, Rajeev S wrote: > First of all, there is no propose to merge link on my > https://code.launchpad.net/~rajeevs1992/mailman-rajeevs1992/trunk page. > > home.png > > > And this is what happens when I propose a merge. > > proposemerge.png Sorry, this is beyond my knowledge of launchpad. I'm guessing you may first need to import your branch via , but I don't really know. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rajeevs1992 at gmail.com Sun Feb 23 16:01:28 2014 From: rajeevs1992 at gmail.com (Rajeev S) Date: Sun, 23 Feb 2014 20:31:28 +0530 Subject: [Mailman-Developers] Fwd: Implemented Mass Subscription via file upload In-Reply-To: <530A04BF.1070305@msapiro.net> References: <530A04BF.1070305@msapiro.net> Message-ID: Thanks.Did it anyway,I guess I was biased by the github pull request method, and that did not work with launchpad. Submitted the patch at https://code.launchpad.net/~rajeevs1992/postorius/postorius/+merge/207826 *Regards,Rajeev S* *Government Engineering College,Thrissur* *http://rajeevs.tk * On Sun, Feb 23, 2014 at 7:55 PM, Mark Sapiro wrote: > On 02/23/2014 01:46 AM, Rajeev S wrote: > > First of all, there is no propose to merge link on my > > https://code.launchpad.net/~rajeevs1992/mailman-rajeevs1992/trunk page. > > > > home.png< > https://docs.google.com/file/d/0B0oFc02F56UzZUVQQTNRNl9iNnM/edit?usp=drive_web > > > > > > > > And this is what happens when I propose a merge. > > > > proposemerge.png< > https://docs.google.com/file/d/0B0oFc02F56UzRkU2R0JkeklMbEk/edit?usp=drive_web > > > > > Sorry, this is beyond my knowledge of launchpad. I'm guessing you may > first need to import your branch via > , but I don't really > know. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > _______________________________________________ > Mailman-Developers mailing list > Mailman-Developers at python.org > https://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: > https://mail.python.org/mailman/options/mailman-developers/rajeevs1992%40gmail.com > > Security Policy: http://wiki.list.org/x/QIA9 > From flo.fuchs at gmail.com Mon Feb 24 10:31:43 2014 From: flo.fuchs at gmail.com (Florian Fuchs) Date: Mon, 24 Feb 2014 10:31:43 +0100 Subject: [Mailman-Developers] Implemented Mass Subscription via file upload In-Reply-To: References: Message-ID: <530B117F.7020300@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/22/2014 01:45 PM, Rajeev S wrote: > Hi, > > I have implemented a mass subscription via file upload feature for > Postorious which can be found here. Thank you very much! This is a very useful feature. > https://code.launchpad.net/~rajeevs1992/mailman-rajeevs1992/trunk > > How am I to submit a merge request to the Postorious repository?I > tried to propose a merge via the launchpad, but says the branch > cannot be merged. @Mark and Steve: Thanks for helping sorting that out. @Rajeev: Got the merge request. I haven't had the time to test it yet, but will add further comments on launchpad as soon as I have... Thanks again! Florian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTCxF/AAoJEEceGbPdavl7PhIH/1RIJRdsdWAVe/2vnBGbWTwK kO9rCNfD9oUb/BGQb3uzoc1RPJUnTq9DQ/yUtiJTAP5zI0NFdyTGcxsDt6raV87P tUL3nyMtwkDlncm6sFQyb2BYGvdSw6+n7U/YFJpnt67blBb36uUYT+ddFms0UQSF u7w6iwlMDxB10TcR7IwQaqr+nFCgXhEi73l/knBKpBjTeoODcMbDvq+SVvua4I+x SOtU34LTu3IQLHN8sLH/VZn16kRdrY+fkQhTtXv8lk6kjayVAetzwtmy2j5A6sAk KjYlQfgzMsuw0R3pnqW3z0Q9tcIxQh7ht3m8IkKAXq9rwzoFwG2CZndKh9Z4VDU= =/V/K -----END PGP SIGNATURE----- From flo.fuchs at gmail.com Mon Feb 24 21:54:26 2014 From: flo.fuchs at gmail.com (Florian Fuchs) Date: Mon, 24 Feb 2014 21:54:26 +0100 Subject: [Mailman-Developers] GSoC 2014 Message-ID: <530BB182.2030902@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, the not so good news first: We didn't get accepted as a mentoring organization for Google Summer of Code 2014. *But*: The good news: The Python Software Foundation was more successful (congrats to Terri!), so we'll be able to participate under their umbrella again. \o/ We are looking forward to seeing many great Mailman-related project proposals that we can mentor submitted to the PSF. So let's start discussing project ideas and let's have another great summer of code! Cheers Florian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTC7GCAAoJEEceGbPdavl7mccH/RaIrs7JhSp8I6fOQNF4dbps GFFD9vTGAo/cR+FMdoS0ryp+Rmr8Un328EabRdgcCmONz5JfBA1dQQGybucy7cfZ dn2LBAJUjR4fPAT9ETPXTIW8zeapna910QSsoiA1q10se850cr55NEPtqy4sdF96 x8dil/U43aYajJFuusmmJo/W7Kl2V3exEbi5vA2Vhzc5Joutfd9qJq/d140mmMXM 2fY1wm28m+oB59ja5e/pJjhG33X6Mma8ilYsr3ihdftyGoJzIYPsbydeuYoHxDD2 JBC+Gcx5OoLHKyojT1DybHnnAKuteNoaDO/DbpTTf54VN+RpTgh4KLE/hU8Qdmw= =XTdZ -----END PGP SIGNATURE----- From barry at list.org Mon Feb 24 22:12:06 2014 From: barry at list.org (Barry Warsaw) Date: Mon, 24 Feb 2014 16:12:06 -0500 Subject: [Mailman-Developers] GSoC 2014 In-Reply-To: <530BB182.2030902@gmail.com> References: <530BB182.2030902@gmail.com> Message-ID: <20140224161206.3f139c99@limelight.wooz.org> On Feb 24, 2014, at 09:54 PM, Florian Fuchs wrote: >The good news: The Python Software Foundation was more successful >(congrats to Terri!), so we'll be able to participate under their >umbrella again. \o/ Much thanks to Terri and all involved. Looking forward to some great GSoC students again this year. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From barry at list.org Mon Feb 24 23:59:23 2014 From: barry at list.org (Barry Warsaw) Date: Mon, 24 Feb 2014 17:59:23 -0500 Subject: [Mailman-Developers] GNU Mailman sprinting at Pycon 2014 Message-ID: <20140224175923.3c31e32d@limelight.wooz.org> Hello sprinters! Once again, the GNU Mailman project will be sprinting at Pycon, this time the 2014 conference in Montreal. I've created a placeholder page for adding ideas about what you would like to work on, as well as our priorities. We'll be filling out details over the next few weeks, but feel free to start discussing ideas here. http://wiki.list.org/display/DEV/PyCon+2014+Sprint Cheers, -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From stephen at xemacs.org Tue Feb 25 00:18:01 2014 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Tue, 25 Feb 2014 08:18:01 +0900 Subject: [Mailman-Developers] GSoC 2014 In-Reply-To: <20140224161206.3f139c99@limelight.wooz.org> References: <530BB182.2030902@gmail.com> <20140224161206.3f139c99@limelight.wooz.org> Message-ID: <871tysuml2.fsf@uwakimon.sk.tsukuba.ac.jp> Barry Warsaw writes: > On Feb 24, 2014, at 09:54 PM, Florian Fuchs wrote: > > >The good news: The Python Software Foundation was more successful > >(congrats to Terri!), so we'll be able to participate under their > >umbrella again. \o/ > > Much thanks to Terri and all involved. Looking forward to some great GSoC > students again this year. Yes, many thanks to Florian and Terri! @Florian, Terri: is there going to be a "why some orgs get in and some don't" session again this year? (Sorry, I've had no time at all to follow the process this year. :-( ) Steve From terri at toybox.ca Tue Feb 25 02:59:02 2014 From: terri at toybox.ca (Terri Oda) Date: Mon, 24 Feb 2014 17:59:02 -0800 Subject: [Mailman-Developers] GSoC 2014 In-Reply-To: <871tysuml2.fsf@uwakimon.sk.tsukuba.ac.jp> References: <530BB182.2030902@gmail.com> <20140224161206.3f139c99@limelight.wooz.org> <871tysuml2.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <530BF8E6.1080504@toybox.ca> On 2/24/2014, 3:18 PM, Stephen J. Turnbull wrote: > @Florian, Terri: is there going to be a "why some orgs get in and > some don't" session again this year? (Sorry, I've had no time at all > to follow the process this year. :-( ) Yes, it's on Friday 28 February at 16:00 UTC. As usual, it's an IRC meeting on #gsoc on freenode. Worth attending, although I expect the answer will be similar to last year: more good applicants than there are slots. Maybe next year! Terri From rajeevs1992 at gmail.com Tue Feb 25 03:17:24 2014 From: rajeevs1992 at gmail.com (Rajeev S) Date: Tue, 25 Feb 2014 07:47:24 +0530 Subject: [Mailman-Developers] [GSoC 2014] Command line Client Message-ID: Hi, I am Rajeev S , A CSE Undergrad from India. I would like to work with the Command Line client project listed in the GSoC ideas page. I have been working on the Postorious package lately and have managed to make some tweaks in it, like the add users by file upload and an improved email validator. As a part of the project, I would like to build,at the minimum, the functionalities listed at the mailmain.client/src/mailmanclient/docs/using.txt Can the mentor of this project elaborate upon the requirements of the project? Also I have thought of an approach for the full anonymization project.Is it possible that I can work on both of these as a single project?(I have a feeling that the CLI is a small project, am I right?) *Regards,Rajeev S* *Government Engineering College,Thrissur* *http://rajeevs.tk * From rajeevs1992 at gmail.com Tue Feb 25 03:48:11 2014 From: rajeevs1992 at gmail.com (Rajeev S) Date: Tue, 25 Feb 2014 08:18:11 +0530 Subject: [Mailman-Developers] [GSOC 2014]Approach towards the Full anonymization project Message-ID: Hi, As mentioned, here is my approach towards the full anonymization project. - Introduce a new model EmailMapper with attributes - ForeginKey to Address / User - seed, A 40 bit hash,unique - nuses, number of times this hash is used,max 5 or 10 - The approach is to encrypt the seed nuses times, with encryption algorithms like AES, each time the email ID is displayed. - The email ID is displayed as - The email is decrypted nuses times to find the parent seed and thereby point to the exact email address. - A new seed should be generated for the user after a fixed number of attempts,say 5 or 10,as the repeated encryption routines can slow down the system. The outcomes - Everytime the user sends a message,his from address changes. - At the same time, each of the from addresses point to the same user. - The sender can use any stored address he has,like in the mail contacts,repeatedly, to contact with a user,as it has nuses attached with it. If this approach seems viable or if I am missing something important,please let me know.If this is fine, I would build an app that can demonstrate this functionality, before building my application. *Regards,Rajeev S* *Government Engineering College,Thrissur* *http://rajeevs.tk * From nitinagarwal3006 at gmail.com Tue Feb 25 08:47:03 2014 From: nitinagarwal3006 at gmail.com (Nitin Agarwal) Date: Tue, 25 Feb 2014 12:47:03 +0500 Subject: [Mailman-Developers] Gsoc 2014 : Mailman SNMP support Message-ID: Hi, Here its Nitin Agarwal, an open source Software developer and enthusiast. I am looking forward to contribute to Mailman in the upcoming Google Summer of Code 2014 through the Mailman SNMP Support Project idea. I have an experience with the open source software development and tools used. I have an indepth knowledge of SNMP protocol and an understanding of the concepts specified in the SNMP RFC 1157. I would like to discuss the project idea with the concerned mentor for this Project idea. I would like to start off working and contributing to Mailman through this project idea. Could the mentors Please help me in the starting off with the initial steps and key ideas involved in this project. Thanks *Nitin Agarwal* [1] Github : https://github.com/NitinAgarwal [2] IRC : nitinagarwal3006 [3] https://en.wikipedia.org/wiki/User:Nitinagarwal3006 From rajeevs1992 at gmail.com Tue Feb 25 09:27:18 2014 From: rajeevs1992 at gmail.com (Rajeev S) Date: Tue, 25 Feb 2014 13:57:18 +0530 Subject: [Mailman-Developers] [GSOC 2014]Approach towards the Full anonymization project In-Reply-To: References: Message-ID: Hi, I have written and deployed an App that generates and decodes anonymous emails,as I had mentioned. Find the application here http://anongen.herokuapp.com/ Source here https://github.com/rajeevs1992/anongen *Regards,Rajeev S* *Government Engineering College,Thrissur* *http://rajeevs.tk * On Tue, Feb 25, 2014 at 8:18 AM, Rajeev S wrote: > Hi, > > As mentioned, here is my approach towards the full anonymization project. > > > - Introduce a new model EmailMapper with attributes > - ForeginKey to Address / User > - seed, A 40 bit hash,unique > - nuses, number of times this hash is used,max 5 or 10 > - The approach is to encrypt the seed nuses times, with encryption > algorithms like AES, each time the email ID is displayed. > - The email ID is displayed as > - The email is decrypted nuses times to find the parent seed and > thereby point to the exact email address. > - A new seed should be generated for the user after a fixed number of > attempts,say 5 or 10,as the repeated encryption routines can slow down the > system. > > The outcomes > > > - Everytime the user sends a message,his from address changes. > - At the same time, each of the from addresses point to the same user. > - The sender can use any stored address he has,like in the mail > contacts,repeatedly, to contact with a user,as it has nuses attached with > it. > > If this approach seems viable or if I am missing something > important,please let me know.If this is fine, I would build an app that can > demonstrate this functionality, before building my application. > > > *Regards,Rajeev S* > *Government Engineering College,Thrissur* > *http://rajeevs.tk * > From stephen at xemacs.org Wed Feb 26 06:45:53 2014 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Wed, 26 Feb 2014 14:45:53 +0900 Subject: [Mailman-Developers] [Mailman-Users] MM3 Test "" Hangs In-Reply-To: References: Message-ID: <87sir6toj2.fsf@uwakimon.sk.tsukuba.ac.jp> Tom Browder writes: We really appreciate your efforts to test the betas of Mailman 3. But please do be aware that although there are sites already successfully using Mailman 3 in production, the development team doesn't recommend use of any of the components (core, Postorius, HyperKitty) in production yet. > I have no idea what to do next, Nothing. :-) I've already Cc'd (and set Reply-To to) mailman-developers, which is a more appropriate place for this report. (Many Mailman-Users are not interested in MM3 yet, while Mailman-Developers are by definition, as MM2 is basically end-of-life. Also, some relevant developers may read mailman-developers more frequently than they read mailman-users.) Actually, I do have a couple of ideas. First, you should always report the whole error trace (if you think that's ugly in an email, attach it as a file). In this particular case, I suspect that the problem is in the test before the one that caused the Exception, which failed leaving the database locked. It would be very helpful to identify that test, which would probably be the *first* frame in the trace. Second, you should look in the server's logs to see if there were any errors that might have caused the incomplete transaction. > and help or ideas would be greatly appreciated. If you have no idea, then reporting to the developers is the best you can do. Use "Mailman Developers" or report via Launchpad. Pretty clearly what's happened is that some previous test locked the database (probably anything that accesses the database does so at least long enough to read the whole record), and either (1) that test failed to unlock the database, (2) the test framework failed to unlock the database, or (3) the tests were improperly sequenced in some way and the database didn't get unlocked. It's quite possible that this failure could never be replicated in actual use, as tests often mock up some component that would normally ensure that any pending transaction gets discarded and the database unlocked. Unfortunately I don't have an up-to-date test installation (it's on my list for early next week), and looking at the test file doesn't tell me anything. Perhaps Barry has an idea for a fix, or a workaround. And there's probably a way to skip that test, but I don't know nose very well. Steve Original report follows: > i have started investigating MM3 for my new, remote server and > branched from lp:mailman, lp:postorius, and lp:hyperkitty. > > I started in the MM3 branch directory and followed instructions in > src/mailman/docs/START.rst. > > I got the virtualenv ready to go and, in the local mailman branch > directory, I executed: > > $ node2 -v > > All tests chug along nicely until: > > /usr/local/src/0-mailman3/src/mailman/rest/docs/membership.rst ... > > and it hangs longer than I think it should. After a the last > few trace-back lines are: > > File "/home/virtualenvs/mm3/local/lib/python2.7/site-packages/storm-0.20-py2.7-linux-i686.egg/storm/database.py", > line 374, in raw_execute > self._run_execution(raw_cursor, args, params, statement) > File "/home/virtualenvs/mm3/local/lib/python2.7/site-packages/storm-0.20-py2.7-linux-i686.egg/storm/database.py", > line 388, in _run_execution > self._check_disconnect(raw_cursor.execute, *args) > File "/home/virtualenvs/mm3/local/lib/python2.7/site-packages/storm-0.20-py2.7-linux-i686.egg/storm/database.py", > line 454, in _check_disconnect > return function(*args, **kwargs) > sqlite3.OperationalError: database is locked > > Note I am running the MM3 installation, via ssh, on a remote host > running Debian 7, 32-bit. (Note also postfix is running.) From nicolas at karageuzian.com Wed Feb 26 09:13:46 2014 From: nicolas at karageuzian.com (Nicolas Karageuzian) Date: Wed, 26 Feb 2014 09:13:46 +0100 Subject: [Mailman-Developers] [Mailman-Users] MM3 Test "" Hangs In-Reply-To: <87sir6toj2.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87sir6toj2.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: I encountered db lock using sqlite with mailman3 and tools. Switching to postgres avoid the db locking states. Maybe you should explore that way. Hyperkitty moved to github so the lp ref is quite out of date for this resource. Hope that helps. Regards Le 26 f?vr. 2014 06:46, "Stephen J. Turnbull" a ?crit : > Tom Browder writes: > > We really appreciate your efforts to test the betas of Mailman 3. But > please do be aware that although there are sites already successfully > using Mailman 3 in production, the development team doesn't recommend > use of any of the components (core, Postorius, HyperKitty) in > production yet. > > > I have no idea what to do next, > > Nothing. :-) I've already Cc'd (and set Reply-To to) mailman-developers, > which is a more appropriate place for this report. (Many Mailman-Users > are not interested in MM3 yet, while Mailman-Developers are by > definition, as MM2 is basically end-of-life. Also, some relevant > developers may read mailman-developers more frequently than they read > mailman-users.) > > Actually, I do have a couple of ideas. First, you should always > report the whole error trace (if you think that's ugly in an email, > attach it as a file). In this particular case, I suspect that the > problem is in the test before the one that caused the Exception, which > failed leaving the database locked. It would be very helpful to > identify that test, which would probably be the *first* frame in the > trace. > > Second, you should look in the server's logs to see if there were any > errors that might have caused the incomplete transaction. > > > and help or ideas would be greatly appreciated. > > If you have no idea, then reporting to the developers is the best you > can do. Use "Mailman Developers" or > report via Launchpad. > > Pretty clearly what's happened is that some previous test locked the > database (probably anything that accesses the database does so at > least long enough to read the whole record), and either (1) that test > failed to unlock the database, (2) the test framework failed to unlock > the database, or (3) the tests were improperly sequenced in some way > and the database didn't get unlocked. It's quite possible that this > failure could never be replicated in actual use, as tests often mock > up some component that would normally ensure that any pending > transaction gets discarded and the database unlocked. > > Unfortunately I don't have an up-to-date test installation (it's on my > list for early next week), and looking at the test file doesn't tell > me anything. Perhaps Barry has an idea for a fix, or a workaround. > And there's probably a way to skip that test, but I don't know nose > very well. > > Steve > > Original report follows: > > > i have started investigating MM3 for my new, remote server and > > branched from lp:mailman, lp:postorius, and lp:hyperkitty. > > > > I started in the MM3 branch directory and followed instructions in > > src/mailman/docs/START.rst. > > > > I got the virtualenv ready to go and, in the local mailman branch > > directory, I executed: > > > > $ node2 -v > > > > All tests chug along nicely until: > > > > /usr/local/src/0-mailman3/src/mailman/rest/docs/membership.rst ... > > > > and it hangs longer than I think it should. After a the last > > few trace-back lines are: > > > > File > "/home/virtualenvs/mm3/local/lib/python2.7/site-packages/storm-0.20-py2.7-linux-i686.egg/storm/database.py", > > line 374, in raw_execute > > self._run_execution(raw_cursor, args, params, statement) > > File > "/home/virtualenvs/mm3/local/lib/python2.7/site-packages/storm-0.20-py2.7-linux-i686.egg/storm/database.py", > > line 388, in _run_execution > > self._check_disconnect(raw_cursor.execute, *args) > > File > "/home/virtualenvs/mm3/local/lib/python2.7/site-packages/storm-0.20-py2.7-linux-i686.egg/storm/database.py", > > line 454, in _check_disconnect > > return function(*args, **kwargs) > > sqlite3.OperationalError: database is locked > > > > Note I am running the MM3 installation, via ssh, on a remote host > > running Debian 7, 32-bit. (Note also postfix is running.) > _______________________________________________ > Mailman-Developers mailing list > Mailman-Developers at python.org > https://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: > https://mail.python.org/mailman/options/mailman-developers/nkarageuzian%40gmail.com > > Security Policy: http://wiki.list.org/x/QIA9 > From tom.browder at gmail.com Wed Feb 26 12:16:22 2014 From: tom.browder at gmail.com (Tom Browder) Date: Wed, 26 Feb 2014 06:16:22 -0500 Subject: [Mailman-Developers] [Mailman-Users] MM3 Test "" Hangs In-Reply-To: <87sir6toj2.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87sir6toj2.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: On Wed, Feb 26, 2014 at 12:45 AM, Stephen J. Turnbull wrote: > Tom Browder writes: ... > Actually, I do have a couple of ideas. First, you should always > report the whole error trace (if you think that's ugly in an email, ... Thanks, Steve, for the good advice. -Tom From tom.browder at gmail.com Wed Feb 26 12:18:16 2014 From: tom.browder at gmail.com (Tom Browder) Date: Wed, 26 Feb 2014 06:18:16 -0500 Subject: [Mailman-Developers] [Mailman-Users] MM3 Test "" Hangs In-Reply-To: References: <87sir6toj2.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: On Wed, Feb 26, 2014 at 3:13 AM, Nicolas Karageuzian wrote: > I encountered db lock using sqlite with mailman3 and tools. > Switching to postgres avoid the db locking states. > Maybe you should explore that way. I'll try that. > Hyperkitty moved to github so the lp ref is quite out of date for this > resource. I thought so--that't why I was asking for definitive, easy-to-find links on the wiki. Thanks, Nicolas. -Tom From tom.browder at gmail.com Wed Feb 26 13:21:07 2014 From: tom.browder at gmail.com (Tom Browder) Date: Wed, 26 Feb 2014 07:21:07 -0500 Subject: [Mailman-Developers] [Mailman-Users] MM3 Test "" Hangs In-Reply-To: References: <87sir6toj2.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: On Wed, Feb 26, 2014 at 6:16 AM, Tom Browder wrote: > On Wed, Feb 26, 2014 at 12:45 AM, Stephen J. Turnbull > wrote: >> Tom Browder writes: > ... >> Actually, I do have a couple of ideas. First, you should always >> report the whole error trace (if you think that's ugly in an email, The attached file contains results from running: $ time nose2 -v >& mm3-test.log I stopped the obviously-stalled process (with ) after 28 minutes. Best regards, -Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: mm3-test.log Type: text/x-log Size: 49612 bytes Desc: not available URL: From stephen at xemacs.org Wed Feb 26 15:23:15 2014 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Wed, 26 Feb 2014 23:23:15 +0900 Subject: [Mailman-Developers] MM3 Test "" Hangs In-Reply-To: References: <87sir6toj2.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <87fvn6t0ks.fsf@uwakimon.sk.tsukuba.ac.jp> Nicolas Karageuzian writes: > I encountered db lock using sqlite with mailman3 and tools. > Switching to postgres avoid the db locking states. > Maybe you should explore that way. > > Hyperkitty moved to github so the lp ref is quite out of date for this > resource. Thanks for the advice! From barry at list.org Wed Feb 26 15:50:23 2014 From: barry at list.org (Barry Warsaw) Date: Wed, 26 Feb 2014 09:50:23 -0500 Subject: [Mailman-Developers] [Mailman-Users] MM3 Test "" Hangs In-Reply-To: <87sir6toj2.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87sir6toj2.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <20140226095023.17d985b4@limelight.wooz.org> On Feb 26, 2014, at 02:45 PM, Stephen J. Turnbull wrote: > > I have no idea what to do next, This is clearly a bug, although I think it's relatively recent, so it might be worth seeing if earlier revisions avoid the problem. Yes, I can reproduce it. The interesting thing is that the test is in rest/docs/membership.rst so these are multiprocess related bugs. Typically when this happens (and it will only be with the default SQLite database, as observed by others), it's a bug in the test, not necessarily a bug in the core. Tests which involve multiple processes, as the REST tests do (i.e. the foreground testing process and a background runner process) have to be careful to release the database lock when they expect background processes to access the database. Releasing the lock means calling .commit() or .abort() at the appropriate time. The thing to keep in mind is that with Storm, even doing an operation that results in a database query opens a transaction and thus acquires the lock. In the context of membership.rst, what this probably means is that somewhere in the doctest there's a database query with a missing explicit .commit() or .abort() before the background REST runner process executes. Tracing through the doctest to find out exactly where it hangs usually helps isolate where the missing commit/abort should go. Of course, it's possible that there's a missing commit/abort in the core, but I rather doubt it, since that's pretty well tied into the REST runner's HTTP transaction machinery, and other REST tests don't exhibit the hang. Tom, if you're up for debugging it, that would be great. If not, no worries. The test suite hangs for me, so I'll find some time this weekend to take a look. -Barry From stephen at xemacs.org Wed Feb 26 17:23:12 2014 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Thu, 27 Feb 2014 01:23:12 +0900 Subject: [Mailman-Developers] [GSOC 2014]Approach towards the Full anonymization project In-Reply-To: References: Message-ID: <87eh2pu9lb.fsf@uwakimon.sk.tsukuba.ac.jp> Rajeev S writes: > As mentioned, here is my approach towards the full anonymization > project. AFAICS as far as described it will provide the outcomes you describe. However, I don't understand the use case here. Most approaches use a single secret ID for each user. This is not just a matter of convenience for the developer, but a requirement in some cases. That is, the list members, although anonymous "in the real world", build trust relationships with each other in the list environment. "Full anonymity" is in any case difficult to achieve, as word choice, topic choice, grammatical construction, time of writing, etc fall into patterns over time. Also, given your model of address-per-post, I'm again unclear on the use-case for off-list communication via the list server. Finally, there are a number of sets of details you don't mention here but need to be discussed in your plan (even if you don't propose to implement them now, you need to ensure that you don't make it difficult to implement them!) First, there's a question of how the proposed off-list messaging is going to be handled. Those pseudo- random addresses are going to need to be made valid addresses to the host's MTA. That's MTA-dependent, and also will likely have security implications. To be sure that people don't inadvertantly reveal their identities just by hitting "R" those messages should be anonymized as well, so that any such replies have to go through the server too. Of course it's going to be impossible to prevent people from exchanging email addresses in the body of the text, but in that case it's really not your problem any more. The second is cleaning up the rest of a post. The incoming trace headers typically identify the sender quite precisely. Quite likely you'll want to nuke everything that isn't required by the RFCs, in fact. You probably also should try to do something about .sigs, Message-ID (which is required), Date (also required, and which often gives timezone information) and other automatically added text. Third, what about authentication for incoming posts? Do you care if people spoof addresses? I'm not sure this has any meaning in the one-shot address environment you propose, but that again is going to depend on the use case. Fourth, you need to think about security for the encryption key and EmailMapper table, as well as any archives (you need to clean up archived posts before they go to the archive -- this is probably just a matter of where your Handler goes in the pipeline). > - Introduce a new model EmailMapper with attributes > - ForeginKey to Address / User > - seed, A 40 bit hash,unique > - nuses, number of times this hash is used,max 5 or 10 > - The approach is to encrypt the seed nuses times, with encryption > algorithms like AES, each time the email ID is displayed. > - The email ID is displayed as > - The email is decrypted nuses times to find the parent seed and > thereby point to the exact email address. > - A new seed should be generated for the user after a fixed > number of attempts,say 5 or 10,as the repeated encryption > routines can slow down the system. > > The outcomes > > - Everytime the user sends a message,his from address changes. > - At the same time, each of the from addresses point to the same user. > - The sender can use any stored address he has,like in the mail > contacts,repeatedly, to contact with a user,as it has nuses > attached with it. So you need to store the addresses forever. How big might these tables grow? Could that be a problem? Did you consider using the "seed" as a "salt" instead? Ie, regenerating the seed each time, adjoining it to the address, and encrypting the combination? That would allow you not store a database of addresses. Of course if the encryption were compromised, all the old posts could be identified, whereas in your scheme the EmailMapper table also needs to be compromised to get addresses. Regards, and good luck with your proposal! From mark at msapiro.net Wed Feb 26 23:39:00 2014 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 26 Feb 2014 14:39:00 -0800 Subject: [Mailman-Developers] MM3 Test "" Hangs In-Reply-To: <20140226095023.17d985b4@limelight.wooz.org> References: <20140226095023.17d985b4@limelight.wooz.org> Message-ID: <530E6D04.2010805@msapiro.net> Barry Warsaw wrote: > Tom, if you're up for debugging it, that would be great. If not, no worries. > The test suite hangs for me, so I'll find some time this weekend to take a > look. I am trying to get a bit caught up with MM 3, so I am trying to follow the instructions in src/mailman/docs/START.rst (I'm using the head of the lp:mailman branch). I set up a virtualenv in /var/py27 on Ubuntu 13.10 with Python 2.7.5+ and activated it and ran python setup.py develop in my branch directory. My first issue was I had zope.interface-4.0.5 in /usr/lib/python2.7/dist-packages/, and instead of ignoring that and installing zope.interface-4.1.0 in /var/py27/lib/python2.7/site-packages/, setup just complained that zope.interface wasn't new enough. I moved zope.interface-4.0.5 aside and reran setup and it was happy this time. I then ran nose2 -v &> test.log which encountered one error before hanging apparently with a locked sqlite3 database. My test.log is attached. It is somewhat different from Tom's in that it hung on a different test, and the actual sequence of tests is different, and I encountered an error in a test. I then tried to run python setup.py build_sphinx to build the docs, and this gives error: invalid command 'build_sphinx' -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -------------- next part -------------- A non-text attachment was scrubbed... Name: test.log Type: text/x-log Size: 54041 bytes Desc: not available URL: From mark at msapiro.net Thu Feb 27 01:57:38 2014 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 26 Feb 2014 16:57:38 -0800 Subject: [Mailman-Developers] MM3 Test "" Hangs In-Reply-To: <530E6D04.2010805@msapiro.net> References: <20140226095023.17d985b4@limelight.wooz.org> <530E6D04.2010805@msapiro.net> Message-ID: <530E8D82.7040901@msapiro.net> On 02/26/2014 02:39 PM, Mark Sapiro wrote: > > I then ran > > nose2 -v &> test.log > > which encountered one error before hanging apparently with a locked > sqlite3 database. My test.log is attached. It is somewhat different from > Tom's in that it hung on a different test, and the actual sequence of > tests is different, and I encountered an error in a test. The error (failed test) was due to the default encoding in this Python installation being UTF-8 rather than ascii. Changing sitecustomise.py to not set UTF-8 allowed the test to succeed. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From barry at list.org Thu Feb 27 03:40:27 2014 From: barry at list.org (Barry Warsaw) Date: Wed, 26 Feb 2014 21:40:27 -0500 Subject: [Mailman-Developers] MM3 Test "" Hangs In-Reply-To: <530E6D04.2010805@msapiro.net> References: <20140226095023.17d985b4@limelight.wooz.org> <530E6D04.2010805@msapiro.net> Message-ID: <20140226214027.4439b10b@anarchist.wooz.org> On Feb 26, 2014, at 02:39 PM, Mark Sapiro wrote: >which encountered one error before hanging apparently with a locked >sqlite3 database. This is my fault. I had a couple of revisions sitting in my local branch that I hadn't pushed to Launchpad. Please pull the latest trunk revision (r7234), recreate your virtualenv and try again. >python setup.py build_sphinx > >to build the docs, and this gives > >error: invalid command 'build_sphinx' Do you have the python-sphinx package installed? E.g. on Debian/Ubuntu: $ sudo apt-get install python-sphinx You'll also need to be sure that you created your virtualenv with --system-site-packages, otherwise your venv won't find Sphinx. (I checked that the START.rst file does mention --system-site-packages). That's not terrible though. Inside your venv you can always do $ pip install sphinx and get the command back. Cheers, -Barry From barry at list.org Thu Feb 27 03:42:41 2014 From: barry at list.org (Barry Warsaw) Date: Wed, 26 Feb 2014 21:42:41 -0500 Subject: [Mailman-Developers] MM3 Test "" Hangs In-Reply-To: <530E8D82.7040901@msapiro.net> References: <20140226095023.17d985b4@limelight.wooz.org> <530E6D04.2010805@msapiro.net> <530E8D82.7040901@msapiro.net> Message-ID: <20140226214241.7897f428@anarchist.wooz.org> On Feb 26, 2014, at 04:57 PM, Mark Sapiro wrote: >The error (failed test) was due to the default encoding in this Python >installation being UTF-8 rather than ascii. Changing sitecustomise.py to >not set UTF-8 allowed the test to succeed. Hmm. My locale is UTF-8 and I don't see this failure. Still, if you file a bug, we should double check that there's not an encoding dependency here. Cheers, -Barry From mark at msapiro.net Thu Feb 27 05:48:40 2014 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 26 Feb 2014 20:48:40 -0800 Subject: [Mailman-Developers] MM3 Test "" Hangs In-Reply-To: <20140226214027.4439b10b@anarchist.wooz.org> References: <20140226095023.17d985b4@limelight.wooz.org> <530E6D04.2010805@msapiro.net> <20140226214027.4439b10b@anarchist.wooz.org> Message-ID: <530EC3A8.7080902@msapiro.net> On 02/26/2014 06:40 PM, Barry Warsaw wrote: > On Feb 26, 2014, at 02:39 PM, Mark Sapiro wrote: > >> which encountered one error before hanging apparently with a locked >> sqlite3 database. > > This is my fault. I had a couple of revisions sitting in my local branch that > I hadn't pushed to Launchpad. Please pull the latest trunk revision (r7234), > recreate your virtualenv and try again. OK. After pulling the latest trunk, the tests no longer hang. >> python setup.py build_sphinx >> >> to build the docs, and this gives >> >> error: invalid command 'build_sphinx' > > Do you have the python-sphinx package installed? E.g. on Debian/Ubuntu: > > $ sudo apt-get install python-sphinx My fault here. I work on a couple of different machines with different versions of Ubuntu and different packages installed, and this one didn't have python-sphinx. Fixed now. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Feb 27 06:21:58 2014 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 26 Feb 2014 21:21:58 -0800 Subject: [Mailman-Developers] MM3 Test "" Hangs In-Reply-To: <20140226214241.7897f428@anarchist.wooz.org> References: <20140226095023.17d985b4@limelight.wooz.org> <530E6D04.2010805@msapiro.net> <530E8D82.7040901@msapiro.net> <20140226214241.7897f428@anarchist.wooz.org> Message-ID: <530ECB76.5030409@msapiro.net> On 02/26/2014 06:42 PM, Barry Warsaw wrote: > On Feb 26, 2014, at 04:57 PM, Mark Sapiro wrote: > >> The error (failed test) was due to the default encoding in this Python >> installation being UTF-8 rather than ascii. Changing sitecustomise.py to >> not set UTF-8 allowed the test to succeed. > > Hmm. My locale is UTF-8 and I don't see this failure. Still, if you file a > bug, we should double check that there's not an encoding dependency here. It's more than just locale. You have to run import sys sys.getdefaultencoding() and see what it returns. Normally, it returns 'ascii' even in systems whose locale is UTF-8. You have to put/or enable something in sitecustomize.py (On Ubuntu a symlink to /etc/python2.7/sitecustomize.py) to get it to use the locale. Anyway, when sys.getdefaultencoding() returns 'UTF-8', one of the tests in src/mailman/model/docs/registration.rst fails because it's expecting InvalidEmailAddressError: \xa0 at example.com and instead of \xa0, it gets the UTF-8 encoding of a no-break space. I've filed for this. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From barry at list.org Thu Feb 27 22:04:14 2014 From: barry at list.org (Barry Warsaw) Date: Thu, 27 Feb 2014 16:04:14 -0500 Subject: [Mailman-Developers] MM3 Test "" Hangs In-Reply-To: <530ECB76.5030409@msapiro.net> References: <20140226095023.17d985b4@limelight.wooz.org> <530E6D04.2010805@msapiro.net> <530E8D82.7040901@msapiro.net> <20140226214241.7897f428@anarchist.wooz.org> <530ECB76.5030409@msapiro.net> Message-ID: <20140227160414.3e6ed871@anarchist.wooz.org> On Feb 26, 2014, at 09:21 PM, Mark Sapiro wrote: >You have to put/or enable something in sitecustomize.py (On Ubuntu a symlink >to /etc/python2.7/sitecustomize.py) to get it to use the locale. Have you changed your sitecustomize.py file? You're right that sys.getdefaultencoding() gets initialized to 'ascii' everywhere for Python 2.7. The default site.py doesn't change that (even on Ubuntu), and then it deletes sys.setdefaultencoding, so it's not possible to change that after initialization. How are you getting sys.getdefaultencoding() to return 'UTF-8'? -Barry From mark at msapiro.net Fri Feb 28 00:56:47 2014 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 27 Feb 2014 15:56:47 -0800 Subject: [Mailman-Developers] MM3 Test "" Hangs In-Reply-To: <20140227160414.3e6ed871@anarchist.wooz.org> References: <20140226095023.17d985b4@limelight.wooz.org> <530E6D04.2010805@msapiro.net> <530E8D82.7040901@msapiro.net> <20140226214241.7897f428@anarchist.wooz.org> <530ECB76.5030409@msapiro.net> <20140227160414.3e6ed871@anarchist.wooz.org> Message-ID: <530FD0BF.7080705@msapiro.net> On 02/27/2014 01:04 PM, Barry Warsaw wrote: > On Feb 26, 2014, at 09:21 PM, Mark Sapiro wrote: > >> You have to put/or enable something in sitecustomize.py (On Ubuntu a symlink >> to /etc/python2.7/sitecustomize.py) to get it to use the locale. > > Have you changed your sitecustomize.py file? Yes, I think so. I no longer remember exactly, but this is what I have now: $ ll /usr/lib/python2.7/sitecustomize.py lrwxrwxrwx 1 root root 31 Sep 19 07:47 /usr/lib/python2.7/sitecustomize.py -> /etc/python2.7/sitecustomize.py $ cat /etc/python2.7/sitecustomize.py # Set default encoding for locale (see site.py) import sys import locale loc = locale.getdefaultlocale() if loc[1]: sys.setdefaultencoding(loc[1]) # install the apport exception handler if available try: import apport_python_hook except ImportError: pass else: apport_python_hook.install() I think I added the first part based on stuff in the setencoding() function in site.py > You're right that sys.getdefaultencoding() gets initialized to 'ascii' > everywhere for Python 2.7. The default site.py doesn't change that (even on > Ubuntu), and then it deletes sys.setdefaultencoding, so it's not possible to > change that after initialization. Right, so if you are going to setdefaultencoding(), you need to do it in site.py or sitecustomize.py. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From tejas.urwelcome at gmail.com Thu Feb 27 22:08:04 2014 From: tejas.urwelcome at gmail.com (Tejas Shah) Date: Fri, 28 Feb 2014 02:38:04 +0530 Subject: [Mailman-Developers] Installation of mailman on local machine Message-ID: Hi, I've been trying to setup mailman on my local machine for contribution .. I'm currently using instructions in the link below for setup: http://bazaar.launchpad.net/~mailman-coders/mailman/3.0/view/head:/src/mailman/docs/START.rst Till now, i've configured my bzr and launchpad settings.. branched a mailman repository using "bzr branch lp:mailman" I've setup python virtualenv and activated it. Then i ran "$ python setup.py develop" Till this, no errors occurred and everything was built successfully. However, starting the mailman server using "mailman start", when i try to test using "nose2 -v" , it gives me o/p: Ran 593 tests in 43.713s FAILED (failures=11, errors=72) I guess most of them are for HTTP Sockets.. I tried opening localhost:8001 and its giving "405 Method Not Allowed" error on the page Please suggest appropriate headers to solve this. Tejas Shah IRC nick: jash4 From raj.abhilash1 at gmail.com Fri Feb 28 04:22:26 2014 From: raj.abhilash1 at gmail.com (Abhilash Raj) Date: Fri, 28 Feb 2014 08:52:26 +0530 Subject: [Mailman-Developers] Installation of mailman on local machine In-Reply-To: References: Message-ID: Hi Tejas, On Fri, Feb 28, 2014 at 2:38 AM, Tejas Shah wrote: > Hi, > I've been trying to setup mailman on my local machine for contribution > .. I'm currently using instructions in the link below for setup: > > http://bazaar.launchpad.net/~mailman-coders/mailman/3.0/view/head:/src/mailman/docs/START.rst > > Till now, i've configured my bzr and launchpad settings.. branched a > mailman repository using "bzr branch lp:mailman" > I've setup python virtualenv and activated it. Then i ran "$ python > setup.py develop" > Till this, no errors occurred and everything was built successfully. > > However, starting the mailman server using "mailman start", when i try to > test using "nose2 -v" , it gives me o/p: > > Ran 593 tests in 43.713s > FAILED (failures=11, errors=72) > > I guess most of them are for HTTP Sockets.. I tried opening localhost:8001 > and its giving "405 Method Not Allowed" error on the page > > This address is for the mailman REST API to be used by the Postorius(and so you cannot open it in a web browser), the web interface for mm3. You can install it same way you did by cloning source[1] from launchpad and running `python setup.py develop`. You will also need postorius-standalone[2] to start the web interface. Both postorius and postorius-standalone are django apps. > Please suggest appropriate headers to solve this. > > > Tejas Shah > IRC nick: jash4 > _______________________________________________ > Mailman-Developers mailing list > Mailman-Developers at python.org > https://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: > https://mail.python.org/mailman/options/mailman-developers/raj.abhilash1%40gmail.com > > Security Policy: http://wiki.list.org/x/QIA9 > [1]: https://code.launchpad.net/~mailman-coders/postorius/trunk [2]: https://code.launchpad.net/~mailman-coders/postorius/postorius_standalone -- Abhilash Raj From mark at msapiro.net Fri Feb 28 05:01:39 2014 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 27 Feb 2014 20:01:39 -0800 Subject: [Mailman-Developers] Installation of mailman on local machine In-Reply-To: References: Message-ID: <53100A23.5090506@msapiro.net> On 02/27/2014 01:08 PM, Tejas Shah wrote: > > However, starting the mailman server using "mailman start", when i try to > test using "nose2 -v" , it gives me o/p: You don't have to start mailman before running tests, but it should be OK. > Ran 593 tests in 43.713s > FAILED (failures=11, errors=72) > > I guess most of them are for HTTP Sockets.. Perhaps if you reported the exact failures and errors we could say more. > I tried opening localhost:8001 > and its giving "405 Method Not Allowed" error on the page This is normal. The REST server doesn't accept a GET / > Please suggest appropriate headers to solve this. See src/mailman/rest/docs/basic.rst. Are the doctests here among the failures? Also see "mailman info" for the rest server base URL (probably something like ) and credentials. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From bgolla at g.clemson.edu Fri Feb 28 16:36:33 2014 From: bgolla at g.clemson.edu (Bhargav Golla) Date: Fri, 28 Feb 2014 10:36:33 -0500 Subject: [Mailman-Developers] [GSoC 2014] Cordova/Android App for GNU Mailman Admin Interface Message-ID: Hello all Congrats to Mailman on being selected as a mentor organization under PSF. I am Bhargav Golla, a graduate student in Computer Science at Clemson University, US. I am an avid mobile and web app developer. I worked on Phonegap apps during GSoC 2012 and GSoC 2013 with Apache Software Foundation and have developed many Windows Phone apps. The native android app I developed for Exotel (a startup in cloud telephony in India) is still being actively used by Exotel's clientele of over 1000 firms. My Github account[1] will provide much more details about my developer expertise. I am particularly interested in Cordova/Android app for Admin interface idea. I have a few questions regarding this idea. 1. I intend to develop it on Cordova since it will help in porting the app easily to multiple platforms. Were there any ideas in this directions regarding going native or hybrid? 2. Can I assume that all mailing lists built by Mailman support the REST interface? Also, I have tried to see if I can get JSON responses and I am unable to by adding a HTTP Accept Header to take "application/json". Am I doing anything wrong or is JSON not implemented? 3. As a starter, could I ignore internationalization for GSoC, but implement interface in such a way as to be able to internationalize it easily? I would be very much obliged if I am provided with answers to these questions and whatever questions that may arise in future as they will help me in writing a good proposal and in turn get chosen to work with Mailman. [1] http://github.com/bhargavgolla Regards -- Bhargav Golla M.S Computer Science Github | LinkedIN | Website