Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Chris-M on February 06, 2004, 10:59:37 AM

Title: Email size limit
Post by: Chris-M on February 06, 2004, 10:59:37 AM
I understand that qmail uses the file /var/qmail/control/databytes to limit the size of emails.

I have tried altering this file and restarting qmail but the limit seems to be ignored.

Does SME use some sort of alternative to limit email size?

Any input appreciated!
Thanks
-Chris
Title: Email size limit
Post by: MasterSleepy on February 06, 2004, 12:02:49 PM
Hi,

Some time ago I've find this
/sbin/e-smith/config setprop smtpfront-qmail MaxMessageSize 10M
/sbin/e-smith/signal-event email-update

But I don't test it.

regards.
Title: Email size limit
Post by: Chris-M on February 06, 2004, 12:21:04 PM
thanks, that seems to have done the trick.

Currently it rejects the initial send attempt, it would be nice if a message could be sent to the user explaining why the e-mail won't be sent, is that possible?

Ta
-Chris
Title: Email size limit
Post by: shanen on February 07, 2004, 01:10:25 AM
The sender will get the Delivery Failure message with an explaination why. Are you after something that tells the receiver about the message not getting through?
Title: Email size limit
Post by: Chris-M on February 09, 2004, 11:37:51 AM
Hiya, thanks for the reply.

"The sender will get the Delivery Failure message with an explaination why."

This doesn't appear to be happening for me. It just fails before an email is actually sent (and the e-mail sits in the outbox) and unless you actually double click the failure bottom right of outlook, there is no explanation.
Title: Email size limit
Post by: shanen on February 09, 2004, 12:35:28 PM
What version of SME are you using?
Is your email client using the local SME server as the outgoing mail server?
There is many configuration options available so can you please provide more information...

Shane
Title: Email size limit
Post by: Chris-M on February 09, 2004, 12:57:05 PM
SME 6.03b updated

Outlook 2000 using the SME box as the incoming and outgoing server.

SME E-mail settings
E-mail retrieval mode - SMTP
E-mail to unknown users - Return to Sender
POP and IMAP server access - Allow local
Webmail - Disabled

The only other change I have made is the one mentioned previously in this thread.

Just shout if you need any other settings (pref. tell me where the settings are too ;) ta)

-Chris
Title: sme 6 final... this does not work
Post by: hardijs on February 09, 2004, 05:09:59 PM
tried the
/sbin/e-smith/config setprop smtpfront-qmail MaxMessageSize 10M
with even larger sizes (99M, 199M etc) and it made just not to receive any mails at all unless I put 0M as the size after that receiving a 56 MB mail  attachement was a breese.