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).