On 24/06/05, Herb Martin <HerbM@???> 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: peter@???
Tel: +44 1296 768003
VoIP: sip:peter@???