Phillip Smith: > 2009/10/8 Wietse Venema <wie...@porcupine.org> > > This could easily be scripted and run from cron. Massage the output > > from host(1) or dig(1) to extract hosts, and use an expect script > > to do the talking, like http://www.cymru.com/Tools/mtaprobe.exp. > > The whole thing should not take more than a dozen or so lines. > > I have a script that does it which I call from rc.local but it depends > on fetchmail, and I've scripted it heavily towards a PostgreSQL > backend: > http://www.pastebin.ca/1602946 > > I was just wondering if it wouldn't be a nice feature for Postfix to > have since at the moment it only seems to be doing half the job -- > responding to ETRN requests, but no capability to make the requests. > Both requesting and responding are part of the MTA/MDA tasks (as > opposed to MUA tasks).
The number of primary MX hosts with intermittent connectivity does not justify adding an entirely new mechanism to core Postfix. There are already several scripts in the Postfix distribution. If you can translate this from using PostgreSQL into "postconf -h virtual_alias_domains mydestination ..." then it may be worthwhile for the 0.001% of Postfix sites in a similar situation. Wietse