Hi! After some google search, I find a product which will do exactly what I need, it is a SMTP proxy that sit between postfix and amavisd-new
http://viraj.org/ytnef_smtpd/ I'll test it today Eddy ----- Message d'origine ----- De : "Eddy Beliveau" <[EMAIL PROTECTED]> À : <amavis-user@lists.sourceforge.net> Envoyé : 20 juin 2007 14:21 Objet : [AMaViS-user] Can amavisd-new detach any TNEF attachments > Hi! > > We are currently using Postfix 2.3.8 with amavisd-new 2.4.5 and everything > is working well. Thanks. :-) > > We are receiving some TNEF attachments that some of our users cannot > opened. > > I just send the attached email on another forum and here is my > interpretation of the proposed solution: > > postfix > -> filter:10023 [ripMIME + alterMIME] > -> amavisd:10024 [clamd + spamassassin] > -> postfix:10025 (reinjection) > -> lmtp (cyrus) > > Before trying to wrote that filter and reinventing the wheel, > do you know if amavisd-new can do it ? > > I know that amavisd-new already detach any TNEF attachments, > can it replace the original email with the now extracted files ? > > Any hints will be appreciated. > > I'm sure other people have the same need as this one. > > Many thanks in advance > Eddy > > ----- Message d'origine ----- > De : "Eddy Beliveau" >>> How can I extract documents from the TNEF attachments >>> and then replace the original email so it would be >>> transparent to final receiver. > > De : "Paul L Daniels" >> What you're looking for is a rather complex piece of software, or at >> least >> a script of sorts. My initial idea would be to use ripMIME to extract >> the >> files from the TNEF archive and then use alterMIME to replace the TNEF >> (winmail.dat) with the now extracted files. > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > 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/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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/