Re: [Exim] making one rule out of two

Top Page
Delete this message
Reply to this message
Author: Dave C.
Date:  
To: Marc MERLIN
CC: exim-users
Subject: Re: [Exim] making one rule out of two
On Mon, 10 Jun 2002, Marc MERLIN wrote:

> This is in an RCPT TO ACL.
> Can I condense these two rules in one?
>
>   warn     message    = X-WhitelistedRCPT-nohdrfromcallback: Yes
>        condition    = ${if exists {MAILMAN_HOME/lists/${sg{$local_part}{(.*)-bounces\+.*}{\$1}}}{yes}{no}}

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


Hrm.. Probably not. The warn inserts the header and passes, and I dont
The accepts ends the ACL.. The warn doesnt.


> How about those:
>
>   warn     message     = X-WhitelistedRCPT-nohdrfromcallback: Yes
>        local_parts     = abuse

>
>   warn     message     = X-WhitelistedRCPT-nohdrfromcallback: Yes
>        local_parts     = postmaster

>


Now this one you can make into:


   warn     message     = X-WhitelistedRCPT-nohdrfromcallback: Yes
         local_parts     = postmaster : abuse





> I know I can put both in a file on disk and include that. Is there an other
> way to say something like
> local_parts = postmaster or abuse ?
>
> Thanks
> 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

>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>



--