Hi,
I'm new to Procmail. I'm running Sendmail 8.10. I've installed procmail 3.15.
created a /etc/procmailrc file so I can filter .vbs files to all users.
1 - what do I need to do to have procmail work with sendmail
2 - this is my procmailrc file, will this work???? or there is an easier way of
doing this.
I tried sendding myself an email with a .vbs attachment, I still got the
attachment.
SHELL = /bin/sh
PATH = /bin:/usr/bin:/usr/local/bin
SENDMAIL = /usr/sbin/sendmail
LOGFILE =
VERBOSE = ON
:0
$DEFAULT
*^Content-type: (multipart/mixed|application/octet-stream)
{
:0 B
*^Content-Disposition: (attachment|inline)
*filename=".*\.(vbs|wsf)"
{
SHELL=/bin/sh
:0 fbw
|/usr/bin/sed -e
's/\([nN][aA][mM][eE]=".*\.[vV][bB][sS]\)"/\1.txt"/' \
-e
's/\([nN][aA][mM][eE]=".*\.[wW][fF][sS]\)"/\1.txt"/'
}
}
Thank you.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail