Koozali.org: home of the SME Server

SME7 - Email Maximum Attachment Size

Offline jfarschman

  • *
  • 406
  • +0/-0
SME7 - Email Maximum Attachment Size
« 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.
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com

Offline byte

  • *
  • 2,183
  • +2/-0
SME7 - Email Maximum Attachment Size
« Reply #1 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.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline jfarschman

  • *
  • 406
  • +0/-0
SME7 - Email Maximum Attachment Size
« Reply #2 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.
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com

SMESA

SME7 - Email Maximum Attachment Size
« Reply #3 on: February 10, 2006, 09:23:03 AM »
Will this work for both incoming and outgoing attachment file sizes?

Thanks

Offline jfarschman

  • *
  • 406
  • +0/-0
SME7 - Email Maximum Attachment Size
« Reply #4 on: February 10, 2006, 02:26:09 PM »
SMESA,

  Yes.  It works.... or it worked when I sent myself a large message.
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com