Re: [Exim] Exclude list of Spamchecked recepients

Top Page
Delete this message
Reply to this message
Author: Jens Strohschnitter
Date:  
To: EXIM Official Maillist
Subject: Re: [Exim] Exclude list of Spamchecked recepients
> >
> > 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 ;)
>


Hi,

it works V E R Y W E L L ! ! ! Thx :-)

--
Regards,

     Jens Strohschnitter


-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*

* http://www.jens-strohschnitter.de *
-------------------------------------
Set the controls for
         the heart of the sun
-------------------------------------