Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Gary 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?
-
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
-
Thanks for the reply - tried setting those parameters - still the same - will not let an attachment go through!
Weird
-
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
-
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
-
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
-
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
-
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