ispCP - Board - Support
webmail in IscCP Omega only allowing 2 meg attachments - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: webmail in IscCP Omega only allowing 2 meg attachments (/thread-2059.html)

Pages: 1 2


webmail in IscCP Omega only allowing 2 meg attachments - NsOmNiAc - 12-30-2007 07:35 PM

Is there a file that needs to be updated to reflect 10 meg file attachments for outgoing mail using webmail instead of the default 2 megs already setup for ispcp Omega? This is also referring to the webmail not standard email. I just want all users to be able to attach over 2 megs if not 15 megs.I'm still combing the forums to find another way but any feedback would be appreciated. I don't believe it's a postfix configuration files that needs to be if so correct me.
Thanks in advance!
N


RE: webmail in IscCP Omega only allowing 2 meg attachments - joximu - 12-30-2007 07:46 PM

Try this

/var/www/fcgi/master/php5/php.ini (if you use php5)

upload_max_filesize = 2M

change to maybe 16M...

Cheers J


RE: webmail in IscCP Omega only allowing 2 meg attachments - NsOmNiAc - 12-30-2007 08:12 PM

joximu Wrote:Try this

/var/www/fcgi/master/php5/php.ini (if you use php5)

upload_max_filesize = 2M

change to maybe 16M...

Cheers J

Already tried updating /var/www/fcgi/master/php5/php.ini
and /var/www/fcgi/master/php4/php.ini
to reflect the following
; Maximum allowed size for uploaded files.
upload_max_filesize = 20M

And restarted apache and it's still not taking the change.
Let me also add the following files were tried once with both files the second time with only one file.
3.5M Pixies - Where Is My Mind.mp3
4.1M JoseGonzales-Teardrop.mp3
The limit is still limited to only 2megs for attachments.
Is there a file that iscCP Omega uses for webmail for attachments and maximum limit???
Thanks in advance,
N


RE: webmail in IscCP Omega only allowing 2 meg attachments - BeNe - 12-30-2007 08:50 PM

I tested the same in the PHP.ini and it does not Work!
Still only 2MB Upload. But Maybe it has something with mod_SSL to do.
My Webmail is only in SSL available.

Greez BeNe


RE: webmail in IscCP Omega only allowing 2 meg attachments - NsOmNiAc - 12-30-2007 08:54 PM

BeNe Wrote:I tested the same in the PHP.ini and it does not Work!
Still only 2MB Upload. But Maybe it has something with mod_SSL to do.
My Webmail is only in SSL available.

Greez BeNe

Currently until things are further working still working in over port 80 for Apache will know what to update I'm pretty sure there might be a file I need to update but can't find it.
THANKS SO MUCH!
N


RE: webmail in IscCP Omega only allowing 2 meg attachments - joximu - 12-31-2007 01:37 AM

http://www.squirrelmail.org/wiki/AttachmentSize

seems to be 3 values that must be high enough...

I googled around but only found theese 3 values to change...

And if I interpret this code correctly then the min-value of theese thre is taken:

(from compose.php of squirrel)
Code:
/* This code is for attachments */
    if ((bool) ini_get('file_uploads')) {

        /* Calculate the max size for an uploaded file.
         * This is advisory for the user because we can't actually prevent
         * people to upload too large files. */
        $sizes = array();
        /* php.ini vars which influence the max for uploads */
        $configvars = array('post_max_size', 'memory_limit', 'upload_max_filesize');
        foreach($configvars as $var) {
            /* skip 0 or empty values, and -1 which means 'unlimited' */
            if( $size = getByteSize(ini_get($var)) ) {
                if ( $size != '-1' ) {
                    $sizes[] = $size;
                }
            }
        }

        if(count($sizes) > 0) {
            $maxsize = '(max. ' . show_readable_size( min( $sizes ) ) . ')' .
                addHidden('MAX_FILE_SIZE', min( $sizes ));
        } else {
            $maxsize = '';
        }

/J


RE: webmail in IscCP Omega only allowing 2 meg attachments - BeNe - 12-31-2007 03:27 AM

I checked also this Site but it does not work Sad

Here are my Master php.ini (php5)
Code:
; Maximum size of POST data that PHP will accept.
post_max_size = 20M

memory_limit = 128M      ; Maximum amount of memory a script may consume (128MB)

; Maximum allowed size for uploaded files.
upload_max_filesize = 20M

Greez BeNe


RE: webmail in IscCP Omega only allowing 2 meg attachments - joximu - 12-31-2007 04:37 AM

Hi guys

I have theese values:
post_max_size 8M
memory_limit 128M
upload_max_filesize 12M

and Webmail tells me the max Size for attachments is 8M - and I could attach a 5MB file...

sorry - I cannot figure out, what the problems are.

Maybe PHP debugging, find out if the php settings in the php.ini are really recognized by php (maybe there is a problem???).

Joximu


RE: webmail in IscCP Omega only allowing 2 meg attachments - BeNe - 12-31-2007 04:47 AM

No Problem - thanks!
I will started to debug this when i have time. It was only a nice2have.
But maybe it has something with a timeout to do..we will see.

Greez BeNe


RE: webmail in IscCP Omega only allowing 2 meg attachments - NsOmNiAc - 12-31-2007 07:51 AM

Yup Yup tried here as well and no luck. But I'm still working on it if I find an answer I will post and let everyone know. FYI using a
debian_version 4.0 release.