Try this instead:
:0 HB
* ^Content-Disposition: attachment;
* filename=".*\.(exe|com|vbs|js)"
| (formail -brt ;\
echo "The message you want to reply with." ;\
echo "Line 2 of auto-reply message." ;\
) | $SENDMAIL -oi -t
I would recommend that you check out the following tool:
http://www.impsec.org/email-tools/procmail-security.html
I have been quite pleased with it.
Dik Santiváñez wrote:
I have this in my .procmail
:0 HB
* ^Content-Disposition: attachment;
* filename=".*\.(exe|com|vbs|js)"
/dev/null
It works GOOD, I want to send a notification to the sender
BEST REGARDS
Ing. Dik Santiváñez C.
Administrador de Red
COES-SINAC
511-4665890 anx 23
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
--
__ _ ____
/ /(_)_ __ _ ___ __/ _ \ __ __ _ _ _
/ / | | '_ \| | | \ \/ /| |/ // \/ _| |/ / /
/ /__| | | | | |_| |> < | |\ \|()||(_| <\ \
\____/_|_| |_|\__,_/_/\_\|_| \_\__/\__|_^\_/_/
mv $win /dev/null
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail