X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=Archive%2FRerunMailman%2Findex.mdwn;fp=Archive%2FRerunMailman%2Findex.mdwn;h=80ad3458d81eea5cb1a74452b06ff63d26aa1639;hb=730888d3909be35cdad7d089b4b8b045adadd5e1;hp=0000000000000000000000000000000000000000;hpb=002c2ec44e7cad8ac26f85657700e703b4d923b4;p=debienna.git diff --git a/Archive/RerunMailman/index.mdwn b/Archive/RerunMailman/index.mdwn new file mode 100644 index 0000000..80ad345 --- /dev/null +++ b/Archive/RerunMailman/index.mdwn @@ -0,0 +1,79 @@ + + +## 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]] + + [[!tag CategoryTipsAndTricks]] [[!tag CategoryCodeSnippets]]