LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-04-2004, 01:51 AM   #1
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Rep: Reputation: 30
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?
 
Old 11-09-2004, 05:18 PM   #2
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Original Poster
Rep: Reputation: 30
OK I changed my hostname and domain, which took care of the hostname problem, but its still complaining about anything like {MTA_ANYTHING} in the curly brackets. I changed the main.cf to put actual values in to the hostname and domain fields, but there's a whole lot of those MTA entries in there and I don't know what most of them are. Whats up with it not knowing what to do with those entries? Smells like an unsatisfied dependancy to me, but what? I should also note that I am trying to install VHCS and this might be the VHCS version of main.cf? I dunno what the norm is. Here is what I currently am getting:

Code:
debian:~# dpkg --pending --configure
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
postalias: fatal: open {MTA_LOCAL_ALIAS_HASH}: No such file or directory
dpkg: error processing postfix (--configure):
 subprocess post-installation script returned error exit status 1
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
Errors were encountered while processing:
 postfix
 postfix-tls
Any one know whats up?

Last edited by Moebius; 11-09-2004 at 05:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix / Warnings hostname verification failed: Host not found rioguia Linux - Software 2 10-21-2004 02:15 PM
Postfix.. can't get hostname out of mail address... Raptor Ramjet Slackware 2 09-16-2004 02:27 PM
postfix uses hostname, not domainname dmarkow Linux - Networking 1 10-13-2003 02:41 AM
hostname/domainname/postfix setup with dynamic DNS from no-ip tesauce98 Linux - Software 10 09-17-2003 01:01 PM
Postfix error: Client host rejected: cannot find your hostname. olegarr Linux - Networking 2 06-28-2003 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration