procmail
[Top] [All Lists]

Attachments filter - newbie

2003-05-23 01:17:15
I have this procmail filter for stopping "dangerous" attachments:-

:0w B:
* ! ^FROM_DAEMON
* !^X-Loop: virusfilter
* ^Content-Transfer-Encoding: base64
* name=.*\.(pif|bat|vbs|js)
| ($FORMAIL -r \
        -i"From: post(_at_)mydomain(_dot_)com" \
        -i"Subject: Returned email - file type rejected" \
        -A"X-Loop: virusfilter" ; \
        echo "This is an automated reponse .. blah ...blah")  \
| $SENDMAIL

Question - what actually happens to the email?!  - I've tried putting 
/dev/null or a mailbox onto the end of the filter but it is always 
"skipped"

Also, how do I avoid "Couldn't determine implicit lockfile" ?

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