• 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.

Resolved Mail broken /usr/sbin/postconf: invalid option -- 'x'

BobClaas

Basic Pleskian
Plesk mail server is giving the following error:

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.
 
Take into consider to tell the community which OS/Plesk Version do you have and are there other error messages in /var/log/plesk/panel.log or /var/log/maillog.
This sounds like a broken installation. Did you update your system before?
if so you can try
Code:
# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components

otherwise since it is your production mail service your best bet would be to contact Plesk support directly so they can investigate for you How to get technical support for Plesk? & How to get support directly from Plesk?
 
Last edited:
Back
Top