Applicable to:
- Plesk Onyx for Linux
Symptoms
-
plesk repair mail
command fails with the following error:# plesk repair mail example.com
Repairing the mail server configuration
Reconfiguring the settings of domains: example.com ........ [OK]
Reconfiguring the mailboxes .....................................
[2016-09-13 15:56:14] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/mailname_repair'] with exit code [1] [FAILED]
- mailname_repair failed: Input parse error: Invalid or
unsupported Unicode character or escape sequence found in
string. UTF8 encoded characters and '\\u' escape sequences are
not supported. Error occured at offset 2124, character '\\'.
Worker /usr/local/psa/admin/sbin/mailname_repair.worker failed
with exit status 1
Error messages: 0; Warnings: 0; Errors resolved: 0
exit status 1 -
In Domains > Email Addresses > test@example.com > Auto-Reply contains text in Japanese/French/German or other languages considered as NON-ASCII.
Cause
NON-ASCII symbols in Auto-Reply in one or several mailboxes. This is Plesk bug with ID #PPPM-4946 , that will be fixed in future Plesk updates.
Resolution
Until fix available, proceed with the following:
-
Connect to the server via SSH.
-
Locate all mailboxes with auto-reply feature enabled:
# plesk db "select m.mail_name, d.name AS domain from domains d, mail m where m.dom_id = d.id and m.autoresponder='true'"
+-----------+----------+
| john | example.com |
| jane | example.net |
+-----------+----------+Note: In this output, emails with enabled auto-reply option are john@example.com and jane@example.net
-
Log in to Plesk.
-
Temporary disable Auto-Reply for the found mailboxes via Domains > example.com > Email address > john@example.com > Auto-reply.
-
Run
plesk repair mail
again:# plesk repair mail
-
Turn back on Auto-Reply for mailboxes if needed in Domains > example.com > Email address > john@example.com.
-
Connect to the server via SSH.
-
Download the attached script:
# wget https://support.plesk.com/hc/en-us/article_attachments/360017476440/fix_plesk_repair_mail.sh
-
Give the execution permission:
# chmod +x fix_plesk_repair_mail.sh
-
Run the script:
# ./fix_plesk_repair_mail.sh
Note: This script produces a log file
repair-YYYYMMDD-hhmm.log
in/var/log/plesk/
with the result of commands.
Comments
0 comments
Please sign in to leave a comment.