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

Timotheus Pokorra timotheus at pokorra.de
Tue Jan 26 09:26:01 CET 2016


Hello Jochen,
I just checked.
It seems to work for me without changing the /etc/amavisd/amavisd.conf file

What does this command show?
hostnamectl status
I get the fully qualified hostname for transient hostname:
59-centos7kolab16.pokorra.de
in CentOS7, you can set the hostname like this:
hostnamectl set-hostname my.test.pokorra.de

For me, hostname and hostname -f both show the full hostname.

hope this helps,
  Timotheus


On 23 January 2016 at 23:26, Jochen Hein <jochen at jochen.org> wrote:
>
> 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 at kolab-35 ~]# hostname
> kolab-35
> [root at kolab-35 ~]# hostname -f
> kolab-35.jochen.org
> [root at kolab-35 ~]# domainname
> jochen.org
>
>
> [root at kolab-35 ~]# getent hosts kolab-35
> fd23:e163:19f7:1234:5054:ff:fef1:136f kolab-35.jochen.org
> [root at kolab-35 ~]# getent hosts kolab-35.jochen.org
> fd23:e163:19f7:1234:5054:ff:fef1:136f kolab-35.jochen.org
> [root at kolab-35 ~]# getent hosts 192.168.30.117
> 192.168.30.117  kolab-35.jochen.org kolab-35
> [root at 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.
>
> _______________________________________________
> devel mailing list
> devel at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/devel



-- 
Kontaktdaten:
Zu Hause: 03741 4490423
in Plauen: 03741 7424995
Mobil: 0176-29920835


More information about the devel mailing list