On Tue, 23 Mar 2004 11:55 am, David Kempe wrote: > Hey sluggers, > I have a fairly nicely working amavisd-new/postfix/spamassassin/av setup > atm and had a request from a client if we can quarantine all image files. > He is trying to limit the porn and keep productivity up :) > I think I could arrange something in the amavis setup that might be > useful - but maybe there is some other package out there. > > does anyone know of a package that filters emails for jpegs etc and > replaces the attachment with a warning, and then quarantines the > attachment for inspection and perhaps further delivery? > it seems a bit beyond what amavis can offer - I think the NSW police do > something simliar (tho they may just block) with a commercial product > called Mimesweeper... > > dave
MailScanner (www.mailscanner.info) can do what you are wanting to do except it's bit of a sledge-hammer approach to a peanut problem. If your mail volume is low-ish, you could probably script something in procmail that could check for file names and maybe use the "file" command to determine the file type regardless of extension (magic isn't it?). Maybe have a look around at packages like MailScanner that offer integrated virus+spam+content filtering. I've had a lot of success with MailScanner and recommend it over other filters I've tried, but the choice is yours. James -- Fortune cookies says: I fear explanations explanatory of things explained. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
