On Thu, 6 Jan 2005 14:46:37 -0500
Jason Rennie <jrennie@csail.mit.edu> wrote:
> I have my mail delivered locally. It might be tricky to use
> bogofilter in conjunction with IMAP (I don't know, never tried).
Nope, it's not :) I use bogofilter with Courier-IMAP and setting it up
was pretty easy.
> Here's my procmail line for bogofilter ("/." suffix indicates MH-style
> mailbox)
>
> :0BH
> * ? /usr/bin/bogofilter
> spam/.
For Courier-IMAP (uses Maildir format):
:0fw
| bogofilter -u -e -p
:0e
{ EXITCODE=75 HOST }
:0:
* ^X-Bogosity: Spam,
.Spam/
For this list it is:
:0:
* ^TO_.*debian\-user@lists\.debian\.org
.Lists.debian.user/
Attachment:
pgpAayhOK9jhs.pgp
Description: PGP signature