Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't send mails with internal SMTP server #4024

Open
diegodipalma opened this issue Mar 18, 2024 · 1 comment
Open

Can't send mails with internal SMTP server #4024

diegodipalma opened this issue Mar 18, 2024 · 1 comment

Comments

@diegodipalma
Copy link

What version of GlobaLeaks are you using?

Globaleaks 4.14.8 hosted on Debian 6.1.76-1

What browser(s) are you seeing the problem on?

All

What operating system(s) are you seeing the problem on?

Windows, macOS

Describe the issue

We tried to configure mail notifications using our internal SMTP server (SMTP relay is enabled). SMTP server is Exchange.
Our actual configuration is:

SMTP email address: noreply@ourdomain.tld
SMTP server address: our.internal.smtp.server.net
SMTP sevrer port: 25
Security: SMTP/TLS
Require authentication is disabled
Notification roles: Admin, Analyst, Custodian, Recipient

Trying to send either a test notification or a password reset generates and infinite loading which ends in timeout.
This is the excerpt of globaleaks.log:

2024-03-18 15:09:47+0100 [-] [E] [1] SMTP connection failed (Exception: )
2024-03-18 15:09:47+0100 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7f5ee96512d0>
2024-03-18 15:09:47+0100 [-] Stopping factory <twisted.mail.smtp.ESMTPSenderFactory object at 0x7f5ee96512d0>
2024-03-18 15:11:02+0100 [-] [E] [1] SMTP connection failed (Exception: )

Following some issues already reported on here we disabled Tor anonymization for outgoing connections without success. Mails still can't get delivered and the system times out.

The server is able to see the SMTP server. We also tried to telnet into the SMTP server from Globaleaks server and from there emails get delivered.

We also tried to setup a trace with Tcpdump which shows that the SMTP session gets initiated by Globaleaks, the SMTP server responds and after the STARTTLS/Client Hello, Globaleaks starts to contact Tor network's IP addresses even though the anonymization is disabled.

Proposed solution

No response

@evilaliv3
Copy link
Member

Hello @diegodipalma ,

thank you for your question.

The fact thatglobaleaks contacts Tor, is propbably unrelated, that connection is probably related to the Tor onion service implementation.

Can you send me a full log of the SMTP communication ? Do you have any log from of Exchange that you could share?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants