procmail
[Top] [All Lists]

Re: A recipe does not work for one list only

2005-04-19 11:05:54


On Mon, 18 Apr 2005, Dallman Ross <dman(_at_)nomotek(_dot_)com> wrote:


Here's what you can do:

In you .procmailrc, set VERBOSE=off at the top.

Somewhere just above the recipes that aren't working, put

  VERBOSE=on

Right after the problem section, put

  VERBOSE=off

again.

Rename your existing log.  Now, with no current log, type at the shell
prompt,

    procmail < message

where "message" is a saved copy of a message from that list.

Now look at the new log.  If it's not too big, send it to the list.
Or send a URL to where it can be seen.

Note that the above command will work if the current .procmailrc
is the one you're worried about.  Otherwise, you'll have to specify
an rcfile on the command line as well.

The $LOGFILE created using a message from farsitex list is:{{{

procmail: [2199] Tue Apr 19 21:38:21 2005
procmail: No match on 
"^X-BeenThere:(_dot_)*farsitex-user(_at_)lists(_dot_)sourceforge(_dot_)net"
procmail: Assigning "VERBOSE=off"
From MAILER-DAEMON Tue Apr 19 07:48:50 2005
 Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
  Folder: /var/spool/mail/hossein                                          5488
}}}

and with a message from procmail list, which was successfully processed
by `procmail' when it arrived, is:{{{

procmail: [2377] Tue Apr 19 21:45:26 2005
procmail: No match on 
"^X-BeenThere:(_dot_)*procmail(_at_)lists(_dot_)rwth-aachen(_dot_)de"
procmail: Assigning "VERBOSE=off"
From MAILER-DAEMON Tue Apr 19 12:26:54 2005
 Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
  Folder: /var/spool/mail/hossein                                          6377
}}}

Thanks,
Hossein

____________________________________________________________
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