Re: [exim] Add a header when reverse DNS fails or defers?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Walt Reed
Date:  
À: Marc Sherman
CC: exim-users, Walt Reed
Sujet: Re: [exim] Add a header when reverse DNS fails or defers?

On Thu, Jan 20, 2005 at 03:11:40PM -0500, Marc Sherman said:
> Walt Reed wrote:
> >
> >I use this snippit, which works in both cases.
> >
> >  warn    condition     = ${if eq {$sender_host_name}{}{yes}{no}}
> >          message = X-Spam-Note: No RDNS

> >
> >If you want a different message for the timeout versus no RDNS
> >exists cases, I don't know how to do that.
>
> Doesn't the above condition also trigger on locally-submitted messages?


Depends on whether you "accept" local messages before that point in the
ACL, or add a condition not applying it to the local net / local
submission.