Cannot change mail configuration on domain with "glmng" error.

Created:

2016-11-16 12:59:46 UTC

Modified:

2017-08-08 13:34:01 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot change mail configuration on domain with "glmng" error.

Applicable to:

  • Plesk for Linux

Symptoms

Cannot change mail configuration on domain with error:

[22-Jun-2014 13:27:49 Asia/Calcutta] PleskUtilException: '/usr/local/psa/admin/bin/glmng' '--enable-greylisting' failed with code 255.
stdout:
Some errors occured. See log for details.

In /usr/local/psa/admin/logs/ panel.log you could find following error:

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('5fd56017da73501...', Array)
#3 /usr/local/psa/admin/plib/Service/Agent.php(210): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/Mail/Server/GreyList/Manager.php(1010): Service_Agent->execAndGetResponse('glmng', Array, 'domain.com')
#5 /usr/local/psa/admin/plib/Mail/Server/GreyList/Manager.php(89): Mail_Server_GreyList_Manager->_exec('enable-greylist...', Array, Array)
#6 /usr/local/psa/admin/plib/Mail/Server/GreyList/Manager.php(60): Mail_Server_GreyList_Manager->_processDomainBatch('enable-greylist...', Array)
#7 [internal function]: Mail_Server_GreyList_Manager->_processBatchCallback()
#8 {main}

2014-06-22T13:27:49+05:30 DEBUG (7) [util_exec]: send-error-report /usr/local/psa/admin/bin/send-error-report 'warning' TRUE 0.00122

2014-06-22T13:27:51+05:30 DEBUG (7) [util_exec]: End: 5fd56017da73501b3dfe48f1869f36ce
[22-Jun-2014 13:27:51 Asia/Calcutta] PHP Fatal error: Uncaught exception 'PleskUtilException' in /usr/local/psa/admin/plib/Service/Agent.php:212
Stack trace:
#0 /usr/local/psa/admin/plib/Mail/Server/GreyList/Manager.php(1010): Service_Agent->execAndGetResponse('glmng', Array, 'domain.com')
#1 /usr/local/psa/admin/plib/Mail/Server/GreyList/Manager.php(89): Mail_Server_GreyList_Manager->_exec('enable-greylist...', Array, Array)
#2 /usr/local/psa/admin/plib/Mail/Server/GreyList/Manager.php(60): Mail_Server_GreyList_Manager->_processDomainBatch('enable-greylist...', Array)
#3 [internal function]: Mail_Server_GreyList_Manager->_processBatchCallback()
#4 {main}
thrown in /usr/local/psa/admin/plib/Service/Agent.php on line 212

Cause

Greylisting database was corrupted.

Resolution

Restore configuration with mchk utlity:

[root@server ~]# /usr/local/psa/admin/sbin/mchk --with-spam
Have more questions? Submit a request
Please sign in to leave a comment.