Help Strip / Remove attachments (Replace with TXT file if Possible)
I hope you can help me out...
What I would like to do is Replace a attachment of certain types IE. EXE, BAT, COM etc with a file such as ATTACHMENT_BLOCKED.TXT which would explain that the file met our blocking restrictions. I'm trying to find a solution using PROCMAIL or SPAMASSASSIN but to no avail so far. I'm a newbie in a sense and procmail is making sense but still very cryptic to me so far. I'm currently using Sendmail as my MTA and Qpopper for my Pop3 checker on a SuSE 9.0 distro. Does anyone have any thoughts or tips on how to go about this? I've Googled my #$@ off but can't find what i'm trying to do. So far i've come up with this to completely remove the file if it has a EXE file for example. :0 B * name=.*\.(exe) { :0 /dev/null } But this does not deliver the message or anything so it's not what i'm lookign for. Thanks alot! Vince |
Hi,
Wondering if anyone found a solution for this question. Would be very interesting and useful. Thanks |
Holy thread resurrection batman... This is a old post, looking at it I see a good 6 years ago.
Anyway, long story short I got it working at the time, I used MimeDefang you can look for it here : http://www.mimedefang.com/ That system was replaced with an Exchange server pushed down from corporate office and i'm in a domino shop now but didn't want you to be left hanging. |
All times are GMT -5. The time now is 02:57 PM. |