• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Unable to send emails after upgrading to 18.0.34

Desdoyer

New Pleskian
I'm being unable to send emails since right after I upgraded to 18.0.34. Things were working perfectly before and upgrading/updating to 18.0.34 was all I did.
This problem seems to be happening for all the domains I have configured in the server (or at least all the domains I tested).

When I want to send an email via webmail (roundcube), for example, I get a red error message on the bottom-right corner saying:
"SMTP Error (454): Authentication failed."

And the following lines are logged in the file /usr/local/psa/var/log/maillog:
Code:
postfix/smtpd: connect from localhost.localdomain[::1]
postfix/smtpd: TLS SNI localhost from localhost.localdomain[::1] not matched, using default chain
postfix/smtpd: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
postfix/smtpd: warning: SASL authentication failure: Password verification failed
postfix/smtpd: warning: localhost.localdomain[::1]: SASL PLAIN authentication failed: generic failure
postfix/smtpd: disconnect from localhost.localdomain[::1] ehlo=1 auth=0/1 quit=1 commands=2/3

I cannot send emails from mail clients either.

Are you experiencing the same problem? Any idea about how can I solve this problem?
 
Hi,
I am experiencing the very same problem.
Additionally, incoming mail is also broken.

Code:
postfix/smtpd connect from unknown[192.168.1.8]
postfix/smtpd Unable to open database(readonly) /plesk/passwd.db: unable to open database file
 
The Diagnose & Repair Mail Server didn't help in my case. The very same error is still being logged into maillog.
 
Here's the output:
Code:
# stat /var/spool/postfix/plesk/passwd.db
  File: /var/spool/postfix/plesk/passwd.db
  Size: 45056         Blocks: 88         IO Block: 4096   regular file
Device: 802h/2050d    Inode: 2097433     Links: 1
Access: (0460/-r--rw----)  Uid: (  107/ postfix)   Gid: (    0/    root)
Access: 2021-03-11 00:27:37.339341552 +0000
Modify: 2021-03-11 00:26:46.315315069 +0000
Change: 2021-03-11 00:26:46.315315069 +0000
 Birth: -
 
I think I solved the problem by editing configuration file /etc/postfix/sasl/smtpd.conf from:
Code:
saslauthd_path: /private/plesk_saslauthd
to:
Code:
saslauthd_path: private/plesk_saslauthd

NOTE that I have removed the leading slash for saslauthd_path. After that, I reloaded postfix by executing:
# service postfix reload

@john0001, thank you very much for pointing me on the right direction and to the right topic!
 
I'm facing the same issue after updating to 18.0.34
But i can receive E-Mails. Just sending E-Mails is impossible.

stat /var/spool/postfix/plesk/passwd.db output:

File: /var/spool/postfix/plesk/passwd.db
Size: 36864 Blocks: 72 IO Block: 4096 regular file
Device: 45b0b601h/1169208833d Inode: 396980 Links: 1
Access: (0460/-r--rw----) Uid: ( 105/ postfix) Gid: ( 0/ root)
Access: 2021-03-11 02:23:27.399921578 +0100
Modify: 2021-03-11 02:22:54.807884443 +0100
Change: 2021-03-11 02:22:54.807884443 +0100
Birth: -

Maillog:

Mar 11 02:39:42 postfix/smtpd[6580]: warning: SASL authentication failure: no secret in database
Mar 11 02:39:42 postfix/smtpd[6580]: warning: SASL authentication failure: no secret in database
Mar 11 02:39:42 postfix/smtpd[6580]: warning: ip[]: SASL DIGEST-MD5 authentication failed: authentication failure
Mar 11 02:39:42 postfix/smtpd[6580]: warning: ip[]: SASL DIGEST-MD5 authentication failed: authentication failure
Mar 11 02:39:42 postfix/smtpd[6580]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Mar 11 02:39:42 postfix/smtpd[6580]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Mar 11 02:39:42 postfix/smtpd[6580]: warning: ip[]: SASL LOGIN authentication failed: generic failure
Mar 11 02:39:42 postfix/smtpd[6580]: warning: ip[]: SASL LOGIN authentication failed: generic failure

I tried to give a new Password, but it didn't help.
Configuration Troubleshooter didn't help.
Didn't help: Unable to send an email from Plesk server: SMTP Error (535): Authentication failed
plesk repair db didn't help.
 
Same problem here. Started after upgrading to: Plesk Obsidian v18.0.34_build1800210305.11 os_Ubuntu 18.04
The system stopped sending emails to the domains hosted on the server. The system still sends email to other domains.
This is really problematic since we cannot get any emails from the websites, be it order confirmation or contact us (both are considered sending to self)
Something clearly happened during the update - please HELP

This i what i see in var/log/maillog, but sometimes I get the "mail for aaa.com loops back to myself" error in the maillog.
I looked into the /etc/postfix/main.cnf and it is clearly different from previous version, the local domain is not defined in this file.
I also looked into etc/resolv.cnf and it has "nameserver 127.0.0.53" unlike previous version 18.0.33 which has the host nameserver ip addresses.

Code:
Mar 10 20:33:35 AAAA check-quota[26329]: Starting the check-quota filter...
Mar 10 20:33:35 AAAA plesk sendmail[26328]: handlers_stderr: SKIP
Mar 10 20:33:35 AAAA plesk sendmail[26328]: SKIP during call 'check-quota' handler
Mar 10 20:33:35 AAAA postfix/pickup[25009]: 0CA9180B03: uid=10002 from=<[email protected]>
Mar 10 20:33:35 AAAA postfix/cleanup[26335]: 0CA9180B03: message-id=<[email protected]>
Mar 10 20:33:35 AAAA postfix/qmgr[25010]: 0CA9180B03: from=<[email protected]>, size=350, nrcpt=2 (queue active)
Mar 10 20:33:35 AAAA postfix/error[26340]: 0CA9180B03: to=<[email protected]>, relay=none, delay=0.04, delays=0.03/0.01/0/0.01, dsn=5.1.1, status=bounced (User unknown in virtual alias table)
 
I think I solved the problem by editing configuration file /etc/postfix/sasl/smtpd.conf from:
Code:
saslauthd_path: /private/plesk_saslauthd
to:
Code:
saslauthd_path: private/plesk_saslauthd

NOTE that I have removed the leading slash for saslauthd_path. After that, I reloaded postfix by executing:
# service postfix reload

@john0001, thank you very much for pointing me on the right direction and to the right topic!
Big Thank you @Desdoyer.
Solved my Problem, too.
 
I think I solved the problem by editing configuration file /etc/postfix/sasl/smtpd.conf from:
Code:
saslauthd_path: /private/plesk_saslauthd
to:
Code:
saslauthd_path: private/plesk_saslauthd

NOTE that I have removed the leading slash for saslauthd_path. After that, I reloaded postfix by executing:
# service postfix reload
This does not solve the problem 100%.
Most incoming mails work now but I am still getting "Unable to open database(readonly) /plesk/passwd.db: unable to open database file" - and I am guessing this happens when plain text auth is used, but I am not sure.
 
Same problem here after the latest Plesk Update....

Removing the slash from saslauthd_path: /private/plesk_saslauthd only produces other errors......
 
With a bad feeling....... Switched to qmail, and back to postfix. Fixed the problem!

Could you share the content of file /etc/postfix/sasl/smtpd.conf after having switched to and from qmail?

I fixed my problem and everything seems to be working smoothly but I'm still considering switching to and from qmail to make sure that everything is correct and there are no other configuration issues that I'm not detecting...
 
Hi switching to qmail is a good advice, but sadly did not help. Emails to local domain are rejected.
run this to test send email
echo "Test Email message body" | mail -s "Email test subject" [email protected]
Mar 11 14:27:38 Exit27 qmail: 1615490858.899888 delivery 10: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Mar 11 14:27:38 Exit27 qmail: 1615490858.899988 status: local 0/10 remote 0/20
Mar 11 14:27:38 Exit25 qmail: 1615490858.900006 triple bounce: discarding bounce/522791
 
Could you share the content of file /etc/postfix/sasl/smtpd.conf after having switched to and from qmail?

I fixed my problem and everything seems to be working smoothly but I'm still considering switching to and from qmail to make sure that everything is correct and there are no other configuration issues that I'm not detecting...
mine is
pwcheck_method: auxprop saslauthd
auxprop_plugin: plesk
saslauthd_path: /private/plesk_saslauthd
mech_list: DIGEST-MD5 CRAM-MD5 PLAIN LOGIN
sql_engine: intentionally disabled
log_level: 4
 
That fix seems to work only for clear text password login in my case.

In case of encrypted password I receive flowing error:
Mar 11 20:22:01 xxx postfix/smtpd[27805]: warning: SASL authentication failure: no secret in database
Mar 11 20:22:01 xxx postfix/smtpd[27805]: warning: xxx.xxx.xxx.xxx: SASL CRAM-MD5 authentication failed: authentication failure
 
Back
Top