Koozali.org: home of the SME Server

email attachement problem

Offline calisun

  • *
  • 620
  • +0/-1
email attachement problem
« on: November 13, 2006, 11:20:05 PM »
There is an emplyee at our office here that is trying to email 7.6meg email attachement, the message says (Maximum Attachment Size: 10,485,760 bytes)
When he hits "attach" button, it uploads the file and shows the file as attachement, but when he hits send button, the window just goes white and nothing happens, the email never gets send.
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline byte

  • *
  • 2,183
  • +2/-0
email attachement problem
« Reply #1 on: November 13, 2006, 11:38:46 PM »
The limit is 15MB by default which can be changed via the DB configuration, I would check the /var/log/qpsmtpd/current logs for a message which it may say message too big...don't forget the email overhead including attachment size.

HTH

Edit - As you mention via webmail that would mean you are over the 10MB webmail limit
--[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 calisun

  • *
  • 620
  • +0/-1
email attachement problem
« Reply #2 on: November 13, 2006, 11:54:34 PM »
How can a 7.6MEG attachment be over the limit of 10MEG?
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline byte

  • *
  • 2,183
  • +2/-0
email attachement problem
« Reply #3 on: November 14, 2006, 12:07:21 AM »
Quote from: "calisun"
How can a 7.6MEG attachment be over the limit of 10MEG?


Don't forget it doesn't include any email overheads!
--[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 calisun

  • *
  • 620
  • +0/-1
email attachement problem
« Reply #4 on: November 14, 2006, 12:27:25 AM »
I just checked log files and I found this:

PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 10343505 bytes) in /home/httpd/html/horde/lib/Horde/MIME/Part.php on line 1095

How big are the overheads, and what is the actual attachment size allowed?
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline mmccarn

  • *
  • 2,653
  • +10/-0
email attachement problem
« Reply #5 on: November 14, 2006, 01:10:01 AM »
Here's someone who describes the same symptoms:
http://forums.contribs.org/index.php?topic=34014.0

Who says he fixed it by changing the PHP memory limits, possibly according to this post: http://forums.contribs.org/index.php?topic=33486.0

This is a horde / php / webmail issue, rather than an "email" issue...

Offline byte

  • *
  • 2,183
  • +2/-0
email attachement problem
« Reply #6 on: November 14, 2006, 10:34:16 AM »
Quote from: "mmccarn"

This is a horde / php / webmail issue


People had this problem in the old days of SME when the webmail limit was only 2MB (which you could change) following post above will allow you to send bigger attachments.

I would have said possible a 5/6MB file with a reasonable normal amount of email message would be ok.
--[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 william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
email attachement problem
« Reply #7 on: November 14, 2006, 11:15:27 AM »
Quote from: "calisun"
I just checked log files and I found this:

PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 10343505 bytes) in /home/httpd/html/horde/lib/Horde/MIME/Part.php on line 1095

How big are the overheads, and what is the actual attachment size allowed?


You hit the php 32M default memory limit.

Code: [Select]
memory_limit = {
    my $ml = $php{MemoryLimit} || "32M";
    $OUT .= "$ml";


See this post for the command to use to increase the value..
Regards,
William

IF I give advise.. It's only if it was me....

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Ok so no simple clickety method to change the limits ?
« Reply #8 on: January 14, 2007, 03:39:56 AM »
Why is there not a clickety method or something in the server manager to change the send and receive size limits for email ?

Please explain this to me ?

This is one of the simplest of things needed.
Especially for business use, I want to send someone a cad drawing or some script to have work done on it. I can't even send it. The one script I need someone to work on for me is like 25megs unzipped and I can't send it.

I do not want any limits on my sending capacity or at least I want much much higher limits ?

Is this the only way to fix this is to edit some files ? And These Commands ?

And what happens when I do upgrades? Will those changes be gone and I'll have to do it again ?

Please advise
Thanks

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: Ok so no simple clickety method to change the limits ?
« Reply #9 on: January 14, 2007, 06:54:29 AM »
Quote from: "Agent86"
Why is there not a clickety method or something in the server manager to change the send and receive size limits for email ?

Please explain this to me ?

This is one of the simplest of things needed.
Especially for business use, I want to send someone a cad drawing or some script to have work done on it. I can't even send it. The one script I need someone to work on for me is like 25megs unzipped and I can't send it.

I do not want any limits on my sending capacity or at least I want much much higher limits ?

Is this the only way to fix this is to edit some files ? And These Commands ?

And what happens when I do upgrades? Will those changes be gone and I'll have to do it again ?

Please advise
Thanks


You could always sponser one of the devs to get the work done.  As it has been stated many times, there are many requests that come in, but far few developers to handle the requests, and far too many of us that want something done, but don't want to contribute to the cause.

Your config DB settings are maintained during an upgrade, and they are restored during a restore, so if you make changes, they are retained.

John
......

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Ok so no simple clickety method to change the limits ?
« Reply #10 on: January 14, 2007, 08:03:31 AM »
Quote from: "Agent86"


I do not want any limits on my sending capacity or at least I want much much higher limits ?

Please advise
Thanks


Are these the limits with using an email client and not webmail ?

If so, try..
Code: [Select]
config delprop qmail MaxMessageSize
signal-event email-update
Regards,
William

IF I give advise.. It's only if it was me....

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: Ok so no simple clickety method to change the limits ?
« Reply #11 on: January 14, 2007, 04:57:55 PM »
Quote from: mrjhb3
Quote from: "mrjhb3"


You could always sponser one of the devs to get the work done.  As it has been stated many times, there are many requests that come in, but far few developers to handle the requests, and far too many of us that want something done, but don't want to contribute to the cause.

Your config DB settings are maintained during an upgrade, and they are restored during a restore, so if you make changes, they are retained.

John


I need to do some sponsoring,this is true; and thanks for the info on the DB settings

I'll work on that some and see how it goes.

I'll look more closely into the sponsoring topics I've not had much time to really understand the process etc.

Thanks again.

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: Ok so no simple clickety method to change the limits ?
« Reply #12 on: January 14, 2007, 05:51:20 PM »
Quote from: "william_syd"
Quote from: "Agent86"


I do not want any limits on my sending capacity or at least I want much much higher limits ?

Please advise
Thanks


Are these the limits with using an email client and not webmail ?

If so, try..
Code: [Select]
config delprop qmail MaxMessageSize
signal-event email-update


Well it seemt to be both webmail and client problem as it appears In searching the forums. Except the webmail give a blank page but the client will tells you exceeds the globe size of the server and to try sending smaller file and things like that.
But I think the max size for sending mail by default is 15MB sending size from what I can tell reading the forums thus the edits that have been listed for editing the DB
I know nothing of it but just what I'm reading on it. just fyi
and thanks

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
email attachement size
« Reply #13 on: January 14, 2007, 06:34:26 PM »
Ok so to conclude on the email size limits based on what I've been reading and for  fellow newbies LOL

Read to the end to see william_syd's post of commands and examples which he has corrected me on

But for client sending larger attachment, the following commands did appear to fix things for my client attachments
config delprop qmail MaxMessageSize
signal-event email-update


Anyhow Thats All I know
Thanks

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Ok so no simple clickety method to change the limits ?
« Reply #14 on: January 14, 2007, 07:44:57 PM »
Quote from: "Agent86"
I want to send someone a cad drawing or some script to have work done on it. I can't even send it. The one script I need someone to work on for me is like 25megs unzipped and I can't send it.

I do not want any limits on my sending capacity or at least I want much much higher limits ?


What you should remember is that the email protocol is not designed for transferring huge files as most of the servers in the world have a limit for example I know in the dial up days the limit used to be 2MB these days the general rule is for these days I would say 10/15MB even that is still big in email terms.
--[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!