Michael Alan Dorman: > Hey, all, > > I manage a high-volume mail installation, using an after-queue content > filter for spam filtering. > > We use an ldap transport map (actually a couple of them) to direct each > recipient's email to it's appropriate final destination. > > I recently got some errors about timeouts in the transport map lookup, > which seemed weird, since we're really not delivering all that much > mail---95%+ of the stuff that comes in goes into the filter and never > comes back out. > > I was startled (make fun of me if you wish :) when I realized that each > accepted message is causing a lookup on the transport_map, *even though* > the system knows it's just going to send them to the after-queue content > filter.
The transport map can reject a recipient at SMTP RCPT TO time, by resolving the recipient to the error(8) or retry(8) transport. The transport map must therefore be searched BEFORE the filter. Wietse