[Exim] making one rule out of two

Pàgina inicial
Delete this message
Reply to this message
Autor: Marc MERLIN
Data:  
A: exim-users
Assumpte: [Exim] making one rule out of two
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}}




How about those:

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


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


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