eric wrote:

> I have spamd, the spamassassin daemon running on port 3000. Spamd
> will always be using the dbmail username & prefs, but I'm not sure
> that that is really a problem. I may look to changing that so that
> you can use the sql storage for prefs for spamassassin.

I've been looking at how to do this. I found instructions for making spamc retrieve user preferences from a database, but it needs to have the username passed to it on the command line.

I'm still very new to postfix (and dbmail) so I'm having a lot of trouble wrapping my mind around how this can be done. It almost seems as if we need to put a few hooks into dbmail to let this be done mid-insert.

The instructions are at http://spamassassin.taint.org/dist/sql/README

Right now I have two domains serviced by dbmail, but in different ways.

vacollections.com simply has dbmail as the transport in postfix.
birdbrained.org delivers to a unix mailbox as you'd normally expect with postfix, but procmail then inserts it into dbmail. I'm going the procmail route on birdbrained.org because I'm the only user on that domain, and I am using procmail to filter into different IMAP folders for me.

What I'd ultimately like to have is a mail system where I can have the two domains running together, getting all incoming mail run through spamassassin with database-stored/edited preferences, and delivered to dbmail with mail sorting via database stored SIEVE rules.

If you have any thoughts on this, I'd love to hear them.

Chris Hilts
[EMAIL PROTECTED]

Reply via email to