X-Git-Url: https://git.exim.org/exim-website.git/blobdiff_plain/42374802741ffa099878c0e08def32ce6078f147..11ba9b42e16838de4e766674acfcf50b2bb13519:/howto/mailman21.html diff --git a/howto/mailman21.html b/howto/mailman21.html index a430d5a..8e8ecac 100644 --- a/howto/mailman21.html +++ b/howto/mailman21.html @@ -38,12 +38,12 @@
  • SMTP callback
  • Doing VERP and personalisation with exim - and Mailman
  • + and Mailman
  • Virtual domains
  • List policy management
  • @@ -217,11 +217,11 @@ require_files = MM_LISTCHK local_part_suffix_optional local_part_suffix = -admin : \ - -bounces : -bounces+* : \ + -bounces : -bounces+* : \ -confirm : -confirm+* : \ - -join : -leave : \ - -owner : -request : \ - -subscribe : -unsubscribe + -join : -leave : \ + -owner : -request : \ + -subscribe : -unsubscribe transport = mailman_transport @@ -460,14 +460,15 @@ mailman_verp_router: driver = dnslookup # we only consider messages sent in through loopback - condition = ${if eq{$sender_host_address}{127.0.0.1}{yes}{no}} + condition = ${if or{{eq{$sender_host_address}{127.0.0.1}} + {eq{$sender_host_address}{::1}}}{yes}{no}} # we do not do this for traffic going to the local machine domains = !+local_domains:!+mm_domains ignore_target_hosts = <; 0.0.0.0; \ + 64.94.110.11; \ 127.0.0.0/8; \ - ::1/128; \ - fe80::/10; \ - ff00::/8 + ::1/128;fe80::/10;fe \ + c0::/10;ff00::/8 # only the un-VERPed bounce addresses are handled senders = "*-bounces@*" transport = mailman_verp_smtp @@ -486,13 +487,12 @@ driver = smtp # put recipient address into return_path return_path = \ - ${local_part:$return_path}+$original_local_part=$original_domain@${domain:$return_path} + ${local_part:$return_path}+$local_part=$domain@${domain:$return_path} # must restrict to one recipient at a time max_rcpt = 1 # Errors-To: may carry old return_path headers_remove = Errors-To - headers_add = Errors-To: \ - ${local_part:$return_path}+$original_local_part=$original_domain@${domain:$return_path} + headers_add = Errors-To: ${return_path}

    Once this has been configured, Mailman can be set to not do @@ -603,7 +603,7 @@

       # Reject bounce (null sender) messages to the list
    -  reject   message = "Recipient never sends mail so cannot cause bounces"
    +  deny     message = "Recipient never sends mail so cannot cause bounces"
                senders = :
                domains = +mm_domains
                condition = ${if exists{MM_LISTCHK} {yes}{no}}
    @@ -616,11 +616,11 @@
     
     
       # Reject bounce (null sender) messages to the list
    -  reject   message = "Recipient never sends mail so cannot cause bounces"
    +  deny     message = "Recipient never sends mail so cannot cause bounces"
                senders = :
                domains = +mm_domains
                local_parts = \N^.*-(admin|join|leave|owner|request)$\N
    -  reject   message = "Recipient never sends mail so cannot cause bounces"
    +  deny     message = "Recipient never sends mail so cannot cause bounces"
                senders = :
                domains = +mm_domains
                local_parts = \N^.*-(subscribe|unsubscribe)$\N
    @@ -645,7 +645,7 @@
     
     
       # Do callback verification unless Mailman incoming bounce
    -  reject   !local_parts = *-bounces : *-bounces+*
    +  deny     !local_parts = *-bounces : *-bounces+*
                !verify = sender/callout=30s,defer_ok
     
     
    @@ -667,15 +667,15 @@ % exim -bt testlist@list.example.com testlist@list.example.com router = mailman_router, transport = mailman_transport - + % exim -bt testlist-request@list.example.com testlist-request@list.example.com router = mailman_router, transport = mailman_transport - + % exim -bt testlist-bounces@list.example.com testlist-bounces@list.example.com router = mailman_router, transport = mailman_transport - + % exim -bt testlist-bounces+luser=example.com@list.example.com testlist-bounces+luser=example.com@list.example.com router = mailman_router, transport = mailman_transport @@ -725,7 +725,7 @@
  • Originally written by Nigel Metheringham.
  • Updated by Marc Merlin for Mailman 2.1, Exim 4
  • Overhauled/reformatted/clarified/simplified by Greg - Ward.
  • + Ward.
  • Rehashed again by Nigel Metheringham
  • @@ -734,9 +734,13 @@ @@ -749,6 +753,6 @@ You.


    -

    $Id: mailman21.html,v 1.4 2004/06/25 12:42:53 nigel Exp $

    +

    $Cambridge$