From 8e046e4a7a2e051f60cbbcf9e84d09b0376f7df2 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Mon, 22 Oct 2007 21:26:49 +0000 Subject: Teach mailman how to utilize postfix's XVERP functionality, which drastically improves mail delivery performance when VERP is being used. In order to exploit the performance gain, one has to choose 'POSTFIX' in the OPTIONS menu, configure postfix with proper smtpd_authorized_verp_clients settings, then add: VERP_STYLE = 'Postfix' to the mm_cfg.py configuration. The Postfix style XVERP delivery is disabled by default. PR: ports/116847 Approved by: maintainer timeout --- mail/mailman/files/patch-Mailman::Defaults.py.in | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'mail/mailman/files/patch-Mailman::Defaults.py.in') diff --git a/mail/mailman/files/patch-Mailman::Defaults.py.in b/mail/mailman/files/patch-Mailman::Defaults.py.in index aef93e86a856..cf83b064af95 100644 --- a/mail/mailman/files/patch-Mailman::Defaults.py.in +++ b/mail/mailman/files/patch-Mailman::Defaults.py.in @@ -1,6 +1,6 @@ ---- Mailman/Defaults.py.in.orig Thu Dec 26 21:48:41 2002 -+++ Mailman/Defaults.py.in Mon Jan 20 14:07:05 2003 -@@ -97,7 +97,7 @@ +--- Mailman/Defaults.py.in.orig 2006-08-04 20:20:33.000000000 +0800 ++++ Mailman/Defaults.py.in 2007-10-03 08:09:00.678284951 +0800 +@@ -107,7 +107,7 @@ # Command that is used to convert text/html parts into plain text. This # should output results to standard output. %(filename)s will contain the # name of the temporary file that the program should operate on. @@ -9,7 +9,7 @@ -@@ -356,8 +356,8 @@ +@@ -392,8 +392,8 @@ # and virtual-mailman.db files, respectively, from the associated plain text # files. The file being updated will be appended to this string (with a # separating space), so it must be appropriate for os.system(). @@ -20,7 +20,7 @@ # Ceiling on the number of recipients that can be specified in a single SMTP # transaction. Set to 0 to submit the entire recipient list in one -@@ -391,7 +391,7 @@ +@@ -427,7 +427,7 @@ # Command for direct command pipe delivery to sendmail compatible program, # when DELIVERY_MODULE is 'Sendmail'. @@ -29,3 +29,16 @@ # Set these variables if you need to authenticate to your NNTP server for # Usenet posting or reading. If no authentication is necessary, specify None +@@ -661,6 +661,12 @@ + # debugging). + MAX_AUTORESPONSES_PER_DAY = 10 + ++# This FreeBSD port of Mailman can utilize Postfix SMTP server's VERP ability. ++# You may set VERP_STYLE = 'Postfix' to enable it. ++VERP_STYLE = 'Manual' ++ ++# When using Postfix style VERP you will need the following setting. ++POSTFIX_XVERP_OPTS = '+=' + + + ##### -- cgit v1.2.3