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