posted to this is not a weblog
on dec 20th, 2004

tagged nerd, postfix
and never commented on

share this page

so i was wondering, is it possible to have postfix check that the primary mx is not up before receiving mail for a backup domain? that is, when it receives an 'rcpt to' that it has validated as a domain it's relaying for, it will make an smtp connection to the primary mx of the domain (using whatever resolution it uses when forwarding relayed mail) and if it succeeds, it will return a temporary 400 code in response to the 'rcpt to' telling it to send to the primary mx instead.

i searched around and couldn't find anything that implemented this, but i'd imagine someone's wanted to do this by now.

leave the first comment or contact me

if you want to be able to mark your comment as authentic or delete it later, include your e-mail address (it won't be shown on the site). you'll be e-mailed instructions with a copy of your comment.

basic html allowed; be nice
required


optional, gravatar-ized


optional