Re: [Exim] Overhauled 'Exim and Mailman' doc

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Marc MERLIN
Data:  
Para: exim-users, mailman-developers
Asunto: Re: [Exim] Overhauled 'Exim and Mailman' doc
On Fri, Oct 11, 2002 at 09:44:33PM -0400, Greg Ward wrote:
> Hi all --
>
> I've just spent the last couple of hours beating the README.EXIM
> document from Mailman's current CVS tree into shape. (This is derived
> from Nigel Metheringham's "HOWTO - Using exim and Mailman together"
> document, which can be found at www.exim.org.)


Cool.

I've been meaning to add this:

----------------------------------------------------------------------------
If you do header and envelope callbacks, you can disable them for bounces to
mailman lists (it is quite common for internal hosts to bounce with a non
reachable internal address). The idea is that you typically don't want non
bounceable Email, but you'd better accept bounces to mailman lists so that
you can unsubscribe the people who are bouncing.

The rcpt-to ACL should look something like this

  # Accept bounces to lists even if callbacks or other checks would fail
  warn     message    = X-WhitelistedRCPT-nohdrfromcallback: Yes
       condition    = ${if and {{match{$local_part}{.*-bounces\+.*}} {exists {MAILMAN_HOME/lists/${sg{$local_part}{(.*)-bounces\+.*}{\$1}}}}}{yes}{no}}


  accept  condition    = ${if and {{match{$local_part}{.*-bounces\+.*}} {exists {MAILMAN_HOME/lists/${sg{$local_part}{(.*)-bounces\+.*}{\$1}}}}}{yes}{no}}


  # Now, do basic address checking, that we forgo if the receipient is in a
  # whilelist
  deny    hosts = !+localadds:!+host_disable_callback:*
          sender_domains = !+envdomain_disable_callback:*
      local_parts    = !+noenvfromcallback
         !verify = sender/callout=90s/check_postmaster


and the data ACL, like this:
  deny    hosts = !+localadds:!+host_disable_callback:*
         !condition = $header_X-WhitelistedRCPT-nohdrfromcallback:
     !condition = ${lookup{${domain:$header_from:}}lsearch{HDR_DOMAIN_DISABLE_CALLBACK} {yes}{no}}
     !verify = header_sender/callout=90s/check_postmaster
      # Thanks to the exim4.gooderror.diff patch, exim will return
      # informative error messages. You can override that with a generic
      # message though
      #message = Header sender couldn't be verified
----------------------------------------------------------------------------


Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/   |   Finger marc_f@??? for PGP key