I just setup spamassassin the other day, the way I do it is by putting this line in the .qmail-default for the domain.
|maildrop mailfilter then have a file called mailfilter in the same directory. change the VPOP line to whatever you had in your .qmail-default, or you can set whatever you need it to do with the mail. [mailfilter] VPOP="| /var/qmail/vpopmail/bin/vdelivermail '' /var/qmail/vpopmail/domains/glizard.com/postmaster" VHOME=`/var/qmail/vpopmail/bin/vuserinfo -d $EXT@$HOST` if ( $SIZE < 262144 ) { exception { xfilter "/usr/bin/spamc -f -u $EXT@$HOST" } } if (/^X-Spam-Flag: *YES/) { # try filtering it using user-defined rules exception { include $VHOME/Maildir/.mailfilter } # then try delivering it to a Spam folder exception { # to "$VPOP" to "$VHOME/Maildir/spam/" } # ah well, I guess they'll just have to live with disappointment exception { to "$VPOP" } } else { exception { include $VHOME/Maildir/.mailfilter } exception { to "$VPOP" } } Hope this helps, Gary