Mailing List Archive

spam filtering with spamassassin procmail courier-imap squirrelmail
i have followed the instructions at
http://www.geekly.com/entries/archives/00000155.htm
my spam is all sitting in a file called spam in my maildir
and i can't figure out why it's not showing up in the spam folder in
imap/squirrelmail
i've pasted in my config files

TIA

Patrick


--
root@bitchass patrick # cat .procmailrc
MAILDIR=$HOME/.maildir
DEFAULT=$HOME/.maildir/new
LOGFILE=$HOME/.maildir/proc.log

# Catch SPAM
:0
* ^X-Spam-Flag: YES
* ^X-Spam-Level: \*\*\*\*\*\*
spam
root@bitchass patrick #

root@bitchass patrick # cat .forward
"|IFS=' ' && exec /usr/bin/procmail || exit 75 #patrick"
root@bitchass patrick #



--
gentoo-user@gentoo.org mailing list
Re: spam filtering with spamassassin procmail courier-imap squirrelmail [ In reply to ]
On Mon, 2004-10-11 at 07:17, J. Patrick Campbell wrote:
> i have followed the instructions at
> http://www.geekly.com/entries/archives/00000155.htm
> my spam is all sitting in a file called spam in my maildir
> and i can't figure out why it's not showing up in the spam folder in
> imap/squirrelmail
> i've pasted in my config files
>
> TIA
>
> Patrick
>

> --
> root@bitchass patrick # cat .procmailrc
> MAILDIR=$HOME/.maildir
> DEFAULT=$HOME/.maildir/new
> LOGFILE=$HOME/.maildir/proc.log
>
> # Catch SPAM
> :0
> * ^X-Spam-Flag: YES
> * ^X-Spam-Level: \*\*\*\*\*\*
> spam
> root@bitchass patrick #
>
> root@bitchass patrick # cat .forward
> "|IFS=' ' && exec /usr/bin/procmail || exit 75 #patrick"
> root@bitchass patrick #
>

If you want it to be put in maildir format you need a trailing / in the
mailbox name. and a leading dot, like:

# Catch SPAM
:0
* ^X-Spam-Flag: YES
* ^X-Spam-Level: \*\*\*\*\*\*
.spam/



--
gentoo-user@gentoo.org mailing list