Re: [exim] sample smarthost config file

Top Page
Delete this message
Reply to this message
Author: Dave Evans
Date:  
To: Kebba Foon
CC: exim-users
Subject: Re: [exim] sample smarthost config file
On Sun, Feb 13, 2011 at 05:03:53PM +0000, Kebba Foon wrote:
> I advertise two MX on my dns ... am
> hoping that anyone has some kind of exim configure that will set the
> second box to forward all mails it received for my domain to the first
> server which is where the mailboxes are. please send me the sample
> config file that i can set on the second box.


To have the backup server send the messages to the primary, just use a
dnslookup router.
http://www.exim.org/exim-html-current/doc/html/spec_html/ch17.html

You might also want to have the backup server somehow validate the local
parts, though, otherwise you will probably find that valid addresses work fine
but invalid addresses (at your domain) are accepted and then bounced by the
backup server. There are all sorts of ways to do this; having the backup
server use recipient callouts (with defer_ok) is simple and effective.
http://www.exim.org/exim-html-current/doc/html/spec_html/ch40.html#SECTaddressverification

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey