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'] = '
';
$rcmail_config['default_port'] = 143;
$rcmail_config['username_domain'] = '';
$rcmail_config['smtp_server'] = '';
$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 = ""
upload_max_filesize = 128M
error_reporting = E_ALL (good for debugging!)
post_max_size = 32M
extension=php_imap.dll
extension=php_openssl.dll
SMTP =
smtp_port = 25
sendmail_from =
sql.safe_mode = Off
session.save_path = "" (unsure of this one)
max_execution_time = 600
max_input_time = 600
memory_limit = 128M
roundcube\.htaccess
AddType text/x-component .htc
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
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
Order allow,deny
Deny from all
Order deny,allow
Allow from all
roundcube\logs\.htaccess, roundcube\temp\.htaccess
Order allow,deny
Allow from all (dangerous?)
hMailServer Administraror: Domain\\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:
SMTP Relayer: (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!