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

Postfix error after update to 11.5.30

MaurizioP

New Pleskian
I recently upgraged the Plesk Panel, form version 11.0.9 to version 11.5.30 update #9, on CentOS 6.4, after the upgrade I switched the MTA from qmail to postfix.
Everything seems to work flawlessy, except the options under Mail Server Settings (Server-Wide Mail Settings), where I have the following error, each time I try to change a settings and save it (with the OK button):

ERROR: PleskUtilException
Error: invalid command --set-accounts-format
Usage: mailmng <COMMAND> <COMMAND OPTIONS...>
for a complete list of commands use ``mailmng --help-commands''
for help on syntax for a particular command use ``mailmng <COMMAND> --help''
for legacy complete help use ``mailmng --help-legacy''

The settings are not saved.


Thanks

Maurizio
 
Perhaps upgrade was not completed successfully. Try to repair it with bootstrapper repair procedure.
 
Please post output of
# plesk sbin mailmng-server --features | grep SMTP

and any relevant entires from /usr/local/psa/admin/logs/panel.log
 
plesk sbin mailmng-server --features | grep SMTP

$features['Relay_AuthType_POP3_SMTP'] = true;
$features['Relay_AuthType_SMTP'] = true;
$features['SMTP_Server'] = "Postfix";
$features['SMTP_Server_package'] = "postfix";

------------------------------------------------------

/usr/local/psa/admin/logs/panel.log
2013-08-01T11:13:00+02:00 ERR (3) [util_exec]: proc_close() failed
[01-Aug-2013 11:13:00 Europe/Berlin] PleskUtilException: '/usr/local/psa/admin/bin/mailmng-server' '--set-accounts-format' '--account-format=compound' failed with code 1.

stdout:


stderr:
Error: invalid command --set-accounts-format
Usage: mailmng <COMMAND> <COMMAND OPTIONS...>
for a complete list of commands use ``mailmng --help-commands''
for help on syntax for a particular command use ``mailmng <COMMAND> --help''
for legacy complete help use ``mailmng --help-legacy''

file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 38
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(60): Service_Agent_Transport_Local_Exec->process(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction))
#1 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(26): Service_Agent_Transport_Local->_command(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction))
#2 /usr/local/psa/admin/plib/Service/Agent.php(140): Service_Agent_Transport_Local->process('3cd4d78138ede70...', Array)
#3 /usr/local/psa/admin/plib/Service/Agent.php(210): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/Service/Driver/Mail/Plesk/Server/Abstract.php(206): Service_Agent->execAndGetResponse('mailmng-server', Array, NULL, Array)
#5 /usr/local/psa/admin/plib/Service/Driver/Mail/Plesk/Server/Abstract.php(125): Service_Driver_Mail_Plesk_Server_Abstract->_callMailMng('server', Array)
#6 /usr/local/psa/admin/plib/Service/Driver/Mail/Plesk/Server/Unix.php(77): Service_Driver_Mail_Plesk_Server_Abstract->_setAccountFormat(1, 'account-format')
#7 /usr/local/psa/admin/htdocs/server/mail.php3(123): Service_Driver_Mail_Plesk_Server_Unix->setAccountFormat(1)
#8 /usr/local/psa/admin/htdocs/plesk.php(44): require('/usr/local/psa/...')
#9 {main}

2013-08-01T11:13:00+02:00 ERR (3) [panel]: Error: invalid command --set-accounts-format
Usage: mailmng <COMMAND> <COMMAND OPTIONS...>
for a complete list of commands use ``mailmng --help-commands''
for help on syntax for a particular command use ``mailmng <COMMAND> --help''
for legacy complete help use ``mailmng --help-legacy''
:
0: Agent.php:212
Service_Agent->execAndGetResponse(string 'mailmng-server', array, NULL null, array)
1: Abstract.php:206
Service_Driver_Mail_Plesk_Server_Abstract->_callMailMng(string 'server', array)
2: Abstract.php:125
Service_Driver_Mail_Plesk_Server_Abstract->_setAccountFormat(integer '1', string 'account-format')
3: Unix.php:77
Service_Driver_Mail_Plesk_Server_Unix->setAccountFormat(integer '1')
4: mail.php3:123
require(string '/usr/local/psa/admin/htdocs/server/mail.php3')
5: plesk.php:44
[01-Aug-2013 11:13:00 Europe/Berlin] PleskUtilException: Error: invalid command --set-accounts-format
Usage: mailmng <COMMAND> <COMMAND OPTIONS...>
for a complete list of commands use ``mailmng --help-commands''
for help on syntax for a particular command use ``mailmng <COMMAND> --help''
for legacy complete help use ``mailmng --help-legacy''

file: /usr/local/psa/admin/plib/Service/Agent.php
line: 212
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Driver/Mail/Plesk/Server/Abstract.php(206): Service_Agent->execAndGetResponse('mailmng-server', Array, NULL, Array)
#1 /usr/local/psa/admin/plib/Service/Driver/Mail/Plesk/Server/Abstract.php(125): Service_Driver_Mail_Plesk_Server_Abstract->_callMailMng('server', Array)
#2 /usr/local/psa/admin/plib/Service/Driver/Mail/Plesk/Server/Unix.php(77): Service_Driver_Mail_Plesk_Server_Abstract->_setAccountFormat(1, 'account-format')
#3 /usr/local/psa/admin/htdocs/server/mail.php3(123): Service_Driver_Mail_Plesk_Server_Unix->setAccountFormat(1)
#4 /usr/local/psa/admin/htdocs/plesk.php(44): require('/usr/local/psa/...')
#5 {main}
 
Last edited:
Yup. Reproduced it. Quick fix would be to call:

# plesk bin settings --set allow_short_pop3_names=disabled
 
Yup. Reproduced it. Quick fix would be to call:

# plesk bin settings --set allow_short_pop3_names=disabled

It works, thank you very much.

I think there is a bug in the upgrade script from qmail to postfix, where qmail has allow_short_pop3_names setting enabled.
 
Last edited:
Back
Top