Re: [Exim] Detecting and routing locally generated messages

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Kevin P. Fleming
Datum:  
CC: exim-users
Betreff: Re: [Exim] Detecting and routing locally generated messages
Everton da Silva Marques wrote:
> How can one to reliably detect a locally generated
> message (issued by a locally running process)? Is
> it possible to write a router which handles only
> messages received through one of those 4 methods?
> Or, at least, through the first 3 three (which
> don't involve TCP/IP) ?
>


This was covered extensively on the list about two weeks ago, check the
archives. As I remember, a simple option is to see if $interface_address
is non-null; it will be null for messages that did not arrive via SMTP
in the normal fashion.