Skip to content
Nigel Metheringham edited this page Nov 25, 2012 · 3 revisions

FAQ_ / Routing for local delivery / Q0404


`Navigation(siblings)`_


Q0404

Question

How can I arrange for messages submitted by (for example) Majordomo to be handled specially?

Answer

You can use the condition option on a router, with a setting such as

condition = ${if and {{eq {$sender_host_address}{}} \
            {eq {$sender_ident}{majordom

{yes}{no}}}}} This first tests for a locally-submitted message, by ensuring there is no sending host address, and then it checks the identity of the user that ran the submitting process.


`Navigation(siblings)`_


FAQ_ / Routing for local delivery / Q0404


CategoryFrequentlyAskedQuestions_

Clone this wiki locally