RainLoop / rainloop-webmail

Simple, modern & fast web-based email client
http://rainloop.net
MIT License
4.11k stars 893 forks source link

SMTP "can't send message" #2018

Open archidote opened 4 years ago

archidote commented 4 years ago

RainLoop version, browser, OS:

Ubuntu 20.04

Expected behavior and actual behavior:

I can't send any mail from the web interface, but i can receive them. I get the error message "Can't send mail"

cf screenshots

Steps to reproduce the problem:

postifx / dovecot configured with ssl ...

Logs or screenshots:

image

if i valid auth checkbox, then I can't connect into rainloop

image

logs, when i try to send the mail : 
----------------------------------------

[11:21:56.808][030a1b94] INFO[DATA]: [DATE:04.08.20][OFFSET:-00][RL:1.14.0][PHP:7.4.3][IP:192.168.128.1][PID:840][Apache/2.4.41 (Ubuntu)][apache2handler]
[11:21:56.808][030a1b94] INFO[DATA]: [Suhosin:off][APC:off][MB:off][PDO:~][Streams:tcp,udp,unix,udg,ssl,tls,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3]
[11:21:56.808][030a1b94] REQUEST[NOTE]: [POST] http://192.168.128.146/rainloop/?/Ajax/&q[]=/_Yj-WY8r5VzPA0nmyxd7Kng3A_PTfsf8jcMHyVlaxXdBqiBzmrgY8CsUKOScpqPTQ1FgA5OlxY0x5SWqr88jzsDwVNlHlt-UzeNg6fokr-Yonw9avTMoE4xhtgiZBSlPV0z6jCslBzTZhli6ZRxMyT7QC_ElZJNIQA2J-z8_9nCrb-8O4ZcJkA8vy01T6xY12K_2Id_0BCR-3NJUF1k2GNVulUxu4czypHWdUT-Z0XNCxCfsRfKz52sQxAqvgRmr6J3v5ZCwesejOjlZzRXyX8bQtPz8uR9WEYhrT6H7Dxl8S4aoH-0uOBAmcdauTvoROy2R0-wbx0dcW8Uhg/
[11:21:56.808][030a1b94] AJAX[NOTE]: Action: DoSuggestions
[11:21:56.808][030a1b94] POST[DATA]: {"Query":"user","Action":"Suggestions","XToken":"09ebe357514893cddc4f33366999b03f"}
[11:21:56.809][030a1b94] AJAX[DATA]: {"Action":"Suggestions","Result":[],"Time":15}
[11:21:56.819][030a1b94] INFO[MEMORY]: Memory peak usage: 2MB
[11:21:56.819][030a1b94] INFO[TIME]: Time delta: 0.023533821105957

[11:21:57.173][1aa39f4f] INFO[DATA]: [DATE:04.08.20][OFFSET:-00][RL:1.14.0][PHP:7.4.3][IP:192.168.128.1][PID:840][Apache/2.4.41 (Ubuntu)][apache2handler]
[11:21:57.173][1aa39f4f] INFO[DATA]: [Suhosin:off][APC:off][MB:off][PDO:~][Streams:tcp,udp,unix,udg,ssl,tls,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3]
[11:21:57.173][1aa39f4f] REQUEST[NOTE]: [POST] http://192.168.128.146/rainloop/?/Ajax/&q[]=/_Yj-WY8r5VzPA0nmyxd7Kng3A_PTfsf8jcMHyVlaxXdBqiBzmrgY8CsUKOScpqPTQ1FgA5OlxY0x5SWqr88jzsDwVNlHlt-UzeNg6fokr-Yonw9avTMoE4xhtgiZBSlPV0z6jCslBzTZhli6ZRxMyT7QC_ElZJNIQA2J-z8_9nCrb-8O4ZcJkA8vy01T6xY12K_2Id_0BCR-3NJUF1k2GNVulUxu4czypHWdUT-Z0XNCxCfsRfKz52sQxAqvgRmr6J3v5ZCwesejOjlZzRXyX8bQtPz8uR9WEYhrT6H7Dxl8S4aoH-0uOBAmcdauTvoROy2R0-wbx0dcW8Uhg/
[11:21:57.173][1aa39f4f] AJAX[NOTE]: Action: DoSuggestions
[11:21:57.173][1aa39f4f] POST[DATA]: {"Query":"user2","Action":"Suggestions","XToken":"09ebe357514893cddc4f33366999b03f"}
[11:21:57.173][1aa39f4f] AJAX[DATA]: {"Action":"Suggestions","Result":[],"Time":11}
[11:21:57.173][1aa39f4f] INFO[MEMORY]: Memory peak usage: 2MB
[11:21:57.174][1aa39f4f] INFO[TIME]: Time delta: 0.012159109115601

[11:22:02.934][2fff2f7c] INFO[DATA]: [DATE:04.08.20][OFFSET:-00][RL:1.14.0][PHP:7.4.3][IP:192.168.128.1][PID:844][Apache/2.4.41 (Ubuntu)][apache2handler]
[11:22:02.934][2fff2f7c] INFO[DATA]: [Suhosin:off][APC:off][MB:off][PDO:~][Streams:tcp,udp,unix,udg,ssl,tls,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3]
[11:22:02.934][2fff2f7c] REQUEST[NOTE]: [POST] http://192.168.128.146/rainloop/?/Ajax/&q[]=/_Yj-WY8r5VzPA0nmyxd7Kng3A_PTfsf8jcMHyVlaxXdBqiBzmrgY8CsUKOScpqPTQ1FgA5OlxY0x5SWqr88jzsDwVNlHlt-UzeNg6fokr-Yonw9avTMoE4xhtgiZBSlPV0z6jCslBzTZhli6ZRxMyT7QC_ElZJNIQA2J-z8_9nCrb-8O4ZcJkA8vy01T6xY12K_2Id_0BCR-3NJUF1k2GNVulUxu4czypHWdUT-Z0XNCxCfsRfKz52sQxAqvgRmr6J3v5ZCwesejOjlZzRXyX8bQtPz8uR9WEYhrT6H7Dxl8S4aoH-0uOBAmcdauTvoROy2R0-wbx0dcW8Uhg/
[11:22:02.934][2fff2f7c] AJAX[NOTE]: Action: DoSendMessage
[11:22:02.935][2fff2f7c] POST[DATA]: {"IdentityID":"","MessageFolder":"","MessageUid":"","SentFolder":"Sent","To":"user2@gmail.com","Cc":"","Bcc":"","ReplyTo":"","Subject":"test","TextIsHtml":"1","Text":"<div data-html-editor-font-wrapper=\"true\" style=\"font-family: arial, sans-serif; font-size: 13px;\">hhj<br \/><br \/><signature><\/signature><\/div>","DraftInfo":"","InReplyTo":"","References":"","Dsn":"0","ReadReceiptRequest":"0","MarkAsImportant":"0","Action":"SendMessage","XToken":"09ebe357514893cddc4f33366999b03f"}
[11:22:02.936][2fff2f7c] IMAP[NOTE]: Start connection to "ssl://mail.local:993"
[11:22:02.959][2fff2f7c] IMAP[NOTE]: Connected (success)
[11:22:02.959][2fff2f7c] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN] Dovecot (Ubuntu) ready.\r\n
[11:22:02.960][2fff2f7c] IMAP[DATA]: > TAG1 AUTHENTICATE PLAIN\r\n
[11:22:02.960][2fff2f7c] IMAP[DATA]: < + \r\n
[11:22:02.960][2fff2f7c] IMAP[SECURE]: > *******\r\n
[11:22:02.979][2fff2f7c] IMAP[DATA]: < TAG1 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY LITERAL+ NOTIFY SPECIAL-USE] Logged in\r\n
[11:22:02.986][2fff2f7c] SMTP[NOTE]: Start connection to "ssl://mail.local:465"
[11:22:02.988][2fff2f7c] SMTP[NOTE]: Connected (success)
[11:22:02.989][2fff2f7c] SMTP[DATA]: < 220 mail.local ESMTP Postfix\r\n
[11:22:02.989][2fff2f7c] SMTP[DATA]: > EHLO [192.168.128.146]\r\n
[11:22:02.990][2fff2f7c] SMTP[DATA]: < 250-mail.local\r\n
[11:22:02.990][2fff2f7c] SMTP[DATA]: < 250-PIPELINING\r\n
[11:22:02.990][2fff2f7c] SMTP[DATA]: < 250-SIZE 10240000\r\n
[11:22:02.990][2fff2f7c] SMTP[DATA]: < 250-VRFY\r\n
[11:22:02.990][2fff2f7c] SMTP[DATA]: < 250-ETRN\r\n
[11:22:02.990][2fff2f7c] SMTP[DATA]: < 250-AUTH PLAIN\r\n
[11:22:02.990][2fff2f7c] SMTP[DATA]: < 250-ENHANCEDSTATUSCODES\r\n
[11:22:02.990][2fff2f7c] SMTP[DATA]: < 250-8BITMIME\r\n
[11:22:02.990][2fff2f7c] SMTP[DATA]: < 250-DSN\r\n
[11:22:02.990][2fff2f7c] SMTP[DATA]: < 250 CHUNKING\r\n
[11:22:02.990][2fff2f7c] SMTP[DATA]: > MAIL FROM:<user@mail.local>\r\n
[11:22:02.990][2fff2f7c] SMTP[DATA]: < 250 2.1.0 Ok\r\n
[11:22:02.990][2fff2f7c] SMTP[DATA]: > RCPT TO:<user2@gmail.com>\r\n
[11:22:02.990][2fff2f7c] SMTP[DATA]: < 554 5.7.1 <user2@gmail.com>: Recipient address rejected: Access denied\r\n
[11:22:02.991][2fff2f7c] SMTP[ERROR]: MailSo\Smtp\Exceptions\NegativeResponseException: Failed to add recipient "user2@gmail.com": 554 5.7.1 <user2@gmail.com>: Recipient address rejected: Access denied in /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/MailSo/Smtp/SmtpClient.php:794
Stack trace:
#0 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/MailSo/Smtp/SmtpClient.php(674): MailSo\Smtp\SmtpClient->validateResponse()
#1 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/MailSo/Smtp/SmtpClient.php(418): MailSo\Smtp\SmtpClient->sendRequestWithCheck()
#2 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/Actions.php(6331): MailSo\Smtp\SmtpClient->Rcpt()
#3 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/Actions.php(6427): RainLoop\Actions->smtpSendMessage()
#4 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/ServiceActions.php(174): RainLoop\Actions->DoSendMessage()
#5 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/Service.php(150): RainLoop\ServiceActions->ServiceAjax()
#6 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/Service.php(62): RainLoop\Service->localHandle()
#7 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/Service.php(85): RainLoop\Service->__construct()
#8 /var/www/html/rainloop/rainloop/v/1.14.0/app/handle.php(94): RainLoop\Service::Handle()
#9 /var/www/html/rainloop/rainloop/v/1.14.0/include.php(228): include('/var/www/html/r...')
#10 /var/www/html/rainloop/index.php(13): include('/var/www/html/r...')
#11 {main}
[11:22:02.991][2fff2f7c] SMTP[DATA]: > QUIT\r\n
[11:22:02.991][2fff2f7c] SMTP[DATA]: < 221 2.0.0 Bye\r\n
[11:22:02.991][2fff2f7c] SMTP[NOTE]: Disconnected from "ssl://mail.local:465" (success)
[11:22:02.992][2fff2f7c] INFO[ERROR]: MailSo\Smtp\Exceptions\NegativeResponseException: Failed to add recipient "user2@gmail.com": 554 5.7.1 <user2@gmail.com>: Recipient address rejected: Access denied in /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/MailSo/Smtp/SmtpClient.php:794
Stack trace:
#0 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/MailSo/Smtp/SmtpClient.php(674): MailSo\Smtp\SmtpClient->validateResponse()
#1 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/MailSo/Smtp/SmtpClient.php(418): MailSo\Smtp\SmtpClient->sendRequestWithCheck()
#2 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/Actions.php(6331): MailSo\Smtp\SmtpClient->Rcpt()
#3 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/Actions.php(6427): RainLoop\Actions->smtpSendMessage()
#4 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/ServiceActions.php(174): RainLoop\Actions->DoSendMessage()
#5 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/Service.php(150): RainLoop\ServiceActions->ServiceAjax()
#6 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/Service.php(62): RainLoop\Service->localHandle()
#7 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/Service.php(85): RainLoop\Service->__construct()
#8 /var/www/html/rainloop/rainloop/v/1.14.0/app/handle.php(94): RainLoop\Service::Handle()
#9 /var/www/html/rainloop/rainloop/v/1.14.0/include.php(228): include('/var/www/html/r...')
#10 /var/www/html/rainloop/index.php(13): include('/var/www/html/r...')
#11 {main}

Next RainLoop\Exceptions\ClientException: CantSendMessage[302] in /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/Actions.php:6536
Stack trace:
#0 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/ServiceActions.php(174): RainLoop\Actions->DoSendMessage()
#1 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/Service.php(150): RainLoop\ServiceActions->ServiceAjax()
#2 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/Service.php(62): RainLoop\Service->localHandle()
#3 /var/www/html/rainloop/rainloop/v/1.14.0/app/libraries/RainLoop/Service.php(85): RainLoop\Service->__construct()
#4 /var/www/html/rainloop/rainloop/v/1.14.0/app/handle.php(94): RainLoop\Service::Handle()
#5 /var/www/html/rainloop/rainloop/v/1.14.0/include.php(228): include('/var/www/html/r...')
#6 /var/www/html/rainloop/index.php(13): include('/var/www/html/r...')
#7 {main}
[11:22:02.992][2fff2f7c] AJAX[DATA]: {"Action":"SendMessage","Result":false,"ErrorCode":302,"ErrorMessage":"","ErrorMessageAdditional":"","Time":82}
[11:22:03.006][2fff2f7c] IMAP[DATA]: > TAG2 LOGOUT\r\n
[11:22:03.007][2fff2f7c] IMAP[DATA]: < * BYE Logging out\r\n
[11:22:03.007][2fff2f7c] IMAP[DATA]: < TAG2 OK Logout completed (0.001 + 0.000 secs).\r\n
[11:22:03.007][2fff2f7c] IMAP[NOTE]: Disconnected from "ssl://mail.local:993" (success)
[11:22:03.007][2fff2f7c] INFO[MEMORY]: Memory peak usage: 2MB
[11:22:03.007][2fff2f7c] INFO[TIME]: Time delta: 0.093519926071167

[11:22:03.040][eb98c31a] INFO[DATA]: [DATE:04.08.20][OFFSET:-00][RL:1.14.0][PHP:7.4.3][IP:192.168.128.1][PID:844][Apache/2.4.41 (Ubuntu)][apache2handler]
[11:22:03.040][eb98c31a] INFO[DATA]: [Suhosin:off][APC:off][MB:off][PDO:~][Streams:tcp,udp,unix,udg,ssl,tls,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3]
[11:22:03.040][eb98c31a] REQUEST[NOTE]: [POST] http://192.168.128.146/rainloop/?/Ajax/&q[]=/_Yj-WY8r5VzPA0nmyxd7Kng3A_PTfsf8jcMHyVlaxXdBqiBzmrgY8CsUKOScpqPTQ1FgA5OlxY0x5SWqr88jzsDwVNlHlt-UzeNg6fokr-Yonw9avTMoE4xhtgiZBSlPV0z6jCslBzTZhli6ZRxMyT7QC_ElZJNIQA2J-z8_9nCrb-8O4ZcJkA8vy01T6xY12K_2Id_0BCR-3NJUF1k2GNVulUxu4czypHWdUT-Z0XNCxCfsRfKz52sQxAqvgRmr6J3v5ZCwesejOjlZzRXyX8bQtPz8uR9WEYhrT6H7Dxl8S4aoH-0uOBAmcdauTvoROy2R0-wbx0dcW8Uhg/
[11:22:03.040][eb98c31a] AJAX[NOTE]: Action: DoFolderInformation
[11:22:03.040][eb98c31a] POST[DATA]: {"Folder":"Drafts","FlagsUids":"","UidNext":"","Action":"FolderInformation","XToken":"09ebe357514893cddc4f33366999b03f"}
[11:22:03.041][eb98c31a] IMAP[NOTE]: Start connection to "ssl://mail.local:993"
[11:22:03.065][eb98c31a] IMAP[NOTE]: Connected (success)
[11:22:03.067][eb98c31a] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN] Dovecot (Ubuntu) ready.\r\n
[11:22:03.067][eb98c31a] IMAP[DATA]: > TAG1 AUTHENTICATE PLAIN\r\n
[11:22:03.068][eb98c31a] IMAP[DATA]: < + \r\n
[11:22:03.068][eb98c31a] IMAP[SECURE]: > *******\r\n
[11:22:03.090][eb98c31a] IMAP[DATA]: < TAG1 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY LITERAL+ NOTIFY SPECIAL-USE] Logged in\r\n
[11:22:03.090][eb98c31a] IMAP[DATA]: > TAG2 CAPABILITY\r\n
[11:22:03.091][eb98c31a] IMAP[DATA]: < * CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY LITERAL+ NOTIFY SPECIAL-USE\r\n
[11:22:03.091][eb98c31a] IMAP[DATA]: < TAG2 OK Capability completed (0.001 + 0.000 secs).\r\n
[11:22:03.091][eb98c31a] IMAP[DATA]: > TAG3 STATUS "Drafts" (MESSAGES UNSEEN UIDNEXT HIGHESTMODSEQ)\r\n
[11:22:03.092][eb98c31a] IMAP[DATA]: < * STATUS Drafts (MESSAGES 12 UIDNEXT 78 UNSEEN 0 HIGHESTMODSEQ 206)\r\n
[11:22:03.092][eb98c31a] IMAP[DATA]: < TAG3 OK Status completed (0.001 + 0.000 secs).\r\n
[11:22:03.092][eb98c31a] AJAX[DATA]: {"Action":"FolderInformation","Result":{"Folder":"Drafts","Hash":"8a1b22fe58dad2779eb4684444bf6394","MessageCount":12,"MessageUnseenCount":0,"UidNext":"78","Flags":[],"HighestModSeq":"206","NewMessages":[],"Version":"1.14.0"},"Time":63}
[11:22:03.093][eb98c31a] IMAP[DATA]: > TAG4 LOGOUT\r\n
[11:22:03.094][eb98c31a] IMAP[DATA]: < * BYE Logging out\r\n
[11:22:03.094][eb98c31a] IMAP[DATA]: < TAG4 OK Logout completed (0.001 + 0.000 secs).\r\n
[11:22:03.094][eb98c31a] IMAP[NOTE]: Disconnected from "ssl://mail.local:993" (success)
[11:22:03.094][eb98c31a] INFO[MEMORY]: Memory peak usage: 2MB
[11:22:03.094][eb98c31a] INFO[TIME]: Time delta: 0.065747976303101

[11:22:11.317][08e683cb] INFO[DATA]: [DATE:04.08.20][OFFSET:-00][RL:1.14.0][PHP:7.4.3][IP:192.168.128.1][PID:841][Apache/2.4.41 (Ubuntu)][apache2handler]
[11:22:11.317][08e683cb] INFO[DATA]: [Suhosin:off][APC:off][MB:off][PDO:~][Streams:tcp,udp,unix,udg,ssl,tls,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3]
[11:22:11.317][08e683cb] REQUEST[NOTE]: [POST] http://192.168.128.146/rainloop/?/Ajax/&q[]=/_Yj-WY8r5VzPA0nmyxd7Kng3A_PTfsf8jcMHyVlaxXdBqiBzmrgY8CsUKOScpqPTQ1FgA5OlxY0x5SWqr88jzsDwVNlHlt-UzeNg6fokr-Yonw9avTMoE4xhtgiZBSlPV0z6jCslBzTZhli6ZRxMyT7QC_ElZJNIQA2J-z8_9nCrb-8O4ZcJkA8vy01T6xY12K_2Id_0BCR-3NJUF1k2GNVulUxu4czypHWdUT-Z0XNCxCfsRfKz52sQxAqvgRmr6J3v5ZCwesejOjlZzRXyX8bQtPz8uR9WEYhrT6H7Dxl8S4aoH-0uOBAmcdauTvoROy2R0-wbx0dcW8Uhg/
[11:22:11.317][08e683cb] AJAX[NOTE]: Action: DoFolderInformation
[11:22:11.318][08e683cb] POST[DATA]: {"Folder":"INBOX","FlagsUids":"","UidNext":"6","Action":"FolderInformation","XToken":"09ebe357514893cddc4f33366999b03f"}

[11:22:11.319][71a9a042] INFO[DATA]: [DATE:04.08.20][OFFSET:-00][RL:1.14.0][PHP:7.4.3][IP:192.168.128.1][PID:842][Apache/2.4.41 (Ubuntu)][apache2handler]
[11:22:11.319][08e683cb] IMAP[NOTE]: Start connection to "ssl://mail.local:993"
[11:22:11.319][71a9a042] INFO[DATA]: [Suhosin:off][APC:off][MB:off][PDO:~][Streams:tcp,udp,unix,udg,ssl,tls,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3]
[11:22:11.319][71a9a042] REQUEST[NOTE]: [POST] http://192.168.128.146/rainloop/?/Ajax/&q[]=/_Yj-WY8r5VzPA0nmyxd7Kng3A_PTfsf8jcMHyVlaxXdBqiBzmrgY8CsUKOScpqPTQ1FgA5OlxY0x5SWqr88jzsDwVNlHlt-UzeNg6fokr-Yonw9avTMoE4xhtgiZBSlPV0z6jCslBzTZhli6ZRxMyT7QC_ElZJNIQA2J-z8_9nCrb-8O4ZcJkA8vy01T6xY12K_2Id_0BCR-3NJUF1k2GNVulUxu4czypHWdUT-Z0XNCxCfsRfKz52sQxAqvgRmr6J3v5ZCwesejOjlZzRXyX8bQtPz8uR9WEYhrT6H7Dxl8S4aoH-0uOBAmcdauTvoROy2R0-wbx0dcW8Uhg/
[11:22:11.322][71a9a042] AJAX[NOTE]: Action: DoSaveMessage
[11:22:11.322][71a9a042] POST[DATA]: {"IdentityID":"","MessageFolder":"","MessageUid":"","DraftFolder":"Drafts","To":"user2@gmail.com","Cc":"","Bcc":"","ReplyTo":"","Subject":"test","TextIsHtml":"1","Text":"<div data-html-editor-font-wrapper=\"true\" style=\"font-family: arial, sans-serif; font-size: 13px;\">hhj<br \/><br \/><signature><\/signature><\/div>","DraftInfo":"","InReplyTo":"","References":"","MarkAsImportant":"0","Action":"SaveMessage","XToken":"09ebe357514893cddc4f33366999b03f"}
[11:22:11.323][71a9a042] IMAP[NOTE]: Start connection to "ssl://mail.local:993"
[11:22:11.342][08e683cb] IMAP[NOTE]: Connected (success)
[11:22:11.343][08e683cb] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN] Dovecot (Ubuntu) ready.\r\n
[11:22:11.343][08e683cb] IMAP[DATA]: > TAG1 AUTHENTICATE PLAIN\r\n
[11:22:11.344][08e683cb] IMAP[DATA]: < + \r\n
[11:22:11.344][08e683cb] IMAP[SECURE]: > *******\r\n
[11:22:11.345][71a9a042] IMAP[NOTE]: Connected (success)
[11:22:11.346][71a9a042] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN] Dovecot (Ubuntu) ready.\r\n
[11:22:11.346][71a9a042] IMAP[DATA]: > TAG1 AUTHENTICATE PLAIN\r\n
[11:22:11.347][71a9a042] IMAP[DATA]: < + \r\n
[11:22:11.347][71a9a042] IMAP[SECURE]: > *******\r\n
[11:22:11.381][08e683cb] IMAP[DATA]: < TAG1 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY LITERAL+ NOTIFY SPECIAL-USE] Logged in\r\n
[11:22:11.381][08e683cb] IMAP[DATA]: > TAG2 CAPABILITY\r\n
[11:22:11.382][08e683cb] IMAP[DATA]: < * CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY LITERAL+ NOTIFY SPECIAL-USE\r\n
[11:22:11.382][08e683cb] IMAP[DATA]: < TAG2 OK Capability completed (0.001 + 0.000 secs).\r\n
[11:22:11.382][08e683cb] IMAP[DATA]: > TAG3 STATUS "INBOX" (MESSAGES UNSEEN UIDNEXT HIGHESTMODSEQ)\r\n
[11:22:11.383][08e683cb] IMAP[DATA]: < * STATUS INBOX (MESSAGES 5 UIDNEXT 6 UNSEEN 0 HIGHESTMODSEQ 8)\r\n
[11:22:11.385][08e683cb] IMAP[DATA]: < TAG3 OK Status completed (0.001 + 0.000 secs).\r\n
[11:22:11.386][08e683cb] AJAX[DATA]: {"Action":"FolderInformation","Result":{"Folder":"INBOX","Hash":"893636881114f810d46c5d0383fa4dae","MessageCount":5,"MessageUnseenCount":0,"UidNext":"6","Flags":[],"HighestModSeq":"8","NewMessages":[],"Version":"1.14.0"},"Time":80}
[11:22:11.388][08e683cb] IMAP[DATA]: > TAG4 LOGOUT\r\n
[11:22:11.390][08e683cb] IMAP[DATA]: < * BYE Logging out\r\n
[11:22:11.390][08e683cb] IMAP[DATA]: < TAG4 OK Logout completed (0.001 + 0.000 secs).\r\n
[11:22:11.391][08e683cb] IMAP[NOTE]: Disconnected from "ssl://mail.local:993" (success)
[11:22:11.391][08e683cb] INFO[MEMORY]: Memory peak usage: 2MB
[11:22:11.391][08e683cb] INFO[TIME]: Time delta: 0.084980010986328
[11:22:11.402][71a9a042] IMAP[DATA]: < TAG1 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY LITERAL+ NOTIFY SPECIAL-USE] Logged in\r\n
[11:22:11.409][71a9a042] IMAP[DATA]: > TAG2 APPEND "Drafts" (\Seen) {892}\r\n
[11:22:11.410][71a9a042] IMAP[DATA]: < + OK\r\n
[11:22:11.410][71a9a042] IMAP[NOTE]: Write to connection stream
[11:22:11.410][71a9a042] IMAP[DATA]: > \r\n
[11:22:11.412][71a9a042] IMAP[DATA]: < TAG2 OK [APPENDUID 1596529846 78] Append completed (0.003 + 0.001 + 0.001 secs).\r\n
[11:22:11.413][71a9a042] AJAX[DATA]: {"Action":"SaveMessage","Result":{"NewFolder":"Drafts","NewUid":78},"Time":104}
[11:22:11.413][71a9a042] IMAP[DATA]: > TAG3 LOGOUT\r\n
[11:22:11.413][71a9a042] IMAP[DATA]: < * BYE Logging out\r\n
[11:22:11.413][71a9a042] IMAP[DATA]: < TAG3 OK Logout completed (0.001 + 0.000 secs).\r\n
[11:22:11.413][71a9a042] IMAP[NOTE]: Disconnected from "ssl://mail.local:993" (success)
[11:22:11.413][71a9a042] INFO[MEMORY]: Memory peak usage: 2MB
[11:22:11.413][71a9a042] INFO[TIME]: Time delta: 0.10548782348633

[11:22:11.436][a59df665] INFO[DATA]: [DATE:04.08.20][OFFSET:-00][RL:1.14.0][PHP:7.4.3][IP:192.168.128.1][PID:842][Apache/2.4.41 (Ubuntu)][apache2handler]
[11:22:11.436][a59df665] INFO[DATA]: [Suhosin:off][APC:off][MB:off][PDO:~][Streams:tcp,udp,unix,udg,ssl,tls,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3]
[11:22:11.436][a59df665] REQUEST[NOTE]: [POST] http://192.168.128.146/rainloop/?/Ajax/&q[]=/_Yj-WY8r5VzPA0nmyxd7Kng3A_PTfsf8jcMHyVlaxXdBqiBzmrgY8CsUKOScpqPTQ1FgA5OlxY0x5SWqr88jzsDwVNlHlt-UzeNg6fokr-Yonw9avTMoE4xhtgiZBSlPV0z6jCslBzTZhli6ZRxMyT7QC_ElZJNIQA2J-z8_9nCrb-8O4ZcJkA8vy01T6xY12K_2Id_0BCR-3NJUF1k2GNVulUxu4czypHWdUT-Z0XNCxCfsRfKz52sQxAqvgRmr6J3v5ZCwesejOjlZzRXyX8bQtPz8uR9WEYhrT6H7Dxl8S4aoH-0uOBAmcdauTvoROy2R0-wbx0dcW8Uhg/
[11:22:11.436][a59df665] AJAX[NOTE]: Action: DoFolderInformation
[11:22:11.436][a59df665] POST[DATA]: {"Folder":"Drafts","FlagsUids":"","UidNext":"","Action":"FolderInformation","XToken":"09ebe357514893cddc4f33366999b03f"}
[11:22:11.437][a59df665] IMAP[NOTE]: Start connection to "ssl://mail.local:993"
[11:22:11.447][a59df665] IMAP[NOTE]: Connected (success)
[11:22:11.447][a59df665] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN] Dovecot (Ubuntu) ready.\r\n
[11:22:11.448][a59df665] IMAP[DATA]: > TAG1 AUTHENTICATE PLAIN\r\n
[11:22:11.448][a59df665] IMAP[DATA]: < + \r\n
[11:22:11.448][a59df665] IMAP[SECURE]: > *******\r\n
[11:22:11.463][a59df665] IMAP[DATA]: < TAG1 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY LITERAL+ NOTIFY SPECIAL-USE] Logged in\r\n
[11:22:11.463][a59df665] IMAP[DATA]: > TAG2 CAPABILITY\r\n
[11:22:11.463][a59df665] IMAP[DATA]: < * CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY LITERAL+ NOTIFY SPECIAL-USE\r\n
[11:22:11.463][a59df665] IMAP[DATA]: < TAG2 OK Capability completed (0.001 + 0.000 secs).\r\n
[11:22:11.463][a59df665] IMAP[DATA]: > TAG3 STATUS "Drafts" (MESSAGES UNSEEN UIDNEXT HIGHESTMODSEQ)\r\n
[11:22:11.464][a59df665] IMAP[DATA]: < * STATUS Drafts (MESSAGES 13 UIDNEXT 79 UNSEEN 0 HIGHESTMODSEQ 207)\r\n
[11:22:11.464][a59df665] IMAP[DATA]: < TAG3 OK Status completed (0.001 + 0.000 secs).\r\n
[11:22:11.464][a59df665] AJAX[DATA]: {"Action":"FolderInformation","Result":{"Folder":"Drafts","Hash":"be72068156bfb6047c1b6aa7eb4c95e3","MessageCount":13,"MessageUnseenCount":0,"UidNext":"79","Flags":[],"HighestModSeq":"207","NewMessages":[],"Version":"1.14.0"},"Time":40}
[11:22:11.465][a59df665] IMAP[DATA]: > TAG4 LOGOUT\r\n
[11:22:11.465][a59df665] IMAP[DATA]: < * BYE Logging out\r\n
[11:22:11.465][a59df665] IMAP[DATA]: < TAG4 OK Logout completed (0.001 + 0.000 secs).\r\n
[11:22:11.466][a59df665] IMAP[NOTE]: Disconnected from "ssl://mail.local:993" (success)
[11:22:11.466][a59df665] INFO[MEMORY]: Memory peak usage: 2MB
[11:22:11.466][a59df665] INFO[TIME]: Time delta: 0.041510105133057

somebody can help me ? ^^

have a great day !

archidote commented 4 years ago

anybody can help me ?

the-djmaze commented 4 years ago

554 5.7.1 user2@gmail.com: Recipient address rejected: Access denied

Your smtp server disallows sending without login. Make sure login is active for SMTP

archidote commented 4 years ago

554 5.7.1 user2@gmail.com: Recipient address rejected: Access denied

Your smtp server disallows sending without login. Make sure login is active for SMTP

Hey unfortunatly, I have tried to enable the mail sending with login

I have put this in /etc/postfix/main.cf

smtpd_sasl_auth_enable      = yes
smtpd_sasl_security_options = noanonymous,noplaintext
smtpd_sasl_application_name = smtpd
smtpd_sasl_local_domain     = mail.local
broken_sasl_auth_clients    = no

smtpd_recipient_restrictions =
    permit_mynetworks,
    reject_unlisted_recipient,
    check_recipient_access hash:/etc/postfix/rcpt_blacklist,
    check_helo_access hash:/etc/postfix/helo,
    reject_non_fqdn_sender,
    reject_unknown_sender_domain,
    permit_sasl_authenticated,
    reject_unauth_destination,
    reject_rbl_client realtimeblacklist.example.net,
    check_policy_service inet:127.0.0.1:60000,
    permit

But I got the same error, when I tried to send a mail with rainloop...

@the-djmaze