pkgsrc/mail/mailman/patches/patch-ad
xtraeme ba66919f95 Update to 2.1.3 from pkgsrc-wip via Todd Vierling. This also closes
PR pkg/22820.

Changes:

      - Closed a cross-site scripting exploit in the create cgi script.

      - Improvements in the performance of the bounce processor.
        Now, instead of processing each bounce immediately (which
        can cause severe lock contention), bounce events are queued.
        Every 15 minutes by default, the queued bounce events are
        processed en masse, on a list-per-list basis, so that each
        list only needs to be locked once.

      - When some or all of a message's recipients have temporary
        delivery failures, the message is moved to a "retry" queue.
        This queue wakes up occasionally and moves the file back to
        the outgoing queue for attempted redelivery.  This should
        fix most observed OutgoingRunner 100% cpu consumption,
        especially for bounces to local recipients when using the
        Postfix MTA.

      - Optional support for fsync()'ing qfile data after writing.
        Under some catastrophic system failures (e.g. power lose),
        it would be possible to lose messages because the data
        wasn't sync'd to disk.  By setting SYNC_AFTER_WRITE to True
        in Mailman/Queue/Switchboard.py, you can force Mailman to
        fsync() queue files after flushing them.  The benefits are
        debatable for most operating environments, and you must
        ensure that your Python has the os.fsync() function defined
        before enabling this feature (it isn't, even on all
        Unix-like operating systems).

And more... please review Changelog to see a complete list of changes.
2003-12-23 11:02:13 +00:00

16 lines
599 B
Text

$NetBSD: patch-ad,v 1.2 2003/12/23 11:02:13 xtraeme Exp $
--- Mailman/mm_cfg.py.dist.in.orig Mon Sep 15 15:20:02 2003
+++ Mailman/mm_cfg.py.dist.in
@@ -42,3 +42,11 @@ from Defaults import *
##################################################
# Put YOUR site-specific settings below this line.
+
+# IMPORTANT: Edit the following two definitions to provide the domain
+# name of your mail lists, and host name of the Web server.
+# (Leave the add_virtualhost line alone.)
+#
+DEFAULT_EMAIL_HOST = '@MAILHOST@'
+DEFAULT_URL_HOST = '@URLHOST@'
+add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)