Re: [Exim] Exclude list of Spamchecked recepients

Top Pagina
Delete this message
Reply to this message
Auteur: Rene Sasse
Datum:  
Aan: EXIM Official Maillist
Onderwerp: 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