Koozali.org: home of the SME Server

webmail attacment problem - missing conf-php

thomas_chan

webmail attacment problem - missing conf-php
« on: November 14, 2006, 04:46:46 PM »
Dear all,

I did the following commands before at SME 6.0 server to increase the attachment size in webmail, however, it didn't work atbin SME 7.0 final version since the event script cannot be found :-

   /sbin/e-smith/config setprop php MaxExecutionTime 1800
   /sbin/e-smith/config setprop php MemoryLimit 100000000
   /sbin/e-smith/config setprop php PostMaxSize 20000000
   /sbin/e-smith/config setprop php UploadMaxFileSize 20000000
   
   /etc/e-smith/events/actions/conf-php   <-------Missing in SME 7

   /etc/init.d/httpd-e-smith graceful

Did anyone can advise me how to solve this problem ?

Offline byte

  • *
  • 2,183
  • +2/-0
webmail attacment problem - missing conf-php
« Reply #1 on: November 14, 2006, 07:38:42 PM »
Moving this topic to the SME Server 7.x forum, it is more appropriate there. Thanks!

Also take a look at this thread...

http://forums.contribs.org/index.php?topic=33486.0
--[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!

thomas_chan

webmail attacment problem - missing conf-php
« Reply #2 on: November 16, 2006, 08:37:51 AM »
Dear Byte,

Thanks for your advise. The attachment files size can send right now as per my following config settings if sent from the multiple files attachment. However, if one file attachment size is larger than 12MB, it still come out the 'page not found' error. I have been double check the PostMaxSize parameter and does anyone can advise any hints to cause this problem ?




config setprop php MemoryLimit nnnn
config setprop php PostMaxSize mmmm
config setprop php UploadMaxFilesize pppp
expand-template /etc/php.ini
/etc/rc7.d/S86httpd-e-smith restart

You can type the following command to show the PHP settings : (Any typing mistake)

config show php
php=service
AllowUrlFopen=Off
MaxExecutionTime=18000
MemoryLimit=1000000000
PostMaxSize=250000000
UploadMaxFilesize=250000000
status=enabled

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: webmail attacment problem - missing conf-php
« Reply #3 on: January 09, 2008, 07:33:10 PM »
Dear Byte,

Thanks for your advise. The attachment files size can send right now as per my following config settings if sent from the multiple files attachment. However, if one file attachment size is larger than 12MB, it still come out the 'page not found' error. I have been double check the PostMaxSize parameter and does anyone can advise any hints to cause this problem ?




config setprop php MemoryLimit nnnn
config setprop php PostMaxSize mmmm
config setprop php UploadMaxFilesize pppp
expand-template /etc/php.ini
/etc/rc7.d/S86httpd-e-smith restart

You can type the following command to show the PHP settings : (Any typing mistake)

config show php
php=service
AllowUrlFopen=Off
MaxExecutionTime=18000
MemoryLimit=1000000000
PostMaxSize=250000000
UploadMaxFilesize=250000000
status=enabled

another question about this:

when typing that command can you tell me what this means

 AllowUrlFopen=Off

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: webmail attacment problem - missing conf-php
« Reply #4 on: January 10, 2008, 05:01:31 AM »
Regards,
William

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

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: webmail attacment problem - missing conf-php
« Reply #5 on: January 14, 2008, 06:25:54 PM »
I can't seem to attach mail larger then about 9MB for some reason

I've got my setting as such:

# config setprop php MemoryLimit 128M
# config setprop php PostMaxSize 256M
# config setprop php UploadMaxFilesize 256M
# config setprop php MaxExecutionTime 600
# expand-template /etc/php.ini
# /etc/rc7.d/S86httpd-e-smith restar

and this seems to have worked great for my joomla media uploading sizes etc.

But for the mail I've read this statement:

config delprop qmail MaxMessageSize 64000000
signal-event email-update

Can't I just use 64MB as with the other commands ?
I just want to know how to increase the attachement size of the webmail

I've read all thru the wiki and forums, and found information and applied it but still can't send email attachements larger then about 9MB or less

Please advise
Thanks


Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: webmail attacment problem - missing conf-php
« Reply #6 on: January 14, 2008, 08:07:13 PM »
... but still can't send email attachements larger then about 9MB or less

If you tell people what happens when you try, they might be able to diagnose what is causing you a problem.

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: webmail attacment problem - missing conf-php
« Reply #7 on: January 14, 2008, 10:09:51 PM »
Thanks for the reply

Well, when trying to attach a file lets say example a .ogg file of about 50MB or so, or perhaps a .zip file, and I tried it on down to about 9MB or under and 9MB seems ok to send, but no more then that.
Also combinations of several image files that total 9MB or so gives me the same results

I get this popup window regarding compose.php etc. see screenshot below

www.iclbiz.com/screen/1a.png



See the attachment section shows I can attach a max file size of 268,435,456 bytes which should be good

See my other screen shot of this section below



I thought I had this figured out and was actually sending large files from work without problem, but now I'm on the local network and noticed this problem when trying to send images to UPS for showing damaged package item for a damage claim.

I don't work at that place anymore so I've not tried to send anything using webmail from outside of the local network for over a year now, but never had any reason to think that I could not send large mail up until now.

that is one of the things I really need the webmail to do is send large file. not necessarily 256MB but I think that is just a side effect of my setting for joomla requirements for my daily video section etc. But in anycase basically this is my symptom and I cannot send large files or an accumulation of files larger then around 9MB I'm not sure the actual file size limit but approx. 9MB is what I believe.

I also get a fetch mail size limit

see here:



Any help would be great.
Thanks for your responses.


« Last Edit: January 14, 2008, 10:41:33 PM by Agent86 »

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: webmail attacment problem - missing conf-php
« Reply #8 on: March 07, 2008, 06:43:03 PM »
I am recieve the message from time to time also:

The message "Onebox - greetings template" from "Tina-Marie Julio <Tina.Julio@j2global.com>" (6939653 bytes) exceeds fetch size limit.

Looks like it's under 7MB why is my webmail having file size limitations, I have made adjustments to anything I could find regarding email size limits, and it appears no effect. even though during webmail sending it says i can send up to 256MB file sizes, but anything over like 7 MB gets rejected.

I just can't seem to figure this out. perhaps and upgrade may help.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: webmail attacment problem - missing conf-php
« Reply #9 on: March 07, 2008, 07:02:14 PM »
I am recieve the message from time to time also:
...
I just can't seem to figure this out.

You've been told many times to report anything which doesn't work correctly via the Bug Tracker. Please do so.

Offline zatnikatel

  • *****
  • 190
  • +0/-0
Re: webmail attacment problem - missing conf-php
« Reply #10 on: March 09, 2008, 09:31:07 PM »
To add to this are you sending to another ISP do you have your own domain name if it is going to a normal ISP there is a 2 meg limit well in australia there is telstra optus AAPT etc all have a 2 meg limit on email attachments
also sending big email attachments is rather slow any way why don't you use FTP i would never send a 50 meg file via email it would take a long time to download
just my 2 cents

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: webmail attacment problem - missing conf-php
« Reply #11 on: March 10, 2008, 03:45:43 AM »
To add to this are you sending to another ISP do you have your own domain name if it is going to a normal ISP there is a 2 meg limit well in australia there is telstra optus AAPT etc all have a 2 meg limit on email attachments
also sending big email attachments is rather slow any way why don't you use FTP i would never send a 50 meg file via email it would take a long time to download
just my 2 cents

Hi, thanks for the response.
I have my own domain, and pretty much whoever I send to, appears to be limited to someplace in the 7mb range either one file or a comibanation of files totalling 7mb+
Not that I need to send large files all the time but on occasion when filing damage claims for ups etc. I send them photos and basically I have to send them individual emails because each photo may be 1.5mb and so I can only send like 3 photos at a time. And this makes it a real pain to file my damage claims.
I could use ftp and I do most of the time, however ups want an email not ftp so I am required to send them a zillion emails at this point.
I'm just trying to trim down some time consuming tasks.
Thanks for the help. I believe I need to update, and perhaps this will be solved.

Offline zatnikatel

  • *****
  • 190
  • +0/-0
Re: webmail attacment problem - missing conf-php
« Reply #12 on: March 10, 2008, 07:44:26 AM »
you should be able to change the size if you edit php.ini and change max file size i think but as you are useing sme you will have to use the cutom templates by default i think php had a limit of 8 meg from memory i run both sme and centos 5 to use sugar crm 5 i had to change the php.ini file

File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
upload_max_filesize = 64M change this to say 32 or 64 meg i used 64 meg for sugar crm on centos 5 as sme server only has php4 and i needed php5 so i had to use centos 5

Offline raem

  • *
  • 3,972
  • +4/-0
Re: webmail attacment problem - missing conf-php
« Reply #13 on: March 10, 2008, 08:13:07 AM »
Many settings are now made using the db command rather than custom templates.
See
http://wiki.contribs.org/DB_Variables_Configuration

This document is not complete, so there are more commands/properties/variables than those listed.
...

Offline zatnikatel

  • *****
  • 190
  • +0/-0
Re: webmail attacment problem - missing conf-php
« Reply #14 on: March 10, 2008, 08:54:13 AM »
I am a old school that is why i would do it that way it would be faster your way as it takes longer with the custom templates that is how i have done it for a while started with the old e-smith version 4 how been using sme server for a long time as well as using centos as sme can not do some things that centos can i like postfix better than qmail i hope version 8 of sme server uses postfix rather than qmail as it is old and there has not been any updates to it for a long time the dev team have done real well with qmail and i use sme a lot and i have made my customers donate to SME as well as i have done it is the best for what it does nothing else can beat it but it would be good if they would change the MTA on it