Hi Everybody!
I'm trying to use procmail to solve a very simple problem, but it is not
working. I read the man pages but I'm clueless. Maybe someone could help
me.
All I want to do is to save the messages sent to 'comps-l' in two
mailboxes.
I'm using a very simple recipe:
SHELL=/bin/sh
MAILDIR=$HOME/nsmail
LOGFILE=$MAILDIR/procmail.log
VERBOSE=yes
:O c:
^
This is the capital letter "O". It should be zero ("0").
* ^TOcomps-l
INBOX
:O:
^
Again, this should be 0 instead of O.
* ^TOcomps-l
COMPS-L
But the messages are saved _only_ in INBOX. Here is the log:
procmail: [4858] Wed Jul 23 12:50:34 1997
procmail: Skipped "O c:"
^^^^^^^^^^^^^^^^^^^^^^^^^
procmail: Match on
"(^((Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently)-To):(.*[^a-zA-Z])?)comps-l"
procmail: Assigning "LASTFOLDER=INBOX"
procmail: Opening "INBOX"
From walfredo(_at_)cs(_dot_)ucsd(_dot_)edu Wed Jul 23 12:50:34 1997
Subject: test
Folder:
INBOX 1107
procmail: [4858] Wed Jul 23 12:50:35 1997
procmail: Notified comsat: "walfredo(_at_)0:/cse/grad/walfredo/nsmail/INBOX"
It is like the 'c' was not there. The first recipe finishes the
processing.
Does someone know what is going wrong?
The version I'm using is:
[koko] walfredo:/home/beowulf/grad2/walfredo/nsmail% procmail -v
procmail v3.10 1994/10/31 written and created by Stephen R. van den Berg
berg(_at_)pool(_dot_)informatik(_dot_)rwth-aachen(_dot_)de
I'd suggest you upgrade to 3.11pre7, it hasn't failed me once (yet ;).