Richard Seabrook wrote:
I'm looking to implement DSPAM with a before-queue filter in Postfix. Unfortunately for me, DSPAM only accepts messages via LMTP, but once finished can send the message on via either LMTP or SMTP.
There is no reason to get qpsmtpd involved, if you are already committed to using Postfix. Just use qpsmtpd on the front end, relay the e-mail into Postfix via SMTP, run dspam as LMTP filter, then requeue into Postfix via local SMTP. The dspam wiki has multiple HowTo's that work better or worse depending on how well you understand Postfix and whether you want to also deal with spam/ham aliases.
I have a simplified setup (that I haven't had time to add to the WIKI) that makes Postfix use the dspam virtual UID database to prefilter e-mail (i.e. I can make sure that the dspam applicance/Postfix will only handle actual mailboxes and listserv messages will not get scanned). Maybe I'll get time soon to document it...
John
