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

Mailer not working with plain text authentication SMTP #435

Open
1 task
federicogalland opened this issue Aug 30, 2021 · 2 comments
Open
1 task

Mailer not working with plain text authentication SMTP #435

federicogalland opened this issue Aug 30, 2021 · 2 comments
Labels

Comments

@federicogalland
Copy link

Is this a BUG REPORT or FEATURE REQUEST?:

  • [x ] BUG
  • FEATURE

What happened:

I enter the credentials to an account hosted in my mail server and I get a "Connection Failed" notification.
Postfix on my mail server does log the connection the following way:

Aug 30 13:18:25 mailserver postfix/smtpd[7083]: connect from unknown[xxx.xxx.xxx.xxx]
Aug 30 13:18:28 mailserver postfix/smtpd[7083]: warning: unknown[xxx.xxx.xxx.xxx]: SASL PLAIN authentication failed:
Aug 30 13:18:28 mailserver postfix/smtpd[7083]: lost connection after AUTH from unknown[xxx.xxx.xxx.xxx]
Aug 30 13:18:28 mailserver postfix/smtpd[7083]: disconnect from unknown[xxx.xxx.xxx.xxx] ehlo=2 starttls=1 auth=0/1 commands=3/4

This happens both with the "SSLv3" switch on and off.

What did you expect to happen:

I expect the mailer to allow either plain text or starttls authentication

How to reproduce it (as minimally and precisely as possible):

Set up the mailer against a plain text authenticated smtp

Anything else we need to know?:

...

Environment:

  • Trudesk Version: docker/latest (v1.1.8-ai16)
  • OS (e.g. from /etc/os-release): docker container on debian buster
  • Node.JS Version: v12.22.1
  • MongoDB Version: 3.6
  • Is this hosted on cloud.trudesk.io: nope
@polonel
Copy link
Owner

polonel commented Aug 31, 2021

The nodemailer config would need to be updated to support this. I'm working on a way to edit the configuration for nodemailer directly in the UI.

@federicogalland
Copy link
Author

Thanks for your response! Can you point me to the file I need to edit?

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

No branches or pull requests

2 participants