On Tue, Oct 09, 2012 at 05:31:14AM -0500, Zhihao Yuan wrote: > How? I use getaddrinfo(3) to find a "smtp" service, and I think such > an assumption is already standard and reasonable enough. No, it only works on a very small number of machines. Martin