[Exim] Detecting and routing locally generated messages

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Everton da Silva Marques
Datum:  
To: exim-users
Betreff: [Exim] Detecting and routing locally generated messages
Hello.


According to section 3.4 of Exim 4 Specification [1], there
are 4 methods a locally running process can use to issue
a message to Exim:

1) -bm option
2) -bS option
3) -bs option
4) TCP call to loopback address

I would like to route those locally generated messages in a
specific way.

QUESTION:

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) ?

Any hints greatly appreciated.


Many thanks,
Everton


References

[1] Exim 4 Online Specification
    http://www.exim.org/exim-html-4.00/doc/html/spec.html