summaryrefslogtreecommitdiff
path: root/mail/mailman/files/patch-Mailman__Defaults.py.in
blob: e13fbbece5bc30ed47c6cd1a1d2276427bf718b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- Mailman/Defaults.py.in.orig	2018-02-04 17:04:39 UTC
+++ Mailman/Defaults.py.in
@@ -148,7 +148,7 @@ GLOBAL_BAN_LIST = []
 # 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.
-HTML_TO_PLAIN_TEXT_COMMAND = '/usr/bin/lynx -dump %(filename)s'
+HTML_TO_PLAIN_TEXT_COMMAND = '%%LOCALBASE%%/bin/lynx -dump %(filename)s'
 
 # A Python regular expression character class which defines the characters
 # allowed in list names.  Lists cannot be created with names containing any
@@ -538,8 +538,8 @@ VIRTUAL_MAILMAN_LOCAL_DOMAIN = None
 # 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().
-POSTFIX_ALIAS_CMD = '/usr/sbin/postalias'
-POSTFIX_MAP_CMD = '/usr/sbin/postmap'
+POSTFIX_ALIAS_CMD = '%%LOCALBASE%%/sbin/postalias'
+POSTFIX_MAP_CMD = '%%LOCALBASE%%/sbin/postmap'
 
 # 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
@@ -573,7 +573,7 @@ SMTPPORT = 0                            
 
 # Command for direct command pipe delivery to sendmail compatible program,
 # when DELIVERY_MODULE is 'Sendmail'.
-SENDMAIL_CMD = '/usr/lib/sendmail'
+SENDMAIL_CMD = '/usr/sbin/sendmail'
 
 # SMTP authentication for DELIVERY_MODULE = 'SMTPDirect'.  To enable SASL
 # authentication for SMTPDirect, set SMTP_AUTH = Yes and provide appropriate
@@ -851,6 +851,12 @@ VERP_CONFIRMATIONS = No
 # 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 = '+='
 
 
 #####