Is it possible to configure exim to use a specific routing option by setting a custom header value?

So, for example, within the email headers having something like:

From: [email protected]
To: [email protected]
EximRoute: use.this.server.com

Where the value in the EximRoute (or whatever header...) would be used as a manualroute option for this message. It would always only contain a single server name, and it would always be used as manualroute bydns. The header would be stripped out before forwarding the message on.

If there are any delivery errors etc causing the message to be queued, then any retries must still be sent via the specified route.

If no 'EximRoute' header is present, then just route the message as normal.

The exim server would only be accepting requests from a locally running application, no external access to the server would be possible.



--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to