Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: dilligaf on July 14, 2009, 07:30:10 PM

Title: 7.4 horde webmail attatchment size issue
Post by: dilligaf on July 14, 2009, 07:30:10 PM
I have read the FAQ here, but am not clear on what I should change to solve problem.
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Set_max_email_size

new 7.4 server all updates.
using outlook no problems opening attatchments in e-mail.
using horde it appears that the very small attachments will open fine, but larger ones (8MB+) will go to a page that shows "Diagnose connection problems".

I don't know if I need to change something under the section from the faq page under "Set max email size" or if I need to adjust setting faq page under "Large attachments not displaying in webmail "

thanks in advance for any assistance.
Title: Re: 7.4 horde webmail attatchment size issue
Post by: dilligaf on July 15, 2009, 02:40:24 AM
further testing seems to show the problem is .wmv (windows media files)
Title: Re: 7.4 horde webmail attatchment size issue
Post by: janet on July 15, 2009, 07:51:30 AM
dilligaf

Potentially both and certainly the second one. It depends how big you want attachments to be.
Title: Re: 7.4 horde webmail attatchment size issue
Post by: dilligaf on July 15, 2009, 09:06:09 PM
Thanks Mary,
do you have a recommeded valus you use on your setups?
Title: Re: 7.4 horde webmail attatchment size issue
Post by: janet on July 15, 2009, 09:22:05 PM
dilligaf

Set to suit your needs. For example, if you want to send & receive 100Mb attachments then set the limts a little bigger than that (say 105Mb) to allow for overheads.
Title: Re: 7.4 horde webmail attatchment size issue
Post by: dilligaf on July 16, 2009, 06:33:45 PM
when I do a "/sbin/e-smith/db configuration show"
there is nothing in there referring to show The php maximum file upload size
Title: Re: 7.4 horde webmail attatchment size issue
Post by: janet on July 16, 2009, 07:21:28 PM
dilligaf

Try
db configuration show php

I think there is no default db entry for those settings. A default value is still set though, by the template code. There are many default settings determined by template code for which no db entry exists. That's why you see Howtos that suggest to delete an entry, expand template and restart service, as doing that will set the default value (where the code supports it)
Title: Re: 7.4 horde webmail attatchment size issue
Post by: Stefano on July 16, 2009, 07:38:13 PM
using horde it appears that the very small attachments will open fine, but larger ones (8MB+) will go to a page that shows "Diagnose connection problems".

Quote
or if I need to adjust setting faq page under "Large attachments not displaying in webmail "

I second this one.. I have a customer that handle big attachments and to view them with horde I've done
Code: [Select]
config setprop php MemoryLimit 128M
expand-template /etc/php.ini
sv t httpd-e-smith

since then, no problem at all

HTH
Ciao
Stefano
Title: Re: 7.4 horde webmail attatchment size issue
Post by: dilligaf on July 16, 2009, 08:32:01 PM
doing db configuration show php before changeing entry I see:

[root@aplus-webserver ~]# db configuration show php
php=service
    AllowUrlFopen=Off
    status=enabled


after Stefano recomendation:

[root@aplus-webserver ~]# db configuration show php
php=service
    AllowUrlFopen=Off
    MemoryLimit=128M
    status=enabled

will see if that sorts it out, many thanks.

*confirmed - this solved the issue, thanks again.