Re: [Mailman-Developers] GnuPG support - PGP - GPG encrypted mailing list

2014-06-16 Thread Sylvain Viart
Le 15/06/2014 11:18, Stephen J. Turnbull a écrit : > [distributing encrypted email to an unknown number subscribers…] > True, but this is out of scope for this list. Just to emphasis that the goal of keeping information private that way could be wrong, if done the wrong way. (For example, you may

Re: [Mailman-Developers] GnuPG support - PGP - GPG encrypted mailing list

2014-06-15 Thread Sylvain Viart
Le 14/06/2014 19:49, Stanisław Findeisen a écrit : > http://security.stackexchange.com/questions/26544/gpg-encrypted-mailing-list-and-other-approaches-to-safe-communication > > "2. Do a relay." > Yes, except we don't want to use the mailing list maintainer keys, or > make him manually decrypt/encry

Re: [Mailman-Developers] GnuPG support

2014-06-14 Thread Sylvain Viart
Hi, On 13/06/2014 09:33, Stanisław Findeisen wrote: > This thread is a continuation of this one: > https://mail.python.org/pipermail/mailman-developers/2011-May/021377.html . I found this page yesterday, as we were doing a key signing party… http://security.stackexchange.com/questions/26544/gpg-

[Mailman-Developers] syslog(debug) disable logging in production?

2014-05-15 Thread Sylvain Viart
Hi, I think that syslog() call don't pass through system syslog. I use Mailman/Logging/Syslog.py from Mailman.Logging.Syslog import syslog Is there a way to keep the code without disabling it? In the mailman/Mailman folder (2.1.15) debug tagged syslog calls are commented. Of course I can wri

Re: [Mailman-Developers] modifying payload using same encoding and Content-Transfer-Encoding

2014-05-15 Thread Sylvain Viart
Hi, Le 14/05/2014 02:45, Mark Sapiro a écrit : It works for me. The following withlist interaction based on a stripped down version of what you originally posted shows it works. Thanks a lot, it finally works as you said… I was pretty sure to have tested that code already, but I should have

Re: [Mailman-Developers] modifying payload using same encoding and Content-Transfer-Encoding

2014-05-13 Thread Sylvain Viart
Hi, Thanks for your reply. Unfortunately it doesn't work. I don't know why. I did read the doc many times, without the expected result. See and the implicit

[Mailman-Developers] modifying payload using same encoding and Content-Transfer-Encoding

2014-05-12 Thread Sylvain Viart
Hi, I don't manage to figure out how to keep the same Content-Transfer-Encoding, while rewriting the content? msg.set_payload() doesn't seems to trigger any encoding, base64 for example was set. not using decode=True, return a base64 bloc… I just want to write it back. I should be able to k

Re: [Mailman-Developers] Mailman-Suite demo server

2014-05-04 Thread Sylvain Viart
Hi, On 04/05/2014 09:12, Abhilash Raj wrote: I have setup a mailman-suite demo server here https://mailman.asynchronous.in/archives/ All are invited to poke around ;-) No registration form? Is it a default setup? Regards, Sylvain. ___ Mailman-Dev

Re: [Mailman-Developers] handler to auto detach attachment and link it to a website keeping html

2014-04-25 Thread Sylvain Viart
Le 24/04/2014 01:27, Mark Sapiro a écrit : 1) Open Mailman/Defaults.py 2) Copy the definition of GLOBAL_PIPELINE 3) paste it into a new file changing the name from GLOBAL_PIPELINE to mlist.pipeline and add your handler so it becomes […] Note that if I understand the purpose of your handler, it

Re: [Mailman-Developers] handler to auto detach attachment and link it to a website keeping html

2014-04-23 Thread Sylvain Viart
I'm a bit confused, but it works… Thanks. :-) Le 23/04/2014 15:30, Mark Sapiro a écrit : I need to set : mlist.ftp_remote_host = 'ftp.example.com' mlist.ftp_remote_login = 'somelogin' mlist.ftp_remote_pass = 'secretstuff' I can set site global vars in /etc/mailman/mm_cfg.py but how do I set l

Re: [Mailman-Developers] handler to auto detach attachment and link it to a website keeping html

2014-04-22 Thread Sylvain Viart
Hi, Thanks for your helpful answer. :-) Sorry it seems I don't have explained my needs correctly: On 04/22/2014 03:46 AM, Sylvain Viart wrote: List configuration question. I need to pass some configuration plugin to this handler. Like remote ftp parameters. I'm looking for a way

Re: [Mailman-Developers] handler to auto detach attachment and link it to a website keeping html

2014-04-22 Thread Sylvain Viart
Hi, Seems working… Great. Le 19/04/2014 20:24, Mark Sapiro a écrit : You don't have to do that. If xxx is the base64 encoded image data, all you need is clip = MIMEImage(xxx, 'png', _encoder=email.encoders.encode_noop) clip['Content-Transfer-Encoding'] = 'base64' Cool! The working

Re: [Mailman-Developers] handler to auto detach attachment and link it to a website keeping html

2014-04-19 Thread Sylvain Viart
Hi, Thanks Mark, exactly what I need to replace with the multipart/related in python! Le 18/04/2014 22:30, Mark Sapiro a écrit : This stuff clip = MIMEText(attach_clip) clip.add_header('Content-Disposition', 'inline') clip.a

Re: [Mailman-Developers] [Mailman-Users] handler to auto detach attachment and link it to a website keeping html

2014-04-18 Thread Sylvain Viart
Coding question. A bit of context: Goal is to develop a custom handler to perform: * detach all attachments * post detached content somewhere available on http * modify the content of the original email, keeping original html, adding an html link to the moved document * adding a small cl