I have just finished (more or less) a plugin to do the fabled "bounce invalid addresses at the smtp level".
It is available at: http://www.openminddev.net/files/qpsmtpd/plugins/check_delivery Its main features are: * knows all about /var/qmail/users/cdb * knows about .qmail and .qmail-zzz-default files, and how to use the $DEFAULT environment variable in those files * it works out which local user belongs to which address (or in the case of aliases to multiple users, it will map out all the users that are a recipient of a given address) * it can be extended using the same hook system as the rest of qpsmtpd * it should work 'out of the box' with most setups (including Mitel's SME server. Hi Charlie, if you are still lurking here...) What it does not do (yet): * process 'fastforward' entries in .qmail files (does anyone use them??) * check address validity for addresses on other local system Both of these can be easily implemented, either directly in the plugin, or as seperate plugins that would be called by check_delivery. However, I think its bigest potential is that, since it maps email addresses to users/delivery addresses, it could be used as the basis for a more 'user-level' configurability of qpsmtpd. Please note that it is still only lightly tested at this point of time, so use with caution. It has a 'log_only' mode, which I suggest people try out first. Please let me know of any bugs etc etc. Have fun, Cheers, Rasjid.
