Yesterday I managed to get spamassassin working with postfix and dbmail.  It 
was a little harder than I had expected, due to a lack of documentation for 
either product, but that's to be expected with a < 1.0 product. (postfix on the 
other hand....)

Essentially, I have the following:

Replacing the dbmail line in master.cf with

<pre>
dbmail    unix  -       n       n       -       -       pipe 
            flags= user=dbmail:dbmail argv=/home/erics/dl.sh ${recipient}
</pre>

where /home/erics/dl.sh is 

<pre>
#!/bin/sh
/usr/bin/spamc -p 3000 <&0 | /usr/sbin/dbmail-smtp -d $1
</pre>

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.

You will probably need to alter all appropriate paths, as I have dbmail 
installed in a slightly non-standard place. 

eric



Reply via email to