Bug Report
Context
When I try to send a mail using a relay smtp server (I'm using Mailjet, but I tried with Gmail), I got an SASL authentication failure: No worthy mechs found:
May 16 18:55:13 mail postfix/smtp[2648]: warning: SASL authentication failure: No worthy mechs found
May 16 18:55:13 mail postfix/smtp[2648]: B34B387A85506: to=<[email protected]>, relay=in-v3.mailjet.com[104.199.96.85]:587, delay=0.57, delays=0.07/0.06/0.45/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server in-v3.mailjet.com[104.199.96.85]: no mechanism available)
Where [email protected]is the recipient email.
I'm running docker-mailserver under armv7, and is seems that it is working fine when I'm using x86 host.
What is affected by this bug?
I can't send mail at all because my ISP is blocking port 25, so I need to use mail relay.
When does this occur?
It occur every time I try to send a mail using a relay host using the armv7 docker image.
How do we replicate the issue?
- Pull an armv7 image and use qemu if you're not running on a armv7 host
- Fill environment variables with relay host parameters
- Add a user account
- Create a container with docker-compose
- Send a mail with the registered user account
Behavior
Actual Behavior
Defer the email transmission throwing the following error:
May 16 18:55:13 mail postfix/smtp[2648]: Anonymous TLS connection established to in-v3.mailjet.com[104.199.96.85]:587: TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)
May 16 18:55:13 mail postfix/smtp[2648]: warning: SASL authentication failure: No worthy mechs found
May 16 18:55:13 mail postfix/smtp[2648]: B34B387A85506: to=<[email protected]>, relay=in-v3.mailjet.com[104.199.96.85]:587, delay=0.57, delays=0.07/0.06/0.45/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server in-v3.mailjet.com[104.199.96.85]: no mechanism available)
Expected Behavior
Should send the email through the mail relay without any issue.
Your Environment
- version:
9.1.0
- available RAM:
2GB
- Docker version:
20.10.6
- docker-compose version:
1.21.0
- host architecture:
armv7
Environment Variables
DEFAULT_RELAY_HOST=[in-v3.mailjet.com]:587
RELAY_HOST=in-v3.mailjet.com
RELAY_PORT=587
RELAY_USER= # smtp username
RELAY_PASSWORD= # smtp password
Relevant Stack Traces
# BEGIN
May 16 18:55:13 mail postfix/smtp[2648]: Anonymous TLS connection established to in-v3.mailjet.com[104.199.96.85]:587: TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)
May 16 18:55:13 mail postfix/smtp[2648]: warning: SASL authentication failure: No worthy mechs found
May 16 18:55:13 mail postfix/smtp[2648]: B34B387A85506: to=<[email protected]>, relay=in-v3.mailjet.com[104.199.96.85]:587, delay=0.57, delays=0.07/0.06/0.45/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server in-v3.mailjet.com[104.199.96.85]: no mechanism available)
# END
Bug Report
Context
When I try to send a mail using a relay smtp server (I'm using Mailjet, but I tried with Gmail), I got an SASL authentication failure: No worthy mechs found:
Where
[email protected]is the recipient email.I'm running docker-mailserver under armv7, and is seems that it is working fine when I'm using x86 host.
What is affected by this bug?
I can't send mail at all because my ISP is blocking port 25, so I need to use mail relay.
When does this occur?
It occur every time I try to send a mail using a relay host using the armv7 docker image.
How do we replicate the issue?
Behavior
Actual Behavior
Defer the email transmission throwing the following error:
Expected Behavior
Should send the email through the mail relay without any issue.
Your Environment
9.1.02GB20.10.61.21.0armv7Environment Variables
Relevant Stack Traces