Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: richard.nglb on December 17, 2009, 04:23:45 AM

Title: E-mail overall size or attachment size issue??
Post by: richard.nglb on December 17, 2009, 04:23:45 AM
hello all,

i just install the sme server 7.4 all works fine.

i am testing on the attachment size problem, if i attach a 2000kb file and send it works ok, but if i send anything bigger than that it just give me a blank screen after pressing the send button and after that when i test the inbox, nothing comes in.

please advise.

thanks everybody.
Title: Re: E-mail overall size or attachment size issue??
Post by: johnp on December 17, 2009, 05:28:39 AM
Some info here may help

http://wiki.contribs.org/SME_Server:Documentation:FAQ#Set_max_email_size
Title: Re: E-mail overall size or attachment size issue??
Post by: richard.nglb on December 17, 2009, 07:03:24 AM
hi johnp

thanks for the link. infact i have already went through it many times and did the set mail size but also the same issue.. i wonder where did i go wrong..

cheers!
Title: Re: E-mail overall size or attachment size issue??
Post by: Stefano on December 17, 2009, 08:18:45 AM
Quote
thanks for the link. infact i have already went through it many times and did the set mail size but also the same issue.. i wonder where did i go wrong..

please report any issue in bugzilla, thank you
Title: Re: E-mail overall size or attachment size issue??
Post by: janet on December 17, 2009, 08:48:59 AM
richard.nglb

Did you follow the db commands with
signal-event email-update

and if it still doesn't work do
signal-event post-upgrade
signal-event reboot
Title: Re: E-mail overall size or attachment size issue??
Post by: richard.nglb on December 17, 2009, 10:47:20 AM
hi Mary

yes i done that too including reconfigure and reboot... but still not ok. i just have to try my luck again. thanks!
Title: Re: E-mail overall size or attachment size issue??
Post by: Stefano on December 17, 2009, 02:47:49 PM
i just have to try my luck again. thanks!

it's not a question of luck.. please, if something doesn't work as expected, raise a bug; you'll be steered in the right direction.
please remember to post here the reference for future readers

Thank you
Title: Re: E-mail overall size or attachment size issue??
Post by: janet on December 17, 2009, 05:34:34 PM
richard.nglb

You need to tell us exactly what commands you issued, and it's more accurate if you copy and paste from your history list in a putty window.
Title: Re: E-mail overall size or attachment size issue??
Post by: richard.nglb on December 18, 2009, 09:31:47 AM
hi Mary

here is what i get after setting and reconfigure everything.

db configuration show php
php=service
    AllowUrlFopen=Off
    UploadMaxFilesize=15M

db configuration show qmail
qmail=service
    MaxMessageSize=15000000
    status=enabled

db configuration show clamav
clamav=service
MaxFileSize=15M

db configuration show qpsmtpd
qpsmtpd=service
        MaxScannerSize=15000000

i am only trying to attach a test mail with a slightly over 3mb file and it freeze and give me blank screen while sending. anything lower than 3mb is fine.









Title: Re: E-mail overall size or attachment size issue??
Post by: janet on December 18, 2009, 02:43:20 PM
richard.nglb

Try entering your values in the form,
15000000
ie
UploadMaxFilesize=15000000
MaxFileSize=15000000

Quote
I am only trying to attach a test mail with a slightly over 3mb...

What email client are you using to do this ?
Try using webmail & report results (change values as above first).

From http://forums.contribs.org/index.php/topic,34550.msg149373.html#msg149373
you also need to do
config setprop php MemoryLimit 15000000
config setprop php PostMaxSize 15000000
config setprop php UploadMaxFilesize 15000000
expand-template /etc/php.ini
/etc/rc7.d/S86httpd-e-smith restart

Title: Re: E-mail overall size or attachment size issue??
Post by: mmccarn on December 18, 2009, 04:48:37 PM
You should get some indication of what is causing this problem from one of the following log files:

- /var/log/qmail/current
- /var/log/clamd/current
- /var/log/qpsmtpd/current
- /var/log/spamd/current

In case your problems occur when using webmail:
- /var/log/messages (php errors go here)
- /var/log/httpd/error_log (apache errors go here)