procmail
[Top] [All Lists]

attachment scanning

2002-08-11 23:46:39
Hi all:

        I`m using metamail to save attachments in a temp folder, so i can 
"F-PROT" 
them.
So, i use something like:

METAMAIL_TMPDIR="$HOME/attachments" 
ATT=`/usr/bin/metamail -w -x -q` 
SCAN=`f-prot $HOME/attachments > /dev/null;  echo $?`
:0 r:
* ! $SCAN ?? 0   ### F-PROT return 0 if attachment is clean ###
! antivirus


It seems work fine, but sometimes, i got this message in the log file:

Ignoring unparsable content-type parameter: '' 

And the email goes (infected sometimes) stright to the account. I guess is 
"flags of metamail" related, but....

Thanks!

Gerardo
_______________________________________________
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>