procmail
[Top] [All Lists]

Help with simple config

2002-11-18 14:36:42
Hi, All!

I am deeply sorry for the stupid question I've got.
I do have
# procmail -v
procmail v3.15.1 2001/01/08

and the next very simple config file (I want the latest message
to be saved completely with both the header and the body):
=====================
# cat /etc/procmailrc
PATH=/bin:/usr/bin:/sbin:/usr/sbin
LOGFILE=/var/log/procmail
VERBOSE=yes

:0 c
* ^To:(_dot_)*report(_at_)pilot(_dot_)gp
* !^X-Loop:(_dot_)*report(_at_)pilot(_dot_)gp
| gzip -c -9 > /tmp/aaa.gz
=====================

I do send Email to report(_at_)pilot(_dot_)gp and I see in the logfile:

=====================
# cat /var/log/procmail
procmail: [10411] Mon Nov 18 23:00:59 2002
procmail: Match on "^To:(_dot_)*report(_at_)pilot(_dot_)gp"
procmail: Match on ! "^X-Loop:(_dot_)*report(_at_)pilot(_dot_)gp"
procmail: Assigning "LASTFOLDER= gzip -c -9 > /tmp/aaa.gz"
procmail: Assigning 
"PATH=/tmp/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11"
procmail: Executing " gzip -c -9 > /tmp/aaa.gz"
From dma_k(_at_)mail(_dot_)ru  Mon Nov 18 23:00:59 2002
 Subject: Test4
  Folder: /var/spool/mail/report                                           1507
=====================

Now, when I do
# ls -l /tmp/aaa*
I get "no file found". What is the problem?
I have tried ":0", ":0 bh", ":0 w", ":0 bhw", ":0:" - nothing worked.
I seem to have missed something in the man, I can't get what.

Thank you for any help.

Dmitry.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>