>1. the greylisting plugin uses a lock on the dbm file to prevent the >processes from clobbering each other. the GL plugin could be >re-written to use an RDBMS instead, that might help.
I have a well-known greylist patch for qmail-smtpd that I recently ported over to qpsmtpd. It uses UDP queries to a small server written in perl, which has rather nice performance since the perl server keeps the greylist data in an in-memory hash, UDP is pretty cheap, so the server just handles the requests as they arrive, no locking needed. It also means that if you have a pool of servers they can efficiently share the greylist database. If interested, I can send you the plugin and the server. R's, John