Re: [Exim] Exclude list of Spamchecked recepients

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jens Strohschnitter
Data:  
Para: EXIM Official Maillist
Asunto: 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
-------------------------------------