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:Pierre Ossman (oss@home.se)
Date:Jan 12, 2004 8:09:44 pm
List:net.sourceforge.lists.courier-users

Thanks for the reply, but I'm afraid it doesn't quite answer my questions. The problem was never mail directed to the domain that it was a backup MX for. The problem is mail directed at the mail server itself. So in a more condensed form:

* Does it check in 'me' when comparing MX records if 'locals' doesn't exist?

* How can I block/redirect mail addressed to the mail server (_not_ the domain it's handling) without having to put up an alias for every user on the machine?

Regards Pierre

Patrick O'Reilly wrote:

Pierre,

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.

----- Original Message ----- From: "Pierre Ossman" <oss@home.se> To: <cour@lists.sourceforge.net> Sent: Friday, January 09, 2004 9:47 PM Subject: [courier-users] Backup MX configuration

Hi!

I've been using courier for awhile now and I think it's a great piece of software. I am, however, not quite clear about how to configure it as a backup MX server. From the FAQ I can read that:

"Furthermore, the hostname in the MX record must be one of the hostnames in the |locals| configuration file."

Is it absolutely crucial that this hostname exists in 'locals' or does it follow normal semantics and defaults to 'me' when 'locals' doesn't

exist?

Also, I'd prefer to not have any mail delivered to the machine acting as a backup MX. But the constraint above makes it consider any mail to <us@backup-mx.example.com> to be a local mailbox. If it is possible I'd like it to forward this mail to <us@example.com> instead. Setting up an alias for every user is not an option. I need some kind of

catch-all.

If this is not possible, then can I configure it to bounce all mail heading for <us@backup-mx.example.com>? There are user accounts on the machine but I don't want them to receive mail.

I don't know if you're supposed to retain some accounts going to specific mail servers (<post@backup-mx.example.com> comes to mind). If so, I'd appreciate any pointers on what's customary to have set up. Maintaining aliases for some system critical stuff is acceptable, having to put up a new reject rule for each new user on the machine is not.

PS. Could you cc any replies to this address since I'm not subscribed to courier-users, thanks.