(procmail v3.22 2001/09/10)
SHELLMETAS
SHELL=/bin/sh
VERBOSE=yes
:0 c
* < 100000
{
:0: $HOME/raw_big$LOCKEXT
* > 20000
| gzip -9fc >> $HOME/raw_big.gz
:0E: $HOME/raw$LOCKEXT
| gzip -9fc >> $HOME/raw.gz
}
VERBOSE=no
gives this:
procmail: [83515] Wed Sep 3 16:58:46 2003
procmail: Match on "< 100000"
procmail: Forking "procmail"
procmail: Assigning "VERBOSE=no"
procmail: [83517] Wed Sep 3 16:58:46 2003
procmail: No match on "> 20000"
procmail: Locking "/home/x/xxxxx/raw.lock"
procmail: Executing "gzip,-9fc,>>,/home/x/xxxxx/raw.gz"
: No such file or directory
procmail: Non-zero exitcode (1) from "gzip"
procmail: Assigning "LASTFOLDER=gzip -9fc >> /home/x/xxxxx/raw.gz"
procmail: Unlocking "/home/x/xxxxx/raw.lock"
procmail: Assigning "VERBOSE=no"
The ~/raw.gz-file (600) remains 0 bytes.
Because of the fork,
VERBOSE=no
appears twice, and 2 copies were delivered.
What to do?
--
Affijn, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail