Koozali.org: home of the SME Server

Attachment Size limit - a definitive answer?

Gary

Attachment Size limit - a definitive answer?
« on: February 11, 2004, 02:38:35 PM »
Scoured the forums for a solution - the question has been asked many times but never a solution that works.

I use SME5.6 - users on the network despite being told otherwise are sending emails with attachments as large as 128MB's and it's driving me crazy.

Followed the
/sbin/e-smith/config setprop smtpfront-qmail MaxMessageSize 10M
/sbin/e-smith/signal-event email-update

That just stops all email going out regardless of any attachment. If I change the figure to say 5000 it allows email to go out bon with any attachement whatsoever - surely there is a solution to what must be a very common requirement?

Offline byte

  • *
  • 2,183
  • +2/-0
Attachment Size limit - a definitive answer?
« Reply #1 on: February 11, 2004, 03:38:26 PM »
Hi,

I asked the oringal question few months ago, I found setting the limit to 10M was not good enough as you have to take into consideration the message size as well as the attachment.

I use 20M as my limit which allows a 7M file and a message to get through.

Another note I think the format 10M is wrong as I had the very same problem I set to 10000M and worked great.

Hope this helps you!

Byte
--[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!

Gary

Mail
« Reply #2 on: February 11, 2004, 04:27:11 PM »
Thanks for the reply - tried setting those parameters - still the same - will not let an attachment go through!

Weird

Offline byte

  • *
  • 2,183
  • +2/-0
Attachment Size limit - a definitive answer?
« Reply #3 on: February 11, 2004, 04:56:01 PM »
Have you checked the smtp-qmail log under /var/log? What does that say? When I was testing this I watched the logs as i sent the message!

It might be that your limit is not set high enough?

HTH

Byte
--[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!

matt

Attachment Size limit - a definitive answer?
« Reply #4 on: February 12, 2004, 06:06:24 PM »
I had also been having some problems emailing large atachments so I did as suggested in this thread and increased the attachment limit to 10000M, but now incoming messages are being rejected and I cannot send outgoing messages at all with attchments.

HELP, I wish I had just left things alone, this is our main server, not a test one can anyone tell me how to put things back the way they were.  

Cheers Matt

Offline byte

  • *
  • 2,183
  • +2/-0
Attachment Size limit - a definitive answer?
« Reply #5 on: February 12, 2004, 07:14:59 PM »
Matt,

First you shoulda tried a test machine  :hammer:  with the commands or anything

Any way this command should sort it...

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

HTH

Byte
--[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 Matt

  • **
  • 63
  • +0/-0
    • http://www.khwp.org.uk
Attachment Size limit - a definitive answer?
« Reply #6 on: February 12, 2004, 08:01:50 PM »
Cheers Byte

It seems to have done the trick, I have tried sending an email with attachment and it worked.  I must stop fiddleing with the working server and setup a test.  

Matt

Offline raem

  • *
  • 3,972
  • +4/-0
Attachment Size limit - a definitive answer?
« Reply #7 on: February 12, 2004, 08:15:54 PM »
I did a search on MaxMessageSize and found:

http://forums.contribs.org/index.php?topic=19429.msg76955#msg76955

and this

http://forums.contribs.org/index.php?topic=19429.msg76955#msg76955

Do
/sbin/e-smith/db configuration setprop smtpfront-qmail MaxMessageSize 11000000

/sbin/e-smith/signal-event email-update
ie use 11000000
rather than
11M

You should make your size setting slightly larger than the attachment size limit required.

Regs
Ray
...