[Kolab-devel] [3.5] amavisd is not starting on CentOS

Jochen Hein <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <[email protected]>
Hello,

after installation on CentOS 7.2 and setup-kolab amavisd doesn't start
for me:

Jan 23 23:19:28 kolab-35 amavisd[4545]: The value of variable $myhostname is "kolab-35", but should have been
Jan 23 23:19:28 kolab-35 amavisd[4545]: a fully qualified domain name; perhaps uname(3) did not provide such.
Jan 23 23:19:28 kolab-35 amavisd[4545]: You must explicitly assign a FQDN of this host to variable $myhostname
Jan 23 23:19:28 kolab-35 amavisd[4545]: in amavisd.conf, or fix what uname(3) provides as a host's network name!

My hostname/domainname is:

[root@kolab-35 ~]# hostname
kolab-35
[root@kolab-35 ~]# hostname -f
kolab-35.jochen.org
[root@kolab-35 ~]# domainname
jochen.org


[root@kolab-35 ~]# getent hosts kolab-35
fd23:e163:19f7:1234:5054:ff:fef1:136f kolab-35.jochen.org
[root@kolab-35 ~]# getent hosts kolab-35.jochen.org
fd23:e163:19f7:1234:5054:ff:fef1:136f kolab-35.jochen.org
[root@kolab-35 ~]# getent hosts 192.168.30.117
192.168.30.117  kolab-35.jochen.org kolab-35
[root@kolab-35 ~]# getent hosts fd23:e163:19f7:1234:5054:ff:fef1:136f
fd23:e163:19f7:1234:5054:ff:fef1:136f kolab-35.jochen.org

I have the following line in /etc/hosts:
192.168.30.117  kolab-35.jochen.org     kolab-35

If I add the following to /etc/amavis/amavis.conf, the service starts:

$myhostname = 'kolab-35.jochen.org';  # must be a fully-qualified domain name!

Any idea what is missing?  Or should setup-kolab add the correct
configuration?

Jochen

-- 
The only problem with troubleshooting is that the trouble shoots back.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.