procmail
[Top] [All Lists]

Re: Reject exe files

2001-04-20 06:18:35
I have my .procmailrc file as follows in my home directory:

SHELL=/bin/sh
PATH=/bin:/usr/bin:/usr/local/bin
:0 HB
* ^Content-Disposition: attachment;
*filename=".*\.(exe|vbs|shs|com|pif|bat|scr)"
/dev/null

send all attachments mentioned to /dev/null.


At 12:05 PM 4/20/01 +0300, Spyros Dimas wrote:
Hello!

I have installed RedHat Linux 7.0 with sendmail and procmail. But, I
would like to
tell me how to reject the attachments (e.d. .*exe files) who arrived
with a e-mail in my server. Thank you.
<Prev in Thread] Current Thread [Next in Thread>