Autor: Ray Chudzinski Datum: To: exim-users Betreff: [exim] prepending to the localuser - what would be "the exim way"?
Greetings All,
I am in the process of creating a new route for handling specially formatted internal mail messages and would like understanding how to set up the exim config. I have read through the docs but I am just not getting the whole philosophy.
In a nutshell, I need to:
- recognize an incoming message is one of the 'special' messages (most easily done by examining the source host. all of these will come from one MTA)
- verify that the localuser is all numeric
- rewrite the localhost portion by pre-pending a string
- forward the re-written message to a specific remote host for delivery
My question is were should I perform each piece of the logic.
e.g.
1) matching the format in a router (and reccomendations on the router)
2) verification of the localuser in the router
3) pre-pending the string via a re-write (really not sure of this step)
4) deliverly using the remote_smtp transport