RE: [vchkpw] vpopmail and spamassassin
I have is setup and running fine. I have the following in my .qmail-default |preline /usr/bin/spamc -f -u [EMAIL PROTECTED] |preline maildrop mailfilter and the mailfilter is like this: VPOP="| /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/italy1.com/postmaster" VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] if ( $SIZE < 262144 ) { exception { xfilter "/usr/bin/spamc -f -u [EMAIL PROTECTED]" } } 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" } } good luck, REMO -Original Message- From: Jasper Metselaar [mailto:[EMAIL PROTECTED] Sent: Sunday, March 02, 2003 4:18 AM To: [EMAIL PROTECTED] Subject: [vchkpw] vpopmail and spamassassin Hi, I am trying to get Spamassassin working with Vpopmail, but I am not succeeding so far... Right now I am using version: vpopmail 5.3.12 Spamd (the spamassassin daemon) is running. I tried to do something with Ifspamh (www.gbnet.net/~jrg/qmail/ifspamh/) but this didn't work so far. Does anyone have a good solution to use Spamassasin with vpopmail. Thanks, Jasper
Re: [vchkpw] vpopmail and spamassassin
Jasper Metselaar wrote: Hi, I am trying to get Spamassassin working with Vpopmail, but I am not succeeding so far... Right now I am using version: vpopmail 5.3.12 Spamd (the spamassassin daemon) is running. I tried to do something with Ifspamh (www.gbnet.net/~jrg/qmail/ifspamh/) but this didn't work so far. Does anyone have a good solution to use Spamassasin with vpopmail. Thanks, Jasper You might want to look into maildrop to invoke spamassassin.
Re: [vchkpw] vpopmail and SpamAssassin
On Sunday, February 2, 2003, at 05:26 AM, Gabriel Ambuehl wrote: Hello, 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 configure. 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 Gabriel, 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? Regards, Bill Shupp