Skip to content

[Bug]: Facing issue PLAIN TEXT authenticate method of SMTP #1952

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

Open
2 tasks done
brunopons opened this issue Apr 17, 2025 · 0 comments
Open
2 tasks done

[Bug]: Facing issue PLAIN TEXT authenticate method of SMTP #1952

brunopons opened this issue Apr 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@brunopons
Copy link

brunopons commented Apr 17, 2025

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration issue.
  • This issue is not already reported on Github (I've searched it).

Bug description

Hello Guys, we are experiencing an inability to authenticate in clear text using the PLAIN or LOGIN method of SMTP on an internal Postfix server that only supports these two methods.

Have you ever faced this issue in the past? We were able to connect to other external email providers without any problems, the issue only resides on our internal network.

I captured tcp traffic that provide me this smtp sequence on every test ( client exits after receiving the server's capabilities ) :
220 smtp.randomzone.net ESMTP Postfix

EHLO a3efa1e49823

250-smtp.randomzone.net
250-PIPELINING
250-SIZE 20480000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

QUIT

221 2.0.0 Bye

Steps to reproduce

1.configure sftp with our smtp server on port 25 with credentials
2.Select PLAIN or LOGIN Method and no Encryption
3.Send email to someone with test button

Expected behavior

SMTP Client authenticate and mail sending

SFTPGo version

v2.6.6

Data provider

https://github.com/drakkan

Installation method

Community Docker image

Configuration

docker-compose.yml sample:
...
environment:
TZ: "Europe/Paris"
SFTPGO_DATA_PROVIDER__CREATE_DEFAULT_ADMIN: 'true'
SFTPGO_DEFAULT_ADMIN_USERNAME: "{{ secrets['admin_username'] }}"
SFTPGO_DEFAULT_ADMIN_PASSWORD: "{{ secrets['admin_password'] }}"
SFTPGO_TELEMETRY__BIND_ADDRESS: '0.0.0.0'
SFTPGO_TELEMETRY__BIND_PORT: '10000'
SFTPGO_SMTP__HOST: 'smtp.randomzone.net'
SFTPGO_SMTP__PORT: '25'
SFTPGO_SMTP__FROM: '[email protected]'
SFTPGO_SMTP__USER: '[email protected]'
SFTPGO_SMTP__PASSWORD: "{{ secrets['smtp_password'] }}"
SFTPGO_SMTP__AUTH_TYPE: '0'
SFTPGO_SMTP__ENCRYPTION: '0'
SFTPGO_SMTP__DOMAIN: ''
...

Relevant log output

What are you using SFTPGo for?

Enterprise, Medium business

Additional info

No response

@brunopons brunopons added the bug Something isn't working label Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant