[Mailman-Developers] qmail VERP patch changes
Andrew A. Raines
aaraines at pobox.com
Tue Oct 21 11:31:09 EDT 2003
I'm not sure if Colin still reads this list, but I had to make a
couple of changes to the qmail VERP DELIVERY_MODULE on
Sourceforge[1]. Namely, the default QVERP_FORMAT didn't make
sense, but a docstring addition seemed warranted as well. A
patch to Qmail.py is attached.
-Drew
Footnotes:
[1] https://sourceforge.net/tracker/?func=detail&atid=300103&aid=645513&group_id=103
-------------- next part --------------
--- /tmp/Qmail-bad.py 2003-10-21 10:00:40.000000000 -0500
+++ /tmp/Qmail.py 2003-10-21 10:20:34.000000000 -0500
@@ -25,6 +25,8 @@
Set QMAIL_CMD = '/var/qmail/bin/qmail-inject' and DO_QMAIL_VERP = 1 in
mm_cfg.py to enable this behaviour. You can also set QVERP_FORMAT to change
the format of the VERP header before it's passed to qmail for interpolation.
+You have to set QVERP_FORMAT to something; if you don't want to change the
+default VERP format, set it to None.
qmail-inject is unfortunatly more sensitive than Mailman about the format
of messages passed to it, and will sometimes refuse to deliver one. If
@@ -138,7 +140,7 @@
if mm_cfg.QVERP_FORMAT:
qverp_format = mm_cfg.QVERP_FORMAT
else:
- qverp_format = '%(bounces)s-%(listhost)s-@[]'
+ qverp_format = '%(bounces)s-@%(listhost)s-@[]'
bmailbox, bdomain = Utils.ParseEmail(envsender)
d = {'bounces' : bmailbox,
'listhost': DOT.join(bdomain),
More information about the Mailman-Developers
mailing list