Results 1 to 10 of 10
I have an issue with my Debian Postfix mail server running Roundcube for webmail. When web clients receive an attachment over 900K in size, they cannot open the email message. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-13-2007 #1Just Joined!
- Join Date
- Sep 2006
- Posts
- 21
Postfix webmail attachments won't open
I have an issue with my Debian Postfix mail server running Roundcube for webmail. When web clients receive an attachment over 900K in size, they cannot open the email message. They get an "Internet Explorer cannot display the webpage" error if using IE, or just a blank page if using Mozilla Firefox. If they use an IMAP client like Outlook to get their email then there is no problem with the attachments.
Has anyone seen this before and or know of a fix?
- 02-13-2007 #2
- 02-13-2007 #3Just Joined!
- Join Date
- Sep 2006
- Posts
- 21
I don't see an php.ini file, but I have /var/www/roundcube/config/db.inc.php and /var/www/roundcube/config/main.inc.php.
In the db.inc.php there is a line that reads:
Is that where the limitation is set?Code:// maximum length of a query in bytes $rcmail_config['db_max_length'] = 512000; // 500K
Any help would be greatly appreciated.
- 02-13-2007 #4
Your php.ini will be in your php directories, you can find it with
orCode:locate php.ini
At least this is where I think this limitation is being set. That specific limitation looks like a sql query length limit.Code:find / -name php.ini
- 02-13-2007 #5Just Joined!
- Join Date
- Sep 2006
- Posts
- 21
Ok I found the file. It is huge and difficult to parse through. Here's two interesting lines I found:
Code:; Maximum size of POST data that PHP will accept. post_max_size = 8M
But both of those values are larger than the attachment size that will work.Code:; Maximum allowed size for uploaded files. upload_max_filesize = 2M
Any ideas? I could email you the entire file if you needed it.
- 02-13-2007 #6
Hm maybe it's apache? Take a quick peruse through your httpd.conf for directives that look like they might be causing it.
- 02-13-2007 #7Just Joined!
- Join Date
- Sep 2006
- Posts
- 21
httpd.conf was only there for backwards compatibility but I parsed apahe2.conf. I didn't see anything listed there for file restrictions.
- 02-14-2007 #8
- 02-14-2007 #9Just Joined!
- Join Date
- Sep 2006
- Posts
- 21
I think I found the solution in the roundcube forum:
http://roundcubeforum.net/forum/index.php?topic=671.0
I have changed the files he mentions in this post. Is there a way to restart roundcube without having to reboot the server?
v/r
- Bob
- 09-26-2007 #10Just Joined!
- Join Date
- Sep 2007
- Posts
- 1
helps a lot
thnx dude, it helps me a lot
and I save a time


Reply With Quote
