RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Older Versions > Release Candidate 1

For more information about the ads and why they're here, please see the FAQ
Reply
  #11  
Old 11-01-2007, 04:55 PM
Registered User
 
Join Date: May 2007
Posts: 172
Downloads: 0
Uploads: 0
Default Re: Issue uploading file attachments..

Quote:
When I try to send the email, it sits for a while with the spinning "Sending Message..." alert, but then the alert just disappears and the message never sends..
check your error log. i think you will see an out of memory error like this http://roundcubeforum.net/forum/index.php?topic=1811.0
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 11-12-2007, 03:31 PM
Registered User
 
Join Date: Oct 2007
Posts: 5
Downloads: 0
Uploads: 0
Default Re: Issue uploading file attachments..

I have made a sensational discovery (:-):

With Firefox there's no problem to send emails with greater attachments. The upload is very big, the max_execution_time from 120s is sufficient. The problem happens in my environment only with Opera 9.22. With Opera it's not possible to upload attachments greater than (apr.) 200K. Its mysterious! The same OS on client-side, the same mailserver, the same preferences in both browsers (esp. proxy server) ...


Here is my .htaccess:
Code:
<IfModule mod_php5.c>
 php_flag   display_errors Off
 php_flag   log_errors   On
 php_value   error_log    logs/errors
 php_value   upload_max_filesize   10M
 php_value   post_max_size  20M
 php_value   memory_limit  256M
 php_value   max_execution_time   120
</IfModule>
Best regards,
Heidrun
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 11-25-2007, 08:51 AM
fqa fqa is offline
Registered User
 
Join Date: Nov 2007
Posts: 1
Downloads: 0
Uploads: 0
Default Re: Issue uploading file attachments..

here is my input:

i've been struggling with the same problems the last day and at last took the time to read all the error logs.

I'm using WinXPSP2x64, Opera9.23, RC-0.1RC-2, hMailServer, Apache2.2.4/php5.2.4, MySql5

php memory exhaust etc. is solved by editing in php.ini and .htaccess-files (plural!) AND the mailserver settings!;

things i checked:
first off, roundcube\config\db.inc.php, main.inc.php
$rcmail_config['db_max_length'] = 81920000; (dont actually know how much this helps with basic settings...)
$rcmail_config['debug_level'] = 4; (good for debugging!)
$rcmail_config['enable_caching'] = FALSE;
$rcmail_config['default_host'] = '<hostname>';
$rcmail_config['default_port'] = 143;
$rcmail_config['username_domain'] = '<hostname>';
$rcmail_config['smtp_server'] = '<hostname>';
$rcmail_config['smtp_port'] = 25;
$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';
$rcmail_config['smtp_auth_type'] = ''; (leave empty!!)
$rcmail_config['session_lifetime'] = 10;
$rcmail_config['des_key'] = 'rc.rc-2!24ByteDESkey*Str';

php.ini
safe_mode = Off
file_uploads = On
upload_tmp_dir = "<some existing absolute path>"
upload_max_filesize = 128M
error_reporting = E_ALL (good for debugging!)
post_max_size = 32M
extension=php_imap.dll
extension=php_openssl.dll
SMTP = <mail server hostname>
smtp_port = 25
sendmail_from = <your email address?>
sql.safe_mode = Off
session.save_path = "<some existing absolute path>" (unsure of this one)
max_execution_time = 600
max_input_time = 600
memory_limit = 128M

roundcube\.htaccess
AddType text/x-component .htc
<IfModule mod_php4.c>
php_flag display_errors Off
php_flag log_errors On
php_value error_log logs/errors
php_value upload_max_filesize 128M
php_value post_max_size 32M
php_value memory_limit 128M
</IfModule>
<IfModule mod_php5.c>
php_flag display_errors Off
php_flag log_errors On
php_value error_log logs/errors
php_value upload_max_filesize 128M
php_value post_max_size 32M
php_value memory_limit 128M
</IfModule>
<FilesMatch "(\.inc|\~)$">
Order allow,deny
Deny from all
</FilesMatch>
Order deny,allow
Allow from all

roundcube\logs\.htaccess, roundcube\temp\.htaccess
Order allow,deny
Allow from all (dangerous?)

hMailServer Administraror: Domain\<mailserver>\Limits
Maximum Size: 1000 MB
Maximum Message Size: 64000KB
Maximum Account Size: 100MB
hMailServer Administraror: Settings\TCP/IP Ports
SMTP: 25
IMAP: 143
hMailServer Administraror: Settings\Protocols\SMTP\Delivery of e-mail
hostname: <yourownhostname>
SMTP Relayer: <ISPs smtp hostname> (often isp wont allow client to send mail directly)
+authentication if required...

another way is ofcourse to let php send mail via isp and not through local smtphost - but not fun!
that is done by setting the smtp host in php.ini
--this is ofcourse the only way if you dont have your own smtp server



there... excuse the overkill, but it's time you guys solved this and to illustrate the various settings that might cause the "unexplained" behavior. for example, even if your htaccess and php.ini says it's ok, your mail server might not allow large files. READ YOUR LOGS!

i have excluded the sql settings to somewhat limit this post size, and it doesnt seem to be an issue for anyone here...

cheers!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 07:37 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community