Hi,

I'd like some explanation on how opensmtpd works as a backup mx. I use
opensmtpd-201405202105p1 compiled myself on Debian7.

First I had "accept from any for domain "dom.fr" relay backup" in my
config file. But after a few minutes I get a message back complaining
that there is a loop.

No, this can't be. mx1 (weight 5) isn't the same as mx2 (weight 10).

So I went with "accept from any for domain "dom.fr" relay backup
mx2.backdom.fr" so it never tries to deliver to mx2 again (if I get the
man right).

Why do I have to specify the mx, what is the point ? From my point of
view, a backup mx MUST (as in RFC MUST) always try to deliver to a lower
pref mx thank itself and keep it until it can deliver (or timeout).

So after adding the mx to backup, I don't have the loop-error but
opensmtpd tries to deliver not to mx1.domain.tld but to domain.tld
(which doesn't exist). I had to add a A record to have mails delivered.


$ host dom.fr
dom.fr mail is handled by 5 mx1.dom.fr.
dom.fr mail is handled by 10 mx2.backdom.fr.
dom.fr mail is handled by 15 mx3.backdom2.fr.

Thank you in advande,
Denis

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to