Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

rainloop webmail cannot send message error #302 #397

Closed
N0ury opened this issue Dec 29, 2014 · 4 comments
Closed

rainloop webmail cannot send message error #302 #397

N0ury opened this issue Dec 29, 2014 · 4 comments

Comments

@N0ury
Copy link

N0ury commented Dec 29, 2014

Hi,

Since this week-end I have the following error message when I try to send a mail via rainloop
(a popup is displayed with the message can't send the message):

[14:27:02.448][0cbbc3dd] SMTP[NOTE]: Start connection to "tcp://10.0.1.99:25"^M
[14:27:02.450][0cbbc3dd] SMTP[NOTE]: Connected (success)^M
[14:27:12.459][0cbbc3dd] SMTP[ERROR]: exception 'MailSo\Net\Exceptions\SocketReadTimeoutException' with message 'MailSo-Net-Exceptions-SocketReadTimeoutException (NetClient.php ~ 494)' in /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/libraries/MailSo/Net/NetClient.php:494
Stack trace:
#0 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/libraries/MailSo/Smtp/SmtpClient.php(712): MailSo\Net\NetClient->getNextBuffer()
#1 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/libraries/MailSo/Smtp/SmtpClient.php(167): MailSo\Smtp\SmtpClient->validateResponse(220)
#2 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Model/Account.php(425): MailSo\Smtp\SmtpClient->Connect('10.0.1.99', 25, 'webmail.dagami....', 0, false)
#3 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Actions.php(5072): RainLoop\Model\Account->OutConnectAndLoginHelper(Object(RainLoop\Plugins\Manager), Object(MailSo\Smtp\SmtpClient), Object(RainLoop\Config\Application), false)
#4 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Actions.php(5207): RainLoop\Actions->smtpSendMessage(Object(RainLoop\Model\Account), Object(MailSo\Mime\Message), Resource id #24)
#5 [internal function]: RainLoop\Actions->DoSendMessage()
#6 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/ServiceActions.php(164): call_user_func(Array)
#7 [internal function]: RainLoop\ServiceActions->ServiceAjax()
#8 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Service.php(143): call_user_func(Array)
#9 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#10 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Service.php(79): RainLoop\Service->__construct()
#11 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/handle.php(87): RainLoop\Service::Handle()
#12 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/index.php(191): include('/var/www/rainlo...')
#13 /var/www/rainloop-webmail-master/index.php(12): include('/var/www/rainlo...')
#14 {main}^M

[14:27:12.460][0cbbc3dd] INFO[ERROR]: exception 'MailSo\Net\Exceptions\SocketReadTimeoutException' with message 'MailSo-Net-Exceptions-SocketReadTimeoutException (NetClient.php ~ 494)' in /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/libraries/MailSo/Net/NetClient.php:494
Stack trace:
#0 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/libraries/MailSo/Smtp/SmtpClient.php(712): MailSo\Net\NetClient->getNextBuffer()
#1 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/libraries/MailSo/Smtp/SmtpClient.php(167): MailSo\Smtp\SmtpClient->validateResponse(220)
#2 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Model/Account.php(425): MailSo\Smtp\SmtpClient->Connect('10.0.1.99', 25, 'webmail.dagami....', 0, false)
#3 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Actions.php(5072): RainLoop\Model\Account->OutConnectAndLoginHelper(Object(RainLoop\Plugins\Manager), Object(MailSo\Smtp\SmtpClient), Object(RainLoop\Config\Application), false)
#4 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Actions.php(5207): RainLoop\Actions->smtpSendMessage(Object(RainLoop\Model\Account), Object(MailSo\Mime\Message), Resource id #24)
#5 [internal function]: RainLoop\Actions->DoSendMessage()
#6 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/ServiceActions.php(164): call_user_func(Array)
#7 [internal function]: RainLoop\ServiceActions->ServiceAjax()
#8 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Service.php(143): call_user_func(Array)
#9 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#10 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Service.php(79): RainLoop\Service->__construct()
#11 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/handle.php(87): RainLoop\Service::Handle()
#12 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/index.php(191): include('/var/www/rainlo...')
#13 /var/www/rainloop-webmail-master/index.php(12): include('/var/www/rainlo...')
#14 {main}

Next exception 'RainLoop\Exceptions\ClientException' with message 'CantSendMessage[302]' in /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Actions.php:5307
Stack trace:
#0 [internal function]: RainLoop\Actions->DoSendMessage()
#1 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/ServiceActions.php(164): call_user_func(Array)
#2 [internal function]: RainLoop\ServiceActions->ServiceAjax()
#3 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Service.php(143): call_user_func(Array)
#4 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#5 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/src/RainLoop/Service.php(79): RainLoop\Service->__construct()
#6 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/app/handle.php(87): RainLoop\Service::Handle()
#7 /var/www/rainloop-webmail-master/rainloop/v/1.7.1.215/index.php(191): include('/var/www/rainlo...')
#8 /var/www/rainloop-webmail-master/index.php(12): include('/var/www/rainlo...')
#9 {main}^M

[14:27:12.461][0cbbc3dd] AJAX[DATA]: {"Action":"SendMessage","Result":false,"ErrorCode":302,"ErrorMessage":"","Time":10301}^M
[14:27:12.461][0cbbc3dd] SMTP[NOTE]: Disconnected from "tcp://10.0.1.99:25" (success)^M

I must add that I have change local address of my smtp server (exim4) from 10.1.1.1 to 10.0.1.99 on port 25.
The server works fine via mutt and via telnet on port 25.

Here's my config file:
imap_host = "10.0.1.99"
imap_port = 993
imap_secure = "SSL"
imap_verify_ssl = Off
imap_short_login = Off
smtp_host = "10.0.1.99"
smtp_port = 25
smtp_secure = "TLS"
smtp_verify_ssl = Off
smtp_short_login = Off
smtp_auth = Off
white_list = ""

I can provide more info if necessary

Can someone help me

Thanks in advance

nb

@RainLoop
Copy link
Owner

You have a timeout (10s) error when trying to read data from the SMTP.
There may be many reasons for this behavior.

@N0ury
Copy link
Author

N0ury commented Dec 29, 2014

Thanks a lot.
You’ve made me searching the good way.
With telnet, the banner was long to display, nearly 10s.
So I googled for « exim4 long to display banner », and I found a similar case. The resolv.conf file was incorrect. So I took a look at mine, and bingo! Resolver address remained unchanged (I have my own DNS).
After modifying it, banner displays instantly, and roundcube works fine.

Thanks a lot for your help and your quick reply.

Regards

nb

Le 29 déc. 2014 à 21:24, RainLoop Team [email protected] a écrit :

You have a timeout (10s) error when trying to read data from the SMTP.
There may be many reasons for this behavior.


Reply to this email directly or view it on GitHub.

@ervee
Copy link
Contributor

ervee commented Dec 29, 2014

Does RainLoop also work now? :-P

@N0ury
Copy link
Author

N0ury commented Dec 29, 2014

Oh yes, it works like a charm.

Thanks for all

Le 29 déc. 2014 à 21:47, Ralf [email protected] a écrit :

Does RainLoop also work now? :-P


Reply to this email directly or view it on GitHub.

@RainLoop RainLoop closed this as completed Jan 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants