[Pkg-mailman-hackers] Pkg-mailman commit - rev 722 - trunk/debian

Thijs Kinkhorst thijs at alioth.debian.org
Tue May 29 20:45:19 UTC 2012


Author: thijs
Date: 2012-05-29 20:45:19 +0000 (Tue, 29 May 2012)
New Revision: 722

Modified:
   trunk/debian/README.Exim4.Debian
Log:
Exim4 support for mailman-loop, as suggested by Andrew Hodgson.
As I'm no Exim user, by all means, feel free to update/change/improve.


Modified: trunk/debian/README.Exim4.Debian
===================================================================
--- trunk/debian/README.Exim4.Debian	2012-05-20 13:51:32 UTC (rev 721)
+++ trunk/debian/README.Exim4.Debian	2012-05-29 20:45:19 UTC (rev 722)
@@ -40,6 +40,10 @@
 MAILMAN_HOME=/var/lib/mailman
 MAILMAN_WRAP=MAILMAN_HOME/mail/mailman
 
+# Where to store messages sent to mailman-loop - used if the
+# mailman-owner address bounces.
+MAILMAN_LOOP=MAILMAN_HOME/data/owner-bounces.mbox
+
 # User and group for Mailman, should match your --with-mail-gid
 # switch to Mailman's configure script.
 MAILMAN_USER=list
@@ -83,6 +87,15 @@
                       -owner : -request : -admin : -loop
   transport = mailman_transport
   group = MAILMAN_GROUP
+
+# We need to handle the mailman-loop separately from the other addresses
+# since the loop action is not handled by the wrapper.
+mailman_loop_router:
+  debug_print = "R: mailman_loop for $local_part@$domain"
+  driver = accept
+  domains = +local_domains
+  local_parts = mailman-loop
+  transport = mailman_loop_transport
 ----------------------  END EXIM4 ROUTER  ----------------------------
 
 Put this in your exim4 transport configuration (if you use a split
@@ -102,6 +115,15 @@
   user = MAILMAN_USER
   group = MAILMAN_GROUP
   freeze_exec_fail = true
+
+mailman_loop_transport:
+  driver = appendfile
+  file = MAILMAN_LOOP
+  delivery_date_add
+  envelope_to_add
+  return_path_add
+  user = MAILMAN_USER
+  group = MAILMAN_GROUP
 ----------------------  END EXIM4 TRANSPORT  -------------------------
 
 You are done!




More information about the Pkg-mailman-hackers mailing list