Click to See Complete Forum and Search --> : how to filter mail attachments
tkalayci
05-10-2001, 09:55 AM
Hi,
I use sendmail 8.11.2 under RH 7.1
I want to reject emails containing exe or avi etc. files in their attachments. How can I do this. Any help will be appriciated.
Thankx
tulga
fancypiper
05-10-2001, 03:40 PM
I think procmail (http://www.procmail.org/) may do thejob for you.
klamath
05-10-2001, 06:37 PM
In particular, this set of procmail scripts looks very cool:
http://www.impsec.org/email-tools/procmail-security.html
I personally find writing procmail receipes is about as fun as sticking toothpicks under my fingernails, so finding pre-made stuff like that is cool.
fancypiper
05-10-2001, 07:19 PM
I found most of the stuff I use in my .procmailrc by searching google for linux procmail
I didn't find that one, though. Thanks! :cool:
freebsd
05-11-2001, 12:48 AM
I suggest maildrop -> http://www.flounder.net/~mrsam/maildrop/ over procmail. Though, it depends on how much you know about regular expression. Procmail has more docs all over the web and is easier to configure. Maildrop claims to be more efficient (less memory used) and more robust.
micxz
05-14-2001, 05:52 PM
I wouln't open any email attachments! Just setup an upload script on your web server for your friends to send you files?
;)
[ 14 May 2001: Message edited by: micxz ]