Re: [exim] received_protocol help

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Peter Bowyer
Fecha:  
A: Exim Users Mailing List
Asunto: 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@???