On Sunday, February 2, 2003, at 05:26  AM, Gabriel Ambuehl wrote:

I just finished hacking SpamAssassin support into vdelivermail.

Basically, you need to have the spamd Daemon of the spamassassin
package running on port 783 (standard port for it) thru which all
messages smaller than 300k are "filtered" which means they get the
SpamAssassin score (and nothing else!) added to their headers like:

X-SpamAssassin-Score: 8.6/5.0

By default, the "filtering" is turned off so people who don't want
to use it won't note much difference. For the others, if spamd isn't
running, all messages will get delivered unchanged.

To enable the functionality, pass --enable-spamassassing=y to

There's one remaining bug: the size parameter of Maildir++ won't get
updated accordingly, I suppose this could be solved by stat()ing the
file at the end and then renaming it, thoughts?

Anyway, you can get the tarball at http://www.buz.ch/software

I have done some testing on this patch. There were a few minor problems that were easily fixed (configure.in typos), but I noticed that there is no FALLBACK support. So when I take down spamd, vdelivermail crashes. I don't have time to add that, but if you can, I'll retest the patch for integration.

Also, does this patch allow for user defined preferences?


Bill Shupp

Reply via email to