New uber exim transports/directors
I've modified Nigel's exim transports (hopefully in good). Please review and tell me if this is fit for a patch to Barry: (I'll also submit an exim 4 version if those are good)
The director now deals with VERP bounces and with lists that have -command in their name (like mailman-owner, which gets a mailman-owner-owner alias) The transport was improved to deal with local_part_suffix containing a VERP suffix
# Mailman commands to run mm21_transport: driver = pipe # In case you wonder, substr_2 removes the leading '-' # and the regex removes optional +foo=hostname that can be after -bounce # (if you use VERP) -- Marc command = MAILMAN_WRAP "${if def:local_part_suffix{${substr_2:{${sg{${lc:$local_part_suffix}}{\\\\\+.*}{}}}}{post}}" ${lc:$local_part} current_directory = MAILMAN_HOME home_directory = MAILMAN_HOME user = MAILMAN_UID group = MAILMAN_GID
# Directors magic to support mailman lists without explicit aliases # We want this director first in case we have a list named something like # mailman-owner -- Marc mm21_main_director: driver = smartuser require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.pck transport = mm21_transport
mm21_director: driver = smartuser require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.pck suffix = "-bounces:-bounces+*:-join:-leave:-owner:-request:-admin" transport = mm21_transport
Marc
Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key
"MM" == Marc MERLIN marc_news@vasoftware.com writes:
MM> I've modified Nigel's exim transports (hopefully in good).
MM> Please review and tell me if this is fit for a patch to Barry:
MM> (I'll also submit an exim 4 version if those are good)
MM> The director now deals with VERP bounces and with lists that
MM> have -command in their name (like mailman-owner, which gets a
MM> mailman-owner-owner alias) The transport was improved to deal
MM> with local_part_suffix containing a VERP suffix
Thanks Marc! We're in the process of upgrading the server on python.org and I'll give these new configs a shot when we're done with that.
-Barry
participants (2)
-
barry@zope.com
-
Marc MERLIN