Skip to content

Mailer not working with plain text authentication SMTP #435

@federicogalland

Description

@federicogalland

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions