• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

problems running mchk

dragnovich

Basic Pleskian
When I run mchk to regenerate all sites, I get this ...

[root@server ~]# /usr/local/psa/admin/sbin/mchk --without-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... fail
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_responder_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
Errors occured in mail restore procedure
Some utilities have exited with errors:
/usr/lib64/plesk-9.0/mail_auth_dump

the same results is with any params runned, here there are some concerns...

what's mail_auth_dump and what is for??
Why is failing ?
where's a log to trace the problem?
IS REALLY A PROBLEM TO TAKE care or is "optional" or "CRITIC"

any way if I run directly the program: /usr/lib64/plesk-9.0/mail_auth_dump , it runs for a while and nothing is displayed (executed successfully ? )

A note: I have installed CentOS6 /64 bits and Plesk 11.0.9 (how ever it is running that program in /usr/lib64/plesk-9.0 ? is this OK ?}

regards
 
Most probably that it can be related to missed passwords for some mailboxes. In order to get the list of such email accounts, please run the command:

# echo "SELECT m.mail_name, d.name FROM mail m LEFT JOIN accounts a ON a.id = m.account_id LEFT JOIN domains d ON m.dom_id =d.id WHERE trim(a.password) = ''" |mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

Then set passwords for found mailboxes and run

#/usr/lib64/plesk-9.0/mail_restore

#/usr/local/psa/admin/sbin/mchk --without-spam

I hope it will help.
 
Then set passwords for found mailboxes and run

#/usr/lib64/plesk-9.0/mail_restore

#/usr/local/psa/admin/sbin/mchk --without-spam

Just for my understanding: what's the difference between these two commands? They seem to do just the same. Is there any difference between "mail_restore" and "mchk"?
 
Looks like no difference:

root@ppu10-4:~# diff /usr/local/psa/admin/sbin/mchk /usr/lib/plesk-9.0/mail_restore
root@ppu10-4:~#
 
@IgorG
I have the same Problem ...
# echo "SELECT m.mail_name, d.name FROM mail m LEFT JOIN accounts a ON a.id = m.account_id LEFT JOIN domains d ON m.dom_id =d.id WHERE trim(a.password) = ''" |mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

All entries have no mailbox
For each entry, there is no mailbox, e-mails are forwarded

OS Debian 6.0.6
Plesk 11.0.9 Update #24

Ivan
 
Back
Top