Article ID: 1735, created on Mar 7, 2007, last review on May 10, 2014

  • Applies to:
  • Plesk 8.x for Linux/Unix

Symptoms

The following error occurs during RBL server adding:

    ERROR: PleskFatalException      
   
    Unable to update superserver configuration file:
    MailMng->setMapsProtection() failed: mailmng failed: mailmng:
    popen_exec: command failed code: 1 ,
    ERROR while trying to check the hostname
    Check the error reason(see log file:
    /tmp/psa-rblmng-script___reconfiguration.log), fix and try again
   
    0: /usr/local/psa/admin/plib/cmd_rbl.php:46
    rbl_configure(string 'true', string
    'sbl-xbl.spamhaus.org;relays.ordb.org;bl.spamcop.net;dun.dnsrbl.net')
    1: /usr/local/psa/admin/htdocs/server/mail.php3:150

Cause

Improper hostname configuration.

Resolution

Make sure that /etc/hosts contains the records in the following format: 

     127.0.0.1       localhost
     192.168.1.10    foo.mydomain.org  foo

Where 192.168.1.10 should be replaced with the server IP and foo.mydomain.org with the real server hostname. How to get or change the hostname can be found in the 1793 article.

b8ef5052d936e902043e41759118114e 29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF