April 27, 2003

vmailmgr, qmail and SpamAssassin

Getting qmail, vmailmgr and SpamAssassin to play well together requires a bit of glue. Theoretically, you should be able to change your dot-qmail file from:

| /usr/bin/vdeliver

to:

| spamc -f | /usr/bin/vdeliver

and everything should work. Unfortunately, vdeliver expects its input to be seekable. So, you need to pipe through Bruce Guenter’s filepipe.c first, to make the stream seekable. Once you’ve got filepipe compiled, you can change your dot-qmail to:

| preline spamc -f | /usr/local/bin/filepipe /usr/bin/vdeliver

and you’re off to the races.

Posted by pmk at April 27, 2003 12:24 PM | TrackBack
Comments

Amazing how a few sentences can so easily explain and fix my problem… I wanted to tweak spamassassin for awhile on just one address before going system-wide. Thank you for the tips!

Posted by: Adam at June 21, 2003 12:28 PM
Post a comment









Remember personal info?