Re: [Exim] Exclude list of Spamchecked recepients

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Rene Sasse
Fecha:  
A: EXIM Official Maillist
Asunto: Re: [Exim] Exclude list of Spamchecked recepients
Hi Jens!

Jens Strohschnitter schrieb am Donnerstag, den 25. September 2003:

>
> Hi out there,
>
> I wanted to extend my exim with spamassassin with a list,
> that includes mailadresses of users, they not will be scanned
> of spam.
> Just like: foo@???
> Should be excluded from spam-scan.
>


try this condition :

condition = "\
    ${if and { \
        {eq \
        {${lookup{$local_part@$domain}lsearch{/etc/exim/maps/do_not_scan_recpt}{0}{1}}}{1}} \
        { \
            and {         \
                {!def:h_X-Spam-Flag:}  \
                {!eq {$received_protocol}{local}} \
                {!eq {$received_protocol}{spam-scanned}} \
                } \
        } \
        } {1}{0}}"



this works ;)

--
cheers,                    web: http://www.world-email.cx/
rene