I want to thanks to the people whom help me and put light
on some points about.
The problem was: F-prot is antivirus which works on input
files but not on stdout. I wanted to save all the messages
in one folder and save the headers of the infected messages
in separate files that named by the $LOGNAME.TheMessageID.
I had done it before with long "sophisticated" recipe - with
help from you, here is the little sharp recipe (;-)
* with ESMTP id \/[^ ]+
ANTIVIRUS="/usr/local/sbin/f-prot -dumb -archive -silent"
* 2^0 $ ! ? $ANTIVIRUS $FILE
* -1^0 $ NOTHING ?? ? /bin/rm $FILE
procmail mailing list