See http://non-gnu.uvt.nl/mailman-ssls/ for what this is all about. -------------------------------- About mailman-2.1.15-pgp-smime_2012-08-28.patch : Message-ID: <503C5A72.7010509@gmail.com> Date: Tue, 28 Aug 2012 00:43:14 -0500 From: Yanwen "Whig Wamm" To: Joost van Baal-Ilić Subject: Re: mailman-pgp-smime Re: Patch compatibility References: <50367B05.3070506@gmail.com> <20120823191228.GM21775@beskar.mdcc.cx> <5036919B.6060803@gmail.com> <20120823203320.GA5547@beskar.mdcc.cx> <20120826053157.GU21775@beskar.mdcc.cx> In-Reply-To: <20120826053157.GU21775@beskar.mdcc.cx> Ok, I fixed it by adding a check. - if msgdata['encrypted_gpg'] and mlist.encrypt_policy!=0: + if 'encrypted_gpg' in msgdata and msgdata['encrypted_gpg'] and mlist.encrypt_policy!=0: Also fixed a few bugs. Tested and encrypts ok. The modded patch is attached. On 8/26/2012 12:31 AM, Joost van Baal-Ilić wrote: > On Sat, Aug 25, 2012 at 07:47:49PM -0500, whig wamm wrote: >> It seems to run fine. But when subscribing or removing members from a list, >> there is no notification to the list admin or the member. The error >> generated is the following: >> >> Aug 25 08:00:03 2012 (18974) Uncaught runner exception: 'encrypted_gpg' >> Aug 25 08:00:03 2012 (18974) Traceback (most recent call last): >> File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 119, in _oneloop >> self._onefile(msg, msgdata) >> File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 190, in _onefile >> keepqueued = self._dispose(mlist, msg, msgdata) >> File "/usr/lib/mailman/Mailman/Queue/OutgoingRunner.py", line 74, in >> _dispose >> self._func(mlist, msg, msgdata) >> File "/usr/lib/mailman/Mailman/Handlers/SMTPDirect.py", line 157, in >> process >> deliveryfunc(mlist, msg, msgdata, envsender, refused, conn) >> File "/usr/lib/mailman/Mailman/Handlers/SMTPDirect.py", line 349, in >> verpdeliver >> if msgdata['encrypted_gpg'] and mlist.encrypt_policy!=0: >> KeyError: 'encrypted_gpg' >> >> Aug 25 08:00:03 2012 (18974) SHUNTING: >> 1345906802.062802+081b9562e79760362c2e5669aeed4450b6b138e2 -------------------------------- Date: Wed, 16 Jan 2008 00:39:40 +0100 From: Mike Gerber To: ssls-dev /a/ ulm.ccc.de Message-ID: <20080115233940.GA13244@nin.lan.rwsr-xr-x.de> Subject: [Ssls-dev] ssls for mailman 2.1.9 1. The patch for 2.1.7 applies fine on 2.1.9. Here's the patch, just a little repacked for 2.1.9: mailman-2.1.9-ssls_2008-01-10.patch.gz mailman-2.1.9-ssls_2008-01-10.patch.gz.asc ----------- mailman-2.1.6-ssls_gpg_2005-*-*.patch.gz is a patch against mailman-2.1.6.tgz and is based upon Stefan Schlott's http://medien.informatik.uni-ulm.de/~stefan/gpg-mailman.xhtml . ---------- (mailman-2.1.5-gpg_2005-02-22-ssls_2005-*.patch.gz is a patch against mailman-2.1.5, and includes mailman-2.1.5-gpg_2005-02-22.diff.gz from http://medien.informatik.uni-ulm.de/~stefan/gpg-mailman.xhtml as well as the SURFnet Secure List Server patch.) ---------- Status: beta software. See http://non-gnu.uvt.nl/mailman-ssls/ for more info. JvB, 2006-01-04, updated 2008-01-18 and 2012-08-28