Open elbill opened 1 year ago
@elbill: Have you verified the configuration of the emails with other clients?
Maybe you provider is not enabling SMTP connections ?
I had the same configuration with the same provider. They allow connections. I managed to run my account from gmail and email clients.
On Thu, Mar 30, 2023 at 5:06 PM Giovanni Pellerano @.***> wrote:
@elbill https://github.com/elbill: Have you verified the configuration of the emails with other clients?
Maybe you provider is not enabling SMTP connections ?
— Reply to this email directly, view it on GitHub https://github.com/globaleaks/GlobaLeaks/issues/3413#issuecomment-1490368942, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFRLQJTVNZ3BTE2H7QU444DW6WHOPANCNFSM6AAAAAAWMXNTYY . You are receiving this because you were mentioned.Message ID: @.***>
Is this a bug eventualy? Or an issue on my provider's side?
@elbill:
Regartding you specific question "Is this a bug eventualy? Or an issue on my provider's side?"; actually i did not have the possibility to look it futher so either the two are possible; i'm not aware of any bug and there has been no change in the SMTP implementation since years so i chink is probably a problem of configuration or support. Would you please pass me your /var/globaleaks/log/globaleaks.log file? Have you asked advice to your provider (they may have relevant logs that help undestanding the reason)
Is it possible that when you use your gmail account or other clients you are performing a simple SMTP connection configuring a username/password and you are not implementing OAUTH2 (where the server provide you a web interface to perform login?).
Currently globaleaks do not support OAUTH but just simple SMTP connections; i suspect the issue may lie here.
The behaviour is very strange. I have changed smtp server and kind of works but takes a lot of time and does not deliver every time. I will send you a log file to have a look.
topping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309ecf550>
2023-04-04 10:15:17+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309f36220>
2023-04-04 10:15:47+0000 [-] [E] [24] SMTP connection failed (Exception: User timeout caused connection failure.)
2023-04-04 10:15:47+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309f36220>
2023-04-04 10:15:48+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa30a615070>
2023-04-04 10:15:49+0000 [-] [E] [13] SMTP connection failed (Exception: 550 No recipients accepted\nvstama@fraudline.gr: 550 No Such User Here\n>>> MAIL FROM:notifications@whistleplus.com\n<<< 250 OK\n>>> RCPT TO:vstama@fraudline.gr\n<<< 550 No Such User Here\n)
2023-04-04 10:15:49+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa30a615070>
2023-04-04 10:15:50+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa30a615b20>
2023-04-04 10:16:20+0000 [-] [E] [24] SMTP connection failed (Exception: User timeout caused connection failure.)
2023-04-04 10:16:20+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa30a615b20>
2023-04-04 10:16:25+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa30a13e160>
2023-04-04 10:16:55+0000 [-] [E] [24] SMTP connection failed (Exception: User timeout caused connection failure.)
2023-04-04 10:16:55+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa30a13e160>
2023-04-04 10:16:56+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa30a13bbe0>
2023-04-04 10:17:26+0000 [-] [E] [24] SMTP connection failed (Exception: User timeout caused connection failure.)
2023-04-04 10:17:26+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa30a13bbe0>
2023-04-04 10:17:27+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309dfdbb0>
2023-04-04 10:17:57+0000 [-] [E] [24] SMTP connection failed (Exception: User timeout caused connection failure.)
2023-04-04 10:17:57+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309dfdbb0>
2023-04-04 10:17:58+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309efc8b0>
2023-04-04 10:17:59+0000 [-] [E] [13] SMTP connection failed (Exception: 550 No recipients accepted\nvstama@fraudline.gr: 550 No Such User Here\n>>> MAIL FROM:notifications@whistleplus.com\n<<< 250 OK\n>>> RCPT TO:vstama@fraudline.gr\n<<< 550 No Such User Here\n)
2023-04-04 10:17:59+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309efc8b0>
2023-04-04 10:18:00+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa30a5c6af0>
2023-04-04 10:18:30+0000 [-] [E] [24] SMTP connection failed (Exception: User timeout caused connection failure.)
2023-04-04 10:18:30+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa30a5c6af0>
2023-04-04 10:18:35+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa30a577f10>
2023-04-04 10:19:05+0000 [-] [E] [24] SMTP connection failed (Exception: User timeout caused connection failure.)
2023-04-04 10:19:05+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa30a577f10>
2023-04-04 10:19:06+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309dfdd30>
2023-04-04 10:19:36+0000 [-] [E] [24] SMTP connection failed (Exception: User timeout caused connection failure.)
2023-04-04 10:19:36+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309dfdd30>
2023-04-04 10:19:37+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309f011c0>
2023-04-04 10:20:07+0000 [-] [E] [24] SMTP connection failed (Exception: User timeout caused connection failure.)
2023-04-04 10:20:07+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309f011c0>
2023-04-04 10:20:08+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309ddce20>
2023-04-04 10:20:09+0000 [-] [E] [13] SMTP connection failed (Exception: 550 No recipients accepted\nvstama@fraudline.gr: 550 No Such User Here\n>>> MAIL FROM:notifications@whistleplus.com\n<<< 250 OK\n>>> RCPT TO:vstama@fraudline.gr\n<<< 550 No Such User Here\n)
2023-04-04 10:20:09+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309ddce20>
2023-04-04 10:20:10+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309ddc100>
2023-04-04 10:20:40+0000 [-] [E] [24] SMTP connection failed (Exception: User timeout caused connection failure.)
2023-04-04 10:20:40+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309ddc100>
2023-04-04 10:20:45+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309dfa190>
2023-04-04 10:21:15+0000 [-] [E] [24] SMTP connection failed (Exception: User timeout caused connection failure.)
2023-04-04 10:21:15+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309dfa190>
2023-04-04 10:21:16+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309d7eeb0>
2023-04-04 10:21:46+0000 [-] [E] [24] SMTP connection failed (Exception: User timeout caused connection failure.)
2023-04-04 10:21:46+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309d7eeb0>
2023-04-04 10:21:47+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309dceb20>
2023-04-04 10:22:17+0000 [-] [E] [24] SMTP connection failed (Exception: User timeout caused connection failure.)
2023-04-04 10:22:17+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa309dceb20>
2023-04-04 10:22:18+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa30a06fe50>
2023-04-04 10:22:19+0000 [-] [E] [13] SMTP connection failed (Exception: 550 No recipients accepted\nvstama@fraudline.gr: 550 No Such User Here\n>>> MAIL FROM:notifications@whistleplus.com\n<<< 250 OK\n>>> RCPT TO:vstama@fraudline.gr\n<<< 550 No Such User Here\n)
2023-04-04 10:22:19+0000 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa30a06fe50>
2023-04-04 10:22:20+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7fa30a7ad490>
2023-04-04 10:22:45+0000 [-] Starting factory _HTTP11ClientFactory(<function HTTPConnectionPool._newConnection.
Is there any chance that the mail server has been overloaded and tries to send continously emails? For some reason it does not recognise my email (which was out of order for a few hours a few days ago )
GlobaLeaks tries to deliver emails for some days before giving up.
Indeed, I put the default globaleaks smtp . emails were sent, and log entries stopped.
On Tue, Apr 4, 2023 at 5:27 PM Giovanni Pellerano @.***> wrote:
GlobaLeaks tries to deliver emails for some days before giving up.
— Reply to this email directly, view it on GitHub https://github.com/globaleaks/GlobaLeaks/issues/3413#issuecomment-1496072261, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFRLQJQFTUBQLQTFNAE4O33W7QVWBANCNFSM6AAAAAAWMXNTYY . You are receiving this because you were mentioned.Message ID: @.***>
I think when I replaced the smtp with yhe default it kind of unblocked the system and now works. I will follow up and let you know if There are any more issues
@elbill i noticed there's an "\n" (new line) character in your email entries. Am I correct? If it's so, you should trim that characters.
@larrykind: i think the \n is just included in the log entries because is what the remote SMTP server replies but it is not included in the original communication by globaleaks to the server while using the SMTP protocol.
P.s.: You can in fact notice that all the logs contains some \n that are the characters included inside the STMTP server replies and not translated by globaleaks in a new line because during such an operation would result in a vulnerability; if you are curious about this topic here is an advisory i made ~10 years ago on the log management of some well known web-servers: https://seclists.org/fulldisclosure/2010/Jan/142
What version of GlobaLeaks are you using?
4.10.18 4.11.1
What browser(s) are you seeing the problem on?
Chrome, Microsoft Edge
What operating system(s) are you seeing the problem on?
Windows
Describe the issue
I was using an SMTP server. After an upgrade our provider chaged the SMTP server. While the new one works properly for email, when used in globleaks does not send notifications. The test notifications, takes a long time and eventualy no notifications are sent. I also checked with an smtp diagnostic service and there was no error. What could the problem be? Should I ask/check something with my provider (or chage providers)?
Proposed solution
No response