David Favro: > Friends, > > What would be valuable (or at least interesting) to me is to treat the RDNS > lookup (peer address->name and subsequent name->address) as a part of > smtpd_client_restrictions, or in some way delay it until that time. > Currently, > it seems that both of the above lookups take place before any > smtpd_client_restrictions processing even begins, which means that two DNS > queries are made [I won't say that postfix makes them since that seems to > provoke some ire, but it does cause them to be made on its behalf via a call > to > gethostbyaddr()], which in some cases could be avoided, thus saving reducing > traffic.
The client name is needed for logging purposes, so there is no gain from looking up late. If you don't want the name to be looked up, then configure postfix accordingly. Wietse