Koozali.org: home of the SME Server

7.4 horde webmail attatchment size issue

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
7.4 horde webmail attatchment size issue
« 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.

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Re: 7.4 horde webmail attatchment size issue
« Reply #1 on: July 15, 2009, 02:40:24 AM »
further testing seems to show the problem is .wmv (windows media files)

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: 7.4 horde webmail attatchment size issue
« Reply #2 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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Re: 7.4 horde webmail attatchment size issue
« Reply #3 on: July 15, 2009, 09:06:09 PM »
Thanks Mary,
do you have a recommeded valus you use on your setups?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: 7.4 horde webmail attatchment size issue
« Reply #4 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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Re: 7.4 horde webmail attatchment size issue
« Reply #5 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

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: 7.4 horde webmail attatchment size issue
« Reply #6 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)
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: 7.4 horde webmail attatchment size issue
« Reply #7 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

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Re: 7.4 horde webmail attatchment size issue
« Reply #8 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.
« Last Edit: July 17, 2009, 12:14:27 AM by dilligaf »