Moebius |
11-04-2004 01:51 AM |
hostname error installing postfix
when I try to install postfix with apt-get on my debian system I get this error:
Code:
Setting up postfix (2.1.4-5) ...
Postfix configuration was not changed. If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
Running newaliases
newaliases: warning: valid_hostname: invalid character 123(decimal): {MTA_HOSTNAME}
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: {MTA_HOSTNAME}
dpkg: error processing postfix (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of sensible-mda:
sensible-mda depends on sendmail-bin | mail-transport-agent; however:
Package sendmail-bin is not installed.
Package mail-transport-agent is not installed.
Package exim which provides mail-transport-agent is not installed.
Package sendmail-bin which provides mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing sensible-mda (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postfix-tls:
postfix-tls depends on postfix; however:
Package postfix is not configured yet.
postfix-tls depends on postfix (= 2.1.4-5); however:
Package postfix is not configured yet.
dpkg: error processing postfix-tls (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of webmin-postfix:
webmin-postfix depends on postfix | postfix-tls; however:
Package postfix is not configured yet.
Package postfix-tls is not configured yet.
dpkg: error processing webmin-postfix (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
postfix
sensible-mda
postfix-tls
webmin-postfix
installation script returned error exit status 100.
my /etc/hosts currently looks like this:
Code:
debian:/etc/apache2# cat /etc/hosts
127.0.0.1 localhost
127.0.0.1 debian
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Any ideas?
|