Jim Murray wrote: > Firstly, apologies if this question's been asked a hundred times already > but I'm new to qpsmtpd (having just switched from qmail-smtpd to gain > improved filtering capabilities) and can't find a definitive answer > either in Google or the list archives. > > What I'm looking for is a way to reject mail for invalid users during > the SMTP transaction. I can't find a plugin that will do it without > creating a database of valid users and supports vpopmail virtual domains. > > If anyone knows of such a thing could they please give me a pointer > towards it so I don't end up reinventing the wheel. > > If not, I understand there was a file (plugin?) at one point called > dot-qmail-exists but I can't find it anywhere. If anyone could point me > towards that it would be helpful as a starting point for further work to > build what I need.
Jim, Building on John Simpson's work, I created a plugin to validate the recipient(s) against a cdb file. You can get it here: http://robinbowes.com/projects/check_validrcptto_cdb The plugin contains fairly extensive documentation and there is a link to John's page too. This has been the single most effective spam prevention measure I've implemented so far. R.