On 2007-07-15 08:36:22 +0100, Anilkumar wrote: > I am planning to extract the attachment from E-mail > and stored in a different place - Web server, > and just want to give link to that attachment in mail, > > this way mail will come faster and saves lots of > space. > > How shall is start for this.
To parse and modify MIME messages, take a look at MIME-tools. In qpsmtpd the obvious place to modify messages is the data_post hook. The $transaction object has methods for doing this. I've included a very simple example (addsig) in a talk I held about qpsmtpd in 2004: http://www.hjp.at/projekte/qpsmtpd/tutorial.rxml hp -- _ | Peter J. Holzer | I know I'd be respectful of a pirate |_|_) | Sysadmin WSR | with an emu on his shoulder. | | | [EMAIL PROTECTED] | __/ | http://www.hjp.at/ | -- Sam in "Freefall"
signature.asc
Description: Digital signature