exim: select smarthost according to sender address
When sending mails from my systems, I usually want to use different smarthosts according to the sender address. If I use the sender address vwegert@web.de, I want the mail to be delivered via smtp.web.de, if I use one of my @volker-wegert.de addresses, I want to use the smarthost at Manitu and so on. With exim, this is possible with a few configuration adaptions. First create a file named /etc/exim/smarthosts that will contain the routing information. The contents look like this: ...