X-Git-Url: https://git.deb.at/?p=debienna.git;a=blobdiff_plain;f=RerunMailman%2Findex.mdwn;h=ad9708a728bdf136346b14a950c923490d98ea13;hp=0c5309f64edc52c80169f76a7369f6a387a26a5e;hb=536efc2cec8de1159357d6e7203a52b907d03d28;hpb=bb58b440ee60e34e1c961060195598787087c131 diff --git a/RerunMailman/index.mdwn b/RerunMailman/index.mdwn index 0c5309f..ad9708a 100644 --- a/RerunMailman/index.mdwn +++ b/RerunMailman/index.mdwn @@ -1,83 +1,81 @@ -## Please edit system and help pages ONLY in the moinmaster wiki! For more -## information, please see MoinMaster:MoinPagesEditorGroup. -##master-page: -##master-date: -##acl MoinPagesEditorGroup:read,write,delete,revert All:read -#format wiki -#language de - - -== 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 ----- -CategoryTipsAndTricks CategoryCodeSnippets \ No newline at end of file + + +## Exim Konfiguration: + + +### Main + + +[[!format txt """ +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 + + +[[!format txt """ +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 + + +[[!format txt """ +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|RerunLefantNet]] + +--- + + [[CategoryTipsAndTricks|CategoryTipsAndTricks]] [[CategoryCodeSnippets|CategoryCodeSnippets]]