How to forward by recipient in an exim relay? – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.
But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, centos, email, exim, .
I’ve set up an Exim relay and i need to forward emails coming in for a particular domain to be sent to another address, but i’m having no luck so far.
I’ve set up a router like this:
postmaster_redirect: driver = redirect domains = domain.toredirect.com data = email@example.com
This in theory should do the trick of redirecting all mails sent to that domain to firstname.lastname@example.org but it doesn’t seem to work.
Is there anything else i could try?
You can do it with Address rewriting (after
begin rewrite directive).
*@domain.toredirect.com email@example.com STt