Roundcube Community Forum

 

Sending Issue

Started by ReNsTeR101, June 10, 2014, 02:20:53 AM

Previous topic - Next topic

ReNsTeR101

hey guys,

roundcube is stuck on "Sending Message" right after i finshed compose. there error generated is as follows:-

[10-Jun-2014 15:40:24 +1000]: SMTP Error: SMTP error: Connection failed: Invalid response code received from server in /var/www/html/roundcubemail-1.0.1/program/lib/Roundcube/rcube.php on line 1504 (POST /roundcube/?_task=mail&_unlock=loading1402379197533&_lang=undefined?_task=mail&_action=send)
[10-Jun-2014 15:40:24 +1000]: DB Error: [2006] MySQL server has gone away (SQL Query: SELECT vars, ip, changed, now() AS ts FROM session WHERE sess_id = 'e356ef401dfb5c30d7be392123ddc6db') in /var/www/html/roundcubemail-1.0.1/program/lib/Roundcube/rcube_db.php on line 467 (POST /roundcube/?_task=mail&_unlock=loading1402379197533&_lang=undefined?_task=mail&_action=send)

its not firewall related as i killed the firewall to test, can telnet to imap port 143.

any help would be greatly appreciated.



SKaero

This is an SMTP error not IMAP. Enable smpt_debug in the config and post the log.

ReNsTeR101

Thank you for the fast responce.

Basically i added the debug, nothing showed in the smtp log

so i changed
$config['smtp_server'] = 'localhost';
to
$config['smtp_server'] = 'mail.domain.com';

and it fired up fine .... if you want to assist me with finding out why localhost doesn't function i'm happy to help.

SKaero

Most likely your SMTP server isn't listening to localhost, if you need to it to check the SMTP server port bindings.

ReNsTeR101

confirmed,

thank you for your time on this SKaero, it was indeed my exim config, a typo.