aboutsummaryrefslogtreecommitdiff
path: root/japanese/mailman/files/patch-Mailman-Defaults.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/mailman/files/patch-Mailman-Defaults.py.in')
-rw-r--r--japanese/mailman/files/patch-Mailman-Defaults.py.in54
1 files changed, 54 insertions, 0 deletions
diff --git a/japanese/mailman/files/patch-Mailman-Defaults.py.in b/japanese/mailman/files/patch-Mailman-Defaults.py.in
new file mode 100644
index 000000000000..71816b12cc6b
--- /dev/null
+++ b/japanese/mailman/files/patch-Mailman-Defaults.py.in
@@ -0,0 +1,54 @@
+--- Mailman/Defaults.py.in.orig 2011-12-11 16:56:23.000000000 +0900
++++ Mailman/Defaults.py.in 2012-02-15 05:39:56.000000000 +0900
+@@ -62,7 +62,7 @@
+ # Banner images
+ DELIVERED_BY = 'mailman.jpg'
+ PYTHON_POWERED = 'PythonPowered.png'
+-GNU_HEAD = 'gnu-head-tiny.jpg'
++FREEBSD_POWERED = 'powerlogo.gif'
+
+ # Don't change MAILMAN_URL, unless you want to point it at one of the mirrors.
+ MAILMAN_URL = 'http://www.gnu.org/software/mailman/index.html'
+@@ -119,7 +119,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.
+-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
+@@ -460,8 +460,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().
+-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
+@@ -495,7 +495,7 @@
+
+ # 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'
+
+ # Set these variables if you need to authenticate to your NNTP server for
+ # Usenet posting or reading. If no authentication is necessary, specify None
+@@ -747,6 +747,13 @@
+ # 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 = '+='
++
+
+
+ #####