[SOLVED] Postfix problems

Hardware: computer
YunoHost version: 11.1.12.x
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I get this message since I have restored nextcloud via the command line.
It seems that some confoguration of Postfix have been imported and is creating problems.

# Notification

<user@domain.com>: SASL authentication failed; server
    relay.mail.com[1.2.3.4] said: 535 5.7.8 Error: authentication failed:
    SOMECHARACTERS


# Delivery Report

Reporting-MTA: dns; domain.com
X-Postfix-Queue-ID: 6AC6B100A07
X-Postfix-Sender: rfc822; user@domain.com
Arrival-Date: Fri, 24 Feb 2023 09:42:04 +0100 (CET)

Final-Recipient: rfc822; user@domain.com
Original-Recipient: rfc822;user@domain.com
Action: failed
Status: 4.7.8
Remote-MTA: dns; relay.mail.com
Diagnostic-Code: smtp; 535 5.7.8 Error: authentication failed: SOME$USER

Here is the /var/log/mail.info

Mar 14 09:53:05 domain postfix/qmgr[2677929]: 404C5FF984: from=<>, size=23496, nrcpt=2 (queue active)
Mar 14 09:53:05 domain postfix/qmgr[2677929]: E8B8A100A74: from=root@domain.com, size=1726, nrcpt=2 (queue active)
Mar 14 09:53:05 domain postfix/smtp[2001991]: Trusted TLS connection established to mail.relay.com[217.70.178.9]:587: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Mar 14 09:53:07 domain postfix/smtp[2001991]: 404C5FF984: to=matematt@domain.com, orig_to=matematt@domain.com, relay=mail.relay.com[217.70.178.9]:587, delay=430874, delays=430872/0.03/1.6/0, dsn=4.7.8, status=deferred (SASL authentication failed; server mail.relay.com[IP.OF.RE.LAY] said: 535 5.7.8 Error: authentication failed: USERID
Mar 14 09:53:07 domain postfix/error[2002024]: E8B8A100A74: to=matematt@domain.com, orig_to=root@domain.com, relay=none, delay=373981, delays=373980/1.6/0/0, dsn=4.7.8, status=deferred (delivery temporarily suspended: SASL authentication failed; server mail.relay.com[IP.OF.RE.LAY] said: 535 5.7.8 Error: authentication failed: USERID

Sounds like you have an SMTP relay configured with incorrect credentials …?

Hi @Aleks,
Thanks for the suggestion, I checked and find the problem as you suggested.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.