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

Timotheus Pokorra <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <CAJ0=nQeU4YuwLeP2+TgNNJ8z+7B0LQhPozBMw1eD=-G14Px38Q__4763.13201147622$1453796782$gmane$org@mail.gmail.com>
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 <[email protected]> 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@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.
>
> _______________________________________________
> devel mailing list
> [email protected]
> https://lists.kolab.org/mailman/listinfo/devel



-- 
Kontaktdaten:
Zu Hause: 03741 4490423
in Plauen: 03741 7424995
Mobil: 0176-29920835
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.