[exim] Automatic Mail Redirection

Page principale
Supprimer ce message
Répondre à ce message
Auteur: gascione
Date:  
À: exim-users
Sujet: [exim] Automatic Mail Redirection

We use exim inbound servers to pre-process mail then pass the valid mail
through to our primary mail system.

By using the @mx_any parameter we accept mail to be relayed based on
the mx record in our DNS. Because our mail systems behind the relays do
not relay this is not dangerous for us. If somebody were to just enter
our MX record into their dns the only damage done would be to relay it
to our primary server which will reject it anyway.

The final router looks like this:

internal:
driver = manualroute
domains = ! +local_domains
transport = remote_smtp
route_list = * ourmailserver.ourdomain.com

What we are now trying to do is have exim recognize several final
destinations.

Question 1: If we list several mail servers in the route list will exim
try each one if delivery fails on another one?

Question 2: Can a router be built to do what I asked in question 1?

Alternative: If we set up a private record in each person's DNS, say a
text record, with a code name indicating the mail server they reside
on, is there any logic we can build into the router to pick up record
from the DNS, match it against a file that translates the code name to
a server host name, then have that automatically inserted into the
router's route list?

GA


--
gascione
------------------------------------------------------------------------
gascione's Profile: http://www.exim-users.org/forums/member.php?action=getinfo&userid=112
View this thread: http://www.exim-users.org/forums/showthread.php?threadid=53540