Current time: 11-27-2024, 12:36 AM Hello There, Guest! (LoginRegister)


Post Reply 
webmail in IscCP Omega only allowing 2 meg attachments
Author Message
NsOmNiAc Offline
Newbie
*

Posts: 9
Joined: Dec 2007
Reputation: 0
Post: #1
webmail in IscCP Omega only allowing 2 meg attachments
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
(This post was last modified: 12-30-2007 07:41 PM by NsOmNiAc.)
12-30-2007 07:35 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: webmail in IscCP Omega only allowing 2 meg attachments
Try this

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

upload_max_filesize = 2M

change to maybe 16M...

Cheers J
12-30-2007 07:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
NsOmNiAc Offline
Newbie
*

Posts: 9
Joined: Dec 2007
Reputation: 0
Post: #3
RE: webmail in IscCP Omega only allowing 2 meg attachments
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
(This post was last modified: 12-30-2007 08:21 PM by NsOmNiAc.)
12-30-2007 08:12 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: webmail in IscCP Omega only allowing 2 meg attachments
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
12-30-2007 08:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
NsOmNiAc Offline
Newbie
*

Posts: 9
Joined: Dec 2007
Reputation: 0
Post: #5
RE: webmail in IscCP Omega only allowing 2 meg attachments
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
12-30-2007 08:54 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: webmail in IscCP Omega only allowing 2 meg attachments
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
12-31-2007 01:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #7
RE: webmail in IscCP Omega only allowing 2 meg attachments
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
12-31-2007 03:27 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: webmail in IscCP Omega only allowing 2 meg attachments
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
12-31-2007 04:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #9
RE: webmail in IscCP Omega only allowing 2 meg attachments
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
12-31-2007 04:47 AM
Visit this user's website Find all posts by this user Quote this message in a reply
NsOmNiAc Offline
Newbie
*

Posts: 9
Joined: Dec 2007
Reputation: 0
Post: #10
RE: webmail in IscCP Omega only allowing 2 meg attachments
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.
(This post was last modified: 12-31-2007 12:00 PM by NsOmNiAc.)
12-31-2007 07:51 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 10 Guest(s)