• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Plesk 12 Email Domains disapearing after running mchk command

Chayanun_Somanassang

Plesk Certified Professional
Plesk Certified Professional
We found an issue after running plesk mchk command to restore all the mail server settings with SpamAssiassin settings enabled for all email accounts on the Plesk Server.
After running the mchk command, we found many warning messages in the psa maillog as following "authpsa : No such user [Email account] in mail authorization database".
We checked the mysql database for records on the Email Account that the error is referring to but found that the Domain Email Database was deleted (email address, password, email data).

Has anyone seen this issue before or is this something normal that the plesk mchk command does?

Plesk 12.0.18 Update #37
 

Attachments

  • mchk log 01.txt
    2 KB · Views: 4
I can't reproduce this issue on my test Plesk server:

[root@ppu12-0 ~]# /usr/local/psa/admin/sbin/mail_auth_view
Authentication database contents:
+--------------------------------------+-----+--------------------------------------+
| address |flags| password |
+--------------------------------------+-----+--------------------------------------+
| jevaspf@eichmanndouglas.ppu12-0.demo.pp.plesk.ru | | pvvuf19RHO |
| admin@ppu12-0.demo.pp.plesk.ru | | setup |
| cleta1287@weberstromanandgoldner.ppu12-0.demo.pp.plesk.ru | | qdzrmxlcpf |
+--------------------------------------+-----+--------------------------------------+
Flags
A - account disabled
D - domain disabled
E - password encrypted

[root@ppu12-0 ~]# /usr/local/psa/admin/sbin/mchk --with-spam
==> Checking for: mailsrv_conf_init... ok
==> Checking for: mail_handlers_init... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... ok
==> Checking for: mail_auth_dump... ok
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: mail_imap_restore... ok
==> Checking for: mail_spam_restore... ok
==> Checking for: mail_grey_restore... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... ok
==> Checking for: mail_drweb_restore... ok
==> Checking for: mail_outgoing_restore... ok
==> Checking for: mail_transport_restore... ok

[root@ppu12-0 ~]# /usr/local/psa/admin/sbin/mail_auth_view
Authentication database contents:
+--------------------------------------+-----+--------------------------------------+
| address |flags| password |
+--------------------------------------+-----+--------------------------------------+
| jevaspf@eichmanndouglas.ppu12-0.demo.pp.plesk.ru | | pvvuf19RHO |
| admin@ppu12-0.demo.pp.plesk.ru | | setup |
| cleta1287@weberstromanandgoldner.ppu12-0.demo.pp.plesk.ru | | qdzrmxlcpf |
+--------------------------------------+-----+--------------------------------------+
Flags
A - account disabled
D - domain disabled
E - password encrypted
[root@ppu12-0 ~]#

You can try to restore mailboxes with

# /usr/lib/plesk-9.0/mail_mailbox_restore
 
Same problem here.

After update to Plesk 12, it seems the command /usr/lib64/plesk-9.0/remote_mail_restore/mail_auth_dump (part of mchk) not working properly. Only small part of psa mail accounts are updated to the Authentication database /var/spool/postfix/plesk/password.db .

We recovered password.db and password_db_key from backups, but it mchk command its launched the problema appears again.

Any suggestions?
 
Same problem here. After running into "No such user '<name>@<domain.tld>' in mail authorization database" we tried to repair the configuration with mchk and mail_auth_dump and that destroyed
the entire database. We restored a backup, but this is a serious issue.
 
We see the same issue on Plesk 12.5 (latest with all updates) as well, but not on every Plesk installation we have. It would be great if Odin (or whoever currently owns Plesk) would take a second look at this, or contact us to reproduce the issue.
 
Last edited:
Back
Top