RE: [Exim] Combining conditions

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Eli
Date:  
À: 'Imre Magyar', exim-users
Sujet: RE: [Exim] Combining conditions
> -----Original Message-----
> From: exim-users-admin@???
> [mailto:exim-users-admin@exim.org] On Behalf Of Imre Magyar
> Sent: Sunday, January 04, 2004 6:37 AM
> To: exim-users@???
> Subject: [Exim] Combining conditions
>
> Hello,
>
> how should I combine these conditions into one:
>
> ${lookup {${local_part}}
> lsearch{/etc/mail/$domain_data/users-spamcheck} {yes}{no}}
>
> and
>
> ${if !def:h_X-Spam-Checker-Version: {true }}


${if and {{!def:h_X-Spam-Checker-Version:} {${lookup {${local_part}}
lsearch{/etc/mail/$domain_data/users-spamcheck} {yes}{no}}}} {yes}{no}}

I think that's correct (should be, but I haven't tested it).

This is all described in the documentation:
http://www.exim.org/exim-html-4.30/doc/html/spec_11.html#CHAP11


Eli.


---
[This E-mail scanned for viruses]