jc, > Is it possible to compress attachments with amavisd as Mailscanner does ? > It 's very useful for saving bandwith and disk space.
This is not currently available, at least not directly. Amavisd itself offers no (or very limited) capability to modify mail body, the only available built-in body modification is pushing an entire original message to an attachment, the so called poor man's "defanging". There is an interface to an external 'defanging' program available. Currently it is usually used to invoke altermime external program directly from amavisd. Such external program is free to modify mail in any way it wants, the result is fed on stdout back to amavisd, which then forwards it to MTA. By replacing altermime with some other program or script, it would be possisible to achieve what you want, without modification to amavisd. Search release notes for: - provided interface code to allow mangling/defanging/sanitation to be performed by an external utility... Mark ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
