Powermta Startup error: Error: host name “xxx” is not fully qualified, please configure ‘host-name’ and/or ‘domain-suffix’. hatası

PowerMTA sunucularından birini start etmek istediğimde aşağıdaki hatayı aldım.

[root@xxx ~]# /etc/init.d/pmta start
Starting PowerMTA: [FAILED]
[root@xxx ~]# pmtad --debug         
2012-04-24 12:35:56 Startup error: Error: host name "xxx" is not fully qualified, please configure 'host-name' and/or 'domain-suffix'.

Çözüm olarak hostname olarak full domain name set etmek gerekiyor.

[root@xxx sysconfig]# hostname
xxx
[root@xxx sysconfig]# vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=xxx.kursad.com
GATEWAY=xxx.xxx.xxx.xxx
[root@xxx sysconfig]# hostname xxx.kursad.com
[root@xxx sysconfig]# hostname
xxx.kursad.com
[root@xxx sysconfig]# /etc/init.d/pmta start
Starting PowerMTA: [  OK  ]
[root@xxx sysconfig]# pmtad --debug
2012-04-24 12:38:26 Startup error: PowerMTA is already running

Posted in Linux, Mail Servers on April 24th, 2012 by Kürşad DARA | | 0 Comments