Roundcube Community Forum

Release Support => Release Discussion => Topic started by: ReNsTeR101 on June 10, 2014, 02:20:53 AM

Title: Sending Issue
Post by: ReNsTeR101 on June 10, 2014, 02:20:53 AM
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.


Title: Re: Sending Issue
Post by: SKaero on June 10, 2014, 05:48:26 AM
This is an SMTP error not IMAP. Enable smpt_debug in the config and post the log.
Title: Re: Sending Issue
Post by: ReNsTeR101 on June 10, 2014, 07:08:00 AM
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.
Title: Re: Sending Issue
Post by: SKaero on June 10, 2014, 12:34:41 PM
Most likely your SMTP server isn't listening to localhost, if you need to it to check the SMTP server port bindings.
Title: Re: Sending Issue
Post by: ReNsTeR101 on June 10, 2014, 07:28:05 PM
confirmed,

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