Re: [Exim] exim3/spamassassin/amavis mail looping with no er…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Bruce Richardson
Datum:  
To: exim-users
Betreff: Re: [Exim] exim3/spamassassin/amavis mail looping with no error
On Thu, Mar 25, 2004 at 11:34:09AM +0000, Bob Branch wrote:
> director -
> #spamcheck_director:
> #       no_verify
> #       condition = "${if and { {!def:h_X-Spam-Flag:} {!eq
> {$received_protocol}{spam-scanned}} {!eq {$received_protocol}{local}}
> }
> {1}{0}}"
> #       driver = smartuser
> #       transport = spamcheck

>


ANDing three negatives is bad. Change that to something like

        ${if or { \
                {def:h_X-Spam-Flag:} \
                {eq {$received_protocol}{spam-scanned}} \
                {eq {$received_protocol}{local}} } {0}{1}}



--
Bruce

I must admit that the existence of Disneyland (which I know is real)
proves that we are not living in Judea in AD 50. -- Philip K. Dick