Amavis telepítése

Fórumok

Sziasztok!

Amavis-t szeretnék telepíteni, de az amavisd indításkor hibát üzen:

apt-get install amavisd-new
[...]
Beállítás: amavisd-new (1:2.6.4-3) ...
Creating/updating amavis user account...
Starting amavisd: The value of variable $myhostname is "tegyjotkata", but should have been
a fully qualified domain name; perhaps uname(3) did not provide such.
You must explicitly assign a FQDN of this host to variable $myhostname
in /etc/amavis/conf.d/05-node_id, or fix what uname(3) provides as a host's
network name!
(failed).
invoke-rc.d: initscript amavis, action "start" failed.
WARNING: Starting amavisd-new failed. Please check your configuration.

cat /etc/amavis/conf.d/05-node_id
use strict;

# $myhostname is used by amavisd-new for node identification, and it is
# important to get it right (e.g. for ESMTP EHLO, loop detection, and so on).

chomp($myhostname = `hostname --fqdn`);

# To manually set $myhostname, edit the following line with the correct Fully
# Qualified Domain Name (FQDN) and remove the # at the beginning of the line.
#
#$myhostname = "mail.example.com";

1; # ensure a defined return

hostname --fqdn:
tegyjotkata

hostname:
localhost tegyjotkata

cat /etc/hosts

::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
10.0.0.104 tegyjotkata
10.0.0.104 kuponkata.hu
10.0.0.104 tegyjot.hu

Mi lehet a gond?

Miért nem jó az FQDN név?

Előre is köszi a segítséget.

Hozzászólások