![]() |
|
|
|||||||
| For more information about the ads and why they're here, please see the FAQ |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#11
|
|||
|
|||
|
Quote:
|
|
#12
|
|||
|
|||
|
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> Heidrun |
|
#13
|
|||
|
|||
|
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! |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
| For more information about the ads and why they're here, please see the FAQ |