Re: [Exim] Exclude list of Spamchecked recepients

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Rene Sasse
Dátum:  
Címzett: EXIM Official Maillist
Tárgy: 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