11 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Backup MX configu...
FromSent OnAttachments
Pierre OssmanJan 10, 2004 7:54 pm 
Patrick O'ReillyJan 11, 2004 9:31 pm 
Chris PetersenJan 11, 2004 10:09 pm 
Jeff JansenJan 12, 2004 9:31 am 
Patrick O'ReillyJan 12, 2004 10:22 am 
Pierre OssmanJan 12, 2004 8:09 pm 
Patrick O'ReillyJan 12, 2004 9:04 pm 
Pierre OssmanJan 13, 2004 6:34 pm 
Patrick O'ReillyJan 13, 2004 11:55 pm 
Pierre OssmanJan 21, 2004 7:53 pm 
Sam VarshavchikJan 22, 2004 4:12 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Backup MX configurationActions...
From:Jeff Jansen (ivb_@sil.org)
Date:Jan 12, 2004 9:31:40 am
List:net.sourceforge.lists.courier-users

On Monday 12 January 2004 05:30, Patrick O'Reilly wrote:

all you need for the secondary MX server is the hostname entry in 'locals' (which must match the hostname listed in the MX record exactly, of course).

When courier accepts the email and then recognises that this email address is not held locally it will consult the dns itself, see that there is another preferred MX record, and try to relay the email to that hostname. Presumably that host is temporarily unavailable, so the email will just sit in the mailq as usual until the primary MX is available again.

OK, I'm showing my ignorance here. I don't follow this. I thought in order to be a backup MX you needed an entry in "acceptmailfor" and specifically NOT in locals or hosteddomains. If I am "example.com" and I want to function as a backup server for "domain.com", then I put "domain.com" into /etc/courier/acceptmailfor. Then my machine accepts mail for all addresses at "domain.com" and tries to ship it back out since this domain is not actually hosted on my machine.

If I put "domain.com" into locals then when any mail arrives for this domain won't it be rejected by courier with "550 - user unknown" since this account does not exist on my machine?

What have I missed here?