Gentoo Archives: gentoo-user

From: David Rioja <rams@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] procmail+spamassassin user filters
Date: Wed, 15 Oct 2008 07:09:48
Message-Id: 48F59701.4030407@englobe-tec.com
In Reply to: Re: [gentoo-user] procmail+spamassassin user filters by Willie Wong
1 Willie Wong escribió:
2 > On Tue, Oct 14, 2008 at 05:45:02PM +0200, Penguin Lover David Rioja squawked:
3 >
4 >> 2.- I created ~/.procmail with the following contents:
5 >>
6 >> SHELL=/bin/sh
7 >> MAILDIR=$HOME/.maildir
8 >> DEFAULT=$MAILDIR
9 >> LOGFILE=$MAILDIR/procmail.log
10 >>
11 >> | spamassassin --prefs-file=$HOME/.spamassassin/user_prefs
12 >>
13 >>
14 >
15 > Is that all you have in the recipe? I thought a recipe always begins
16 > with 0: ? From my procmailrc file:
17 >
18 > -----------snip---------------
19 > :0fw
20 > | /usr/bin/spamc
21 > ----------endsnip-------------
22 >
23 > since I use spamc/spamd. f makes it a filter and w waits for the
24 > filter to finish.
25 >
26 > W
27 >
28 Ok, you win :)
29
30 I actually have this on .procmail
31
32 INCLUDERC=$HOME/.spamassassin.rc
33
34 instead of that line. In the file .spamassassin.rc I have:
35
36 :0fw
37 | spamassassin --prefs-file=$HOME/.spamassassin/user_prefs

Replies

Subject Author
Re: [gentoo-user] procmail+spamassassin user filters Willie Wong <wwong@×××××××××.EDU>