[Pkg-mailman-hackers] Suggested modifications to README.Exim4.Debian to cater for loop address

Andrew Hodgson andrew at hodgsonfamily.org
Sun May 27 13:30:23 UTC 2012


Hi,

In the current form, the suggested configuration in the above file doesn't handle the mailman-loop address, as the wrapper script doesn't handle the loop address.  I have been using a router/transport pair for a few months now to cater for this.  For the record I don't use the Debian provided Mailman package, and still use the older instructions for integrating Mailman with Postfix found at http://www.exim.org/howto/mailman21.html.  However, I have a suggested router/transport pair that could go into the README file if required.  If you think that this isn't worth bothering with, or an alternative way is better, I would be interested to see this.

Thanks.
Andrew.

---------------------- BEGIN EXIM4 MAIN   ----------------------------
# Home dir for your Mailman installation -- aka Mailman's prefix
# directory.
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
MAILMAN_GROUP=daemon
----------------------  END EXIM4 MAIN    ----------------------------

---------------------- BEGIN EXIM4 ROUTER ----------------------------

# 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

---------------------- BEGIN EXIM4 TRANSPORT -------------------------
mailman_loop_transport:
  driver = appendfile
  file = MAILMAN_LOOP
  delivery_date_add
  envelope_to_add
  return_path_add
  user = MAILMAN_USER
  group = MAILMAN_GROUP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-mailman-hackers/attachments/20120527/f8ede350/attachment.html>


More information about the Pkg-mailman-hackers mailing list