On 6/19/10 6:49 PM, Jason Klotzer wrote: > Hello, > > > > The purpose of the plugin is to replace a large email attachment with a link > to the file that was originally attached- that way the messages won't be > bounced from larger providers who support smaller email messages (10MB). I > realize sending such messages through email is very inefficient, but > unfortunately many users don't understand this concept. > > amavis can quarantine an email with a size > x. you can then allow the user to get a report, or notification of that large email. since then (can or can't?) release the email due to its size, you might assemble the email to a tmp file on the server, use mime tools to parse it.
All very bad idea. other option would be to use amavis.custom hooks. again, use mime tools to disassemble the email, and replace the file with a html link. All very bad idea. google for amavisd.custom, altermime, ripmime. All very bad idea. in some cases, you WILL end up with an email that will never be readable, since not all MTA's, and clients create RFC compliant emails. And, some email clients (like outlook) go to great pains to re-assemble broken emails. -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 > *| *SECNAP Network Security Corporation * Certified SNORT Integrator * 2008-9 Hot Company Award Winner, World Executive Alliance * Five-Star Partner Program 2009, VARBusiness * Best Anti-Spam Product 2008, Network Products Guide * King of Spam Filters, SC Magazine 2008 ______________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ ______________________________________________________________________ ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user Please visit http://www.ijs.si/software/amavisd/ regularly For administrativa requests please send email to rainer at openantivirus dot org