Re: [exim] Two conditions for adding X-Spam-Flag

Pàgina inicial
Delete this message
Reply to this message
Autor: John Oxley
Data:  
A: Herb Martin
CC: exim-users
Assumpte: Re: [exim] Two conditions for adding X-Spam-Flag
On Fri, Jun 24, 2005 at 06:05:34AM -0500, Herb Martin wrote:
> > How do I add
> > >a condition that it should only do this if the mail is going to
> > >+relay_to_domains.
>
> >  warn domains = +local_domains
> >     endpass
> >     message = X-Spam-Flag: YES
> >     spam = spamd:true
> >     condition = ${if >{$spam_score_int}{50}{1}{0}}

>
> Changing +local_domains to +relay_to_domains should do
> it (if I understand ACLs correctly.)

Thanks

>
> But aren't you more interested in doing this for INCOMING
> rather than outgoing email? Why would you send SPAM to
> the world on purpose?


I am reject spam with a score over 10, but I tag that over 5 so that my
clients can reject it themselves if they are strict on spam filtering.

-- 
John Oxley
Systems Administrator
Yo!Africa
E-Mail:  john at yoafrica.com
Tel:     +263 4 858404