freebsd-ports/mail/mailman/files/patch-Mailman__Defaults.py.in

45 lines
2.0 KiB
Python
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- 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 = '+='
#####