Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: wxp on June 05, 2003, 04:35:35 PM

Title: Email Attachment Size
Post by: wxp on June 05, 2003, 04:35:35 PM
Hi!

I followed hawk suggestion which was:

/sbin/e-smith/db configuration setprop smtpfront-qmail MaxMessageSize
/sbin/e-smith/signal-event email-update

to restrict the attachment size in an email.
Apparently it worked. Except the sender doesn't receive an email saying the attachment was too big...

Any idea why ?

Thanks
Title: Re: Email Attachment Size
Post by: Nathan Fowler on June 07, 2003, 07:25:55 AM
Just so you understand why no one has answered you:

I too have this problem, it appears to be a problem with qmail or the smtp handler itself not generating a bounce message.  Here's the kicker, I've configured obtuse-smtpd and qmail to deny messages over 8MB.

You would be lead to believe this is a good idea, with respsect to your box.  However, here's the Catch-22:

Becauese the messages don't bounce, the remote mailer daemon attemps to keep retrying until eventually it times out.  It's a HUGE bandwidth waste.  It will continue to transmit the message/attachment and only cut it off after it has exceeded the defined quota.  No bounce messages will be generated and the remote MTA may try again, up to X times (Real-world, I've seen about 6, it depends on how the remote MTA is configured).

I'd love to see a response where someone could generate a bounce.  I'm even open to source-code patching.
Title: Re: Email Attachment Size
Post by: Cyrus Bharda on October 28, 2003, 04:32:17 AM
Nathan,

That's wierd, I too am looking for a solution, but saw this post:

http://myezserver.com/phpBB2/viewtopic.php?t=453

Which contradicts what you and wxp posted?

Cyrus Bharda