Plesk mail server is giving the following error:
For testing:
#/usr/local/psa/admin/bin/mailmng-server --get-mailbox-size-limit
#plesk repair mail
My production mail server is broken atm.
Code:
mailmng-server failed: Fatal error: plesk::mail::postfix::PostfixConfigurationError(/usr/sbin/postconf: invalid option -- 'x' /usr/sbin/postconf: fatal: usage: /usr/sbin/postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-d (defaults)] [-e (edit)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-n (non-defaults)] [-v] [name...] )
Type PleskUtilException
Message mailmng-server failed: Fatal error: plesk::mail::postfix::PostfixConfigurationError(/usr/sbin/postconf: invalid option -- 'x' /usr/sbin/postconf: fatal: usage: /usr/sbin/postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-d (defaults)] [-e (edit)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-n (non-defaults)] [-v] [name...] )
File Agent.php
Line 228
For testing:
#/usr/local/psa/admin/bin/mailmng-server --get-mailbox-size-limit
Code:
Fatal error: plesk::mail::postfix::PostfixConfigurationError(/usr/sbin/postconf: invalid option -- 'x'
/usr/sbin/postconf: fatal: usage: /usr/sbin/postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-d (defaults)] [-e (edit)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-n (non-defaults)] [-v] [name...]
)
#plesk repair mail
Code:
Repairing the mail server configuration
Reconfigure all domains and mailboxes? [Y/n] y
Reconfiguring all domains and mailboxes ......................... [2018-05-12 13:50:02.584] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/mchk'] with exit code [1]
[FAILED]
- mchk failed: ==> Checking for: mailsrv_conf_init... fail
Error messages: 0; Warnings: 0; Errors resolved: 0
My production mail server is broken atm.