pragon
December 11th, 2006, 04:42 PM
Hi
I have a problem while executing the following commands
apt-get install postfix-mysql postfix-tls postfix
apt-get install libsasl2 libsasl2-dev libsasl2-modules-sql
apt-get install spamassassin
apt-get install amavisd-new
after the last command I get the error
Starting amavisd: head: cannot open `/etc/mailname' for reading: No such file or directory
The value of variable $myhostname is "servers", 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)
so /etc/mailname is not created by default.How can I fix that problem?<Thanks>
I have a problem while executing the following commands
apt-get install postfix-mysql postfix-tls postfix
apt-get install libsasl2 libsasl2-dev libsasl2-modules-sql
apt-get install spamassassin
apt-get install amavisd-new
after the last command I get the error
Starting amavisd: head: cannot open `/etc/mailname' for reading: No such file or directory
The value of variable $myhostname is "servers", 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)
so /etc/mailname is not created by default.How can I fix that problem?<Thanks>