Koozali.org: home of the SME Server

attachment size limit

Offline fastautomation

  • **
  • 31
  • +0/-0
attachment size limit
« on: June 19, 2008, 09:47:11 AM »
Can anyone help, I'm trying to use scan to e-mail on a digital photocopier. I'm using the sme server as the smtp gateway for the copier and when e-mailing it says that the server has rejected the e-mail because the attachment is to big. The attachment is only about 300kb and I've set the attachment limit on the server to 15Mb. Please can someone give me any suggestions as I'm out of things to try.

Offline mgic_box

  • ***
  • 52
  • +0/-0
Re: attachment size limit
« Reply #1 on: June 19, 2008, 11:07:58 AM »
Can anyone help, I'm trying to use scan to e-mail on a digital photocopier. I'm using the sme server as the smtp gateway for the copier and when e-mailing it says that the server has rejected the e-mail because the attachment is to big. The attachment is only about 300kb and I've set the attachment limit on the server to 15Mb. Please can someone give me any suggestions as I'm out of things to try.




 For the limitation of emails, it's 15MB by default. You can change this setting with


Code: [Select]

config setprop qmail MaxMessageSize 35000000
signal-event email-update



Offline fastautomation

  • **
  • 31
  • +0/-0
Re: attachment size limit
« Reply #2 on: June 19, 2008, 11:11:32 AM »
I've changed it to different sizes but it makes no difference. Is there a way to remove this limitation?

Offline mgic_box

  • ***
  • 52
  • +0/-0
Re: attachment size limit
« Reply #3 on: June 19, 2008, 11:13:43 AM »
I've changed it to different sizes but it makes no difference. Is there a way to remove this limitation?

 I Do not Know, May some one else can Help....???

 Sorry for not helping more...

 Regards.


Offline byte

  • *
  • 2,183
  • +2/-0
Re: attachment size limit
« Reply #4 on: June 19, 2008, 12:23:41 PM »
Please explain in more detail i.e are you using the webmail to attach files ? or are you using an email client to attach and send ?

If its the webmail side then the default attachment size is 10MB (Search forum to find out how to tweak)

If its the email client side then 15MB is the default and to change the value do as per mgic_box  reply
--[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 fastautomation

  • **
  • 31
  • +0/-0
Re: attachment size limit
« Reply #5 on: June 19, 2008, 03:55:32 PM »
It's a digital photocopier that I'm trying to send from, all the copier asks for is and smtp server. If I use our ISP's smtp server, it works fine but not when I use the sme server as the smtp server.

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: attachment size limit
« Reply #6 on: June 19, 2008, 06:04:18 PM »
You might do a:

Code: [Select]
config show qmail
to verify what the setting is.

(If you by chance put in 15 or 15000 instead of 15000000, that might explain it.)

My test server returns:
[root@testserver ~]# config show qmail
qmail=service
    MaxMessageSize=15000000
    status=enabled

Also remember these commands are case sensitive

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: attachment size limit
« Reply #7 on: June 19, 2008, 07:53:19 PM »

Offline mmccarn

  • *
  • 2,657
  • +10/-0
Re: attachment size limit
« Reply #8 on: June 19, 2008, 10:45:40 PM »
I've updated the wiki page on email size limits: http://wiki.contribs.org/Email#Set_max_email_size

Are you certain that your emails are not being blocked by the qpsmtpd check_basicheaders plugin (which rejects all email that does not contain a valid date and a valid "From:" header)?

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: attachment size limit
« Reply #9 on: June 19, 2008, 10:57:54 PM »
mmccarn,

Your wiki edit looks good to me. I wonder if fastautomation could post his whole reject message from the copier?

It is interesting that all the different default settings have not been standardized as it does not make too much sense to have one be 10mg and another be 25mg.

Offline zatnikatel

  • *****
  • 190
  • +0/-0
Re: attachment size limit
« Reply #10 on: June 19, 2008, 11:31:11 PM »
It's a digital photocopier that I'm trying to send from, all the copier asks for is and smtp server. If I use our ISP's smtp server, it works fine but not when I use the sme server as the smtp server.

do you have your own domian name and if you are sending out straight though sme and you have a dhcp ipaddress some other isp will reject it yahoo is bad on this one you could also setup SME in the email part to use your ISP smtp server if you like 

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: attachment size limit
« Reply #11 on: June 20, 2008, 12:19:01 AM »
I've changed it to different sizes but it makes no difference.

Then chances are you've diagnosed the problem incorrectly. Why do you think that attachment size limitation is the problem? Have you looked in the qpsmtpd log file? If so, what exactly does it say?