Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: jfarschman on January 23, 2006, 07:55:37 PM

Title: SME7 - Email Maximum Attachment Size
Post by: jfarschman on January 23, 2006, 07:55:37 PM
Hey,

  Is there a max attachment size limit in SME 7?  I just tried sending a message that was pretty darned big.  (7MB) and it had no problem with this.  It took a little time... but delivered.  In there logs there is an entry:

@4000000043d5251138a722bc 20075 max_size: 0 / size: 9458038

How do we control this?  In 6.x we would just set the MaxMessageSize.

/sbin/e-smith/config setprop smtpfront-qmail MaxMessageSize 5000000
/sbin/e-smith/signal-event email-update

Thanks.
Title: SME7 - Email Maximum Attachment Size
Post by: byte on January 24, 2006, 01:50:45 PM
Haven't tried this on my box yet, thanks goes to Shad & (dev team)

Try the following:

config setprop qmail MaxMessageSize x
signal-event email-update

qpsmtpd should respect qmail's databytes control file.
Title: SME7 - Email Maximum Attachment Size
Post by: jfarschman on January 24, 2006, 03:42:48 PM
Byte,

  Thanks.  It worked  :-D

  I now receive the following message in Thunderbird:

"The size of the message you are trying to send exceeds the global size limit (xxxx bytes) of the server.  The message was not sent, try to reduce the message size and try again."

  I appreciate the help.  I've always been a little nervous about denial of service attacks and in this office we use VoIP and a large message can have an effect on our call quality.  Thanks again.
Title: SME7 - Email Maximum Attachment Size
Post by: SMESA on February 10, 2006, 09:23:03 AM
Will this work for both incoming and outgoing attachment file sizes?

Thanks
Title: SME7 - Email Maximum Attachment Size
Post by: jfarschman on February 10, 2006, 02:26:09 PM
SMESA,

  Yes.  It works.... or it worked when I sent myself a large message.