|
Hello,
This tutorial is VERY useful, INVALUABLE - so useful that I thought to ask here for some further ideas to expand it.
On Linux, the amavisd-new (http://www.ijs.si/software/amavisd/) is a Perl script used as a link between the mailserver itself (say Postfix) and other various tools: antivirus filters, spam filters, etc.
Is it possible to expand this converter and create an amavisd „filter” from it (suposing we have OOo installed on the same Linux box)?
My idea is the following:
1. An e-mail enters the mailserver, having a Microsoft file attached to it (.doc, .xls, etc.)
2. The MIME attachements are passed through amavisd and are analysed, like regular virus checks;
3. When a Microsoft file is found in attach, it is deattached from the original message;
4. The deattached Microsoft file is converted to its OpenDocument counterpart;
5. The converted OpenDocument file is reattached to the original mail body and sent on the way.
Properly implemented, this would be a GREAT tool to filter out Microsoft proprietary attachements without information loss.
Anyone please know if this would be technically feasible ? Any ideas of some lines of code ?
Regards,
Răzvan
|