FQDN Misery Re: To: Postfix, Mutt And No Root Mail? & amavisd-new Install
Leonard Chatagnier
lenc5570 at sbcglobal.net
Wed Nov 7 18:43:57 UTC 2007
Still no root mail in mutt. Seems related to not
having a FQDN. Couldn't fully install amavisd-new due
to having no FQDN. Googling did't help. Can't figure
out how to establish a FQDN as you will see from the
following:
lchata at ubuntu:/usr/share/doc/mutt/examples$ hostname
ubuntu
lchata at ubuntu:/usr/share/doc/mutt/examples$ domainname
gateway.2wire.net
lchata at ubuntu:/usr/share/doc/mutt/examples$ nslookup
ubuntu
Server: 192.168.1.254
Address: 192.168.1.254#53
Name: ubuntu.gateway.2wire.net
Address: 192.168.1.64
lchata at ubuntu:/usr/share/doc/mutt/examples$ nslookup
pavilion8370
Server: 192.168.1.254
Address: 192.168.1.254#53
Name: pavilion8370.gateway.2wire.net
Address: 192.168.1.65
lchata at ubuntu:/usr/share/doc/mutt/examples$
As you see "hostnam and domainname" both give results
and nslookup indicates to me that
"ubuntu.gateway.2wire.net" is the FQDN for my Ubuntu
machine.
Attempted installation of amavisd-new gave this output
error:
Setting up amavisd-new (2.4.2-6) ...
Creating/updating amavis user account...
Starting amavisd: head: cannot open `/etc/mailname'
for reading: No such file or directory
The value of variable $myhostname is "ubuntu", 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 amavisd.conf, or fix what uname(3) provides as a
host's network name!
(failed).
invoke-rc.d: initscript amavis, action "start" failed.
dpkg: error processing amavisd-new (--configure):
subprocess post-installation script returned error
exit status 1
Errors were encountered while processing:
amavisd-new
E: Sub-process /usr/bin/dpkg returned an error code
(1)
A package failed to install. Trying to recover:
Setting up amavisd-new (2.4.2-6) ...
Creating/updating amavis user account...
Starting amavisd: head: cannot open `/etc/mailname'
for reading: No such file or directory
The value of variable $myhostname is "ubuntu", 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 amavisd.conf, or fix what uname(3) provides as a
host's network name!
(failed).
invoke-rc.d: initscript amavis, action "start" failed.
dpkg: error processing amavisd-new (--configure):
subprocess post-installation script returned error
exit status 1
Errors were encountered while processing:
amavisd-new
So what am I doing wrong and how to fix FQDN? Any help
appreciated. Thanks,
Leonard Chatagnier
lenc5570 at sbcglobal.net
More information about the ubuntu-users
mailing list