Re: [exim] received_protocol help

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: Exim Users Mailing List
Subject: Re: [exim] received_protocol help
On Apr 5, 2005 3:34 AM, Troy Engel <tengel@???> wrote:
> I'm trying to stop any authenticated user's email from going through the
> spam router. I've added the received_protocol != asmtp check to the
> router like so:
>
>   condition = \
>     "${if and { {!def:h_X-Spam-Flag:} \
>                 {!eq {$received_protocol}{spam-scanned}} \
>                 {!eq {$received_protocol}{asmtp}} \
>                 {!eq {$received_protocol}{local}} \

>
> ...yet the mail is still going through this router and being fed into
> SpamAssassin. The email header itself does show it's authenticated:
>
>   Received: from xxxxxxxxxxxx [xxxxxxx]
>         by yak.fluid.com with esmtpsa (Exim 4.43 #1)
>         for tengel@???

>


The received_protocol is 'esmtpsa'. You're testing for 'asmtp'. They
won't match.

The protocol identifiers changed in (I think) Exim 4.40 or thereabouts
(check the changelog).

Peter

--
Peter Bowyer
Email: peter@???
Tel: +44 1296 768003
VoIP: sip:peter@???