Mark Martinec wrote: > Terry, > > >> Can Amavis be configured to add a header that lists the various mime >> types that the message contains? >> > > Not off-the shelf. You may add a custom hook (a perl subroutine) > which would traverse the MIME object and insert a required > header field. Possible, but not trivial. > > >>>> I'd like to add a postfix header check for some file types (for >>>> example if the >>>> email contains a Word Doc file or spreadsheet). >>>> >>> postfix can do it for you. email postfix group. >>> >> Postfix doesn't parse MIME types. >> > > It does understand MIME sub-headers, see (5) HEADER_CHECKS man page: > I probably shouldn't have said "mime types". Yes, Postfix will parse mime headers, but I don't trust it to figure out what types of binaries the message actually contains.
I'd rather do it in Amavis, which seems to be much better at figuring out what's actually in the message. Really nice software, BTW! Terry ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/