On 24/06/05, Herb Martin <[EMAIL PROTECTED]> 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.)

No - you can't use a domains check in the DATA ACL (which is the only
place you can use a spam check), because you may have more than one
recipient in more than one domain.

Peter
-- 
Peter Bowyer
Email: [EMAIL PROTECTED]
Tel: +44 1296 768003
VoIP: sip:[EMAIL PROTECTED]

--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to