Joe Shamblin: > I am experiencing an issue where hosts that do not have reverse > DNS see an extended delay (45-60 seconds for ssl or non-ssl > connections) before they get the initial 220 greeting. Hosts that > do have properly registered entries get in immediately. I have > downloaded the source, and the programs that perform the lookups > gethostbyaddr, etc... all seem to return quickly enough. DNS on > the machine is also snappy and returns the lack of RDNS quickly. > Setting smtpd_peername_lookup to no solves the issue, but has other > ramifications. The server in question is running postfix 2.9.6-1 > on ubuntu 12.04. A different server with the same configuration > does not seem to have the issue. Setting the debug_peer for the > hosts show the same thing for the hosts that experience a delay > versus those that do not, basically a bunch of match_hostaddr and > match_hostname calls. Once the initial delay is out of the way, > everything proceeds as normal.
Please TURN OFF chroot in master.cf. The master.cf entry should look like this: smtp inet n - n - - smtpd Then do "postfix reload". More information: http://www.postfix.org/DEBUG_README.html#no_chroot Wietse