On Sun, Jul 11, 2004 at 03:29:26PM -0700, Ryan Sharon wrote:
As it stands now, procmail is invoking spamassassin
(successfully), but the *extremely* simple recipe I put in to
just move spam to the 'spam' mbox is not working.
VERBOSE=yes <--Also tried explicitly assigning SHELL and EGREP
MAILDIR=$HOME/mail
LOGFILE=$HOME/.procmail/log
LOGABSTRACT=yes
:0fw
| /usr/bin/spamassassin
:0:
* ^X-Spam-Flag: YES <--Played rexeps too: * ^X-Spam-Flag:(.*\<)?YES
$MAILDIR/spam <--Also tried $(MAILDIR)/spam and just spam
Btw, "MAILDIR" in procmail is a process, akin to "chdir" in the shell.
While your $MAILDIR/spam would work as an action line, it is equivalent
to saying
`chdir .`/spam
(Procmail already cd'd to the $HOME/mail dir when you set MAILDIR, assuming
$HOME/mail actually exists.)
So just write your action line:
spam
PROOF THAT PROCMAIL *SHOULD* BE FINDING THE SPAM IN MY TEST FILE(?):
Perhaps you have whitespace in your condition line, at its end, that you don't
see when you view the condition casually. That would be my first guess.
Comment out that condition line of yours and type it in freshly.
--
dman
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail