Matteo Cazzador: > Hi, i need to realize an mailtofax application. > > I need to extract attach from mail on receiving. > > I use postfix on mail server. > > There is some example how do that? > > I need only to now where to insert my extract attach filter script.
1) To manipulate mail before final delivery: http://www.postfix.org/FILTER_README.html http://www.postfix.org/SMTPD_PROXY_README.html 2) To manipulate mail during mailbox delivery, see 'procmail'. In both cases, tools like 'altermime' may be used to remove an attachment. Both 'altermime' and 'procmail' are written in C, and there may be better alternatives by now. Wietse