On Sat, Apr 06, 2024 at 06:35:35AM -0000, Ducale Ducale wrote:
In a Windows 10 machine I'm using a tool (Netwrix Service Monitor) with a SMTP notification feature that doesn't support authentication, so I'm using Stunnel 5.72 as a local relay for SMTP2GO (smtp2go.com), with this configuration:
[snip]
I try both PLAIN and LOGIN as authentication mode, with this is error:
LOGIN: " ... TLS connected: new session negotiated TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption) Peer temporary key: X25519, 253 bits Compression: null, expansion: null -> HELO cloud.mydomain.com <- 250 mail.smtp2go.com Hello cloud.mydomain.com [x.x.x.x] -> AUTH LOGIN <- 503 AUTH command used when not advertised Remote server does not support LOGIN authentication ... "
PLAIN:
[snip]
Can anyone help me solve this problem? Thanks!
Hi,
So it seems that the SMTP server is being pedantic, and it seems to require a client to ask for extended SMTP features before actually using them.
I think the attached patch should fix the problem; it at least gets me a bit further with mail.smtp2go.com - it gets me to the "let's verify the credentials you sent" phase.
G'luck, Peter