procmail
[Top] [All Lists]

Re: *simple* spam recipe is failing with procmail (possible problem with egrep?)

2004-07-12 09:59:22
Thanks for the response, Nancy.
     Actually, your guide is one of the primary references I used.  I found it 
very helpful, by the way ;o)
     Anyway, I tried step 7 and sent myself an email with the word test in the 
subject (and body as well, just for good measure), and it worked!


SHELL=/bin/sh
VERBOSE=yes
MAILDIR=$HOME/mail
LOGFILE=$HOME/.procmail/log
LOGABSTRACT=yes
:0:
* ^Subject:.*test
IN-testing

procmail: Assigning "LOGABSTRACT=yes"
procmail: Match on "^Subject:.*test"
procmail: Locking "IN-testing.lock"
procmail: Assigning "LASTFOLDER=IN-testing"
procmail: Opening "IN-testing"
procmail: Acquiring kernel-lock
procmail: [21844] Mon Jul 12 09:32:58 2004
procmail: Unlocking "IN-testing.lock"
procmail: Notified comsat: "rsharon(_at_)0:/home/rsharon/mail/IN-testing"
From rsharon(_at_)digicode(_dot_)com  Mon Jul 12 09:32:57 2004
 Subject: test
  Folder: IN-testing

     So, it looks like procmail is fine unless it calls Spamassassin...Any 
ideas as to why? Could it be timing out?...
     If this helps, I am using Debian woody, procmail 3.22, and Spamassassin 
2.20-1 (old, but it works, and is maintained by the Debian package crew).

     Thanks again,
          Ryan Sharon


Nancy McGough <nm-reverse-spam-filter(_at_)ii(_dot_)deflexion(_dot_)com> wrote 
..
On 11 Jul 2004 Ryan Sharon (junk(_at_)digicode(_dot_)com) wrote:

VERBOSE=yes                 <--Also tried explicitly assigning SHELL
and EGREP

When piping a message, you *do* want to set SHELL to /bin/sh so I 
recommend that you put that in.

What happens when you use a simple recipe such as the one in step 
7 on my Procmail Quick Start:

:0:
* ^Subject:.*test
IN-testing

I'm wondering if there is a general problem that is not specific 
to spamassassin but instead is something about your procmail set 
up? I recommend that you follow these steps

  <http://www.ii.com/internet/robots/procmail/qs/#steps>

and make sure that simple recipes work before delving into more 
advanced recipes like piping a message through SA.

Let us know what you discover,
Good luck,
Nancy
Infinite Ink
www.ii.com

____________________________________________________________
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

____________________________________________________________
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