Exim Konfiguration:

Main

cat /etc/exim4/conf.d/main/04_exim4-config_mailman

  # Home dir for your Mailman installation -- aka Mailman's prefix
  # directory.
  # By default this is set to "/usr/local/mailman"
  # On a Red Hat/Fedora system using the RPM use "/var/mailman"
  # On Debian using the deb package use "/var/lib/mailman"
  # This is normally the same as ~mailman
  MM_HOME=/var/lib/mailman
  #
  # User and group for Mailman, should match your --with-mail-gid
  # switch to Mailman's configure script.
  # Value is normally "mailman"
  MM_UID=list
  MM_GID=list
  #
  # Domains that your lists are in - colon separated list
  # you may wish to add these into local_domains as well
  domainlist mm_domains=rerun.lefant.net:debienna.at:dsearch;/etc/exim4/virtual
  #
  # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  #
  # These values are derived from the ones above and should not need
  # editing unless you have munged your mailman installation
  #
  # The path of the Mailman mail wrapper script
  MM_WRAP=MM_HOME/mail/mailman
  #
  # The path of the list config file (used as a required file when
  # verifying list addresses)
  MM_LISTCHK=MM_HOME/lists/${lc::$local_part}/config.pck

Router

cat /etc/exim4/conf.d/router/185_exim4-config_mailman
# This router handles mailman
#
  mailman_router:
    driver = accept
    domains = +mm_domains
    require_files = MM_LISTCHK
    local_part_suffix_optional
    local_part_suffix = -admin : -bounces : -bounces+* : -confirm : -confirm+* : -join : -leave : -owner : -request : -subscribe : -unsubscribe
    transport = mailman_transport

Transport

cat /etc/exim4/conf.d/transport/35_exim4-config_mailman
  mailman_transport:
    driver = pipe
    command = MM_WRAP \
              '${if def:local_part_suffix \
                    {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}} } \
                    {post}}' \
              $local_part
    current_directory = MM_HOME
    home_directory = MM_HOME
    user = MM_UID
    group = MM_GID
  • siehe auch: RerunLefantNet