View previous topic :: View next topic |
Author |
Message |
Thiemo Tux's lil' helper


Joined: 20 Nov 2002 Posts: 138
|
Posted: Sun Feb 29, 2004 12:29 am Post subject: [partly solved] postfix start fails due to getaddrinfo: ... |
|
|
Hi,
I had postfix running and upgraded to postfix-2.0.16-r1 and now it fails on start due to "getaddrinfo: Servname not support" I also tried 2.0.18 and downgraded to 2.0.11 with the same result.
Does somebody have a clue?
Cheers
Thiemo _________________ root ist die wurzel allen uebels
Last edited by Thiemo on Sun Mar 07, 2004 5:34 pm; edited 1 time in total |
|
Back to top |
|
 |
EvilTwinSkippy n00b


Joined: 20 Feb 2003 Posts: 63 Location: Philadelphia, PA
|
Posted: Sun Feb 29, 2004 2:55 am Post subject: Sounds like a hostname issue |
|
|
Did you program in a hostname into your postfix configuration? If not, does your computer have a name in /etc/hostname? In either case, are your DNS settings in /etc/resolv.conf up to date and correct?
I vaguely recall getting this error in the past, and it turned out to be some strangeness with the way I had my address records in the DNS. Or Portage overwriting my /etc/hostname file. I don't recall clearly.[/b] _________________ I've found that people will take what you say more seriously if you tell them Ben Franklin said it first. |
|
Back to top |
|
 |
gautamg n00b


Joined: 23 Feb 2004 Posts: 27 Location: New York, NY
|
|
Back to top |
|
 |
Thiemo Tux's lil' helper


Joined: 20 Nov 2002 Posts: 138
|
Posted: Sun Feb 29, 2004 9:07 am Post subject: Re: Sounds like a hostname issue |
|
|
EvilTwinSkippy wrote: | Did you program in a hostname into your postfix configuration? If not, does your computer have a name in /etc/hostname? In either case, are your DNS settings in /etc/resolv.conf up to date and correct?
I vaguely recall getting this error in the past, and it turned out to be some strangeness with the way I had my address records in the DNS. Or Portage overwriting my /etc/hostname file. I don't recall clearly.[/b] |
nyffeltrach root # cat /etc/hostname
nyffeltrach.thiam.ch
nyffeltrach root # cat /etc/resolv.conf
domain thiam.ch
search thiam.ch
nameserver localhost
nameserver 192.168.1.1
nameserver 81.221.252.10
nameserver 81.221.250.10
nyffeltrach root # cat /etc/hosts
# /etc/hosts: This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server. Just add the names, addresses
# and any aliases to this file...
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8 2003/08/04 20:12:25 azarah Exp $
#
127.0.0.1 localhost
# IPV6 versions of localhost and co
::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
# Thiemo Kellner, thiemo@thiam.ch, 2003-09-26
192.168.0.253 nyffeltrach.thiam.ch
nyffeltrach root # host limbo
limbo.thiam.ch has address 192.168.0.249
This looks all good to me. _________________ root ist die wurzel allen uebels |
|
Back to top |
|
 |
Thiemo Tux's lil' helper


Joined: 20 Nov 2002 Posts: 138
|
Posted: Sun Feb 29, 2004 9:09 am Post subject: Re: ipv6? |
|
|
I use USE="IPV6". However, I did that before. I'll check your link, however.
[edit] I am affraid, I could not get usefull information from above link. Though there is a bug mentionned giving "getaddrinfo: Servname not support", it seems to be related only to clients connections and fixed at least with 2.0.18, but my problem happens at server start up and from 2.0.11 to 2.0.18 ebuilds. However, I do know that postfix can act as client as well, but I assume this hardly could matter at start up. Maybe somebody more knowledgable than I can give me a hint.
Thanks _________________ root ist die wurzel allen uebels |
|
Back to top |
|
 |
Thiemo Tux's lil' helper


Joined: 20 Nov 2002 Posts: 138
|
Posted: Thu Mar 04, 2004 10:06 pm Post subject: |
|
|
BTW "postfix check" didn't return anything...
Thiemo _________________ root ist die wurzel allen uebels |
|
Back to top |
|
 |
Thiemo Tux's lil' helper


Joined: 20 Nov 2002 Posts: 138
|
Posted: Sun Mar 07, 2004 5:36 pm Post subject: solution part |
|
|
I found what kept postfix from running.
I put two instruction into master.cf. I forgot to remove them.
Code: | smtps inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
submission inet n - n - - smtpd
-o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes |
However, my postfix is running again but still without authentication - and apparingly blocking all mails from outside.
Cheers
Thiemo _________________ root ist die wurzel allen uebels |
|
Back to top |
|
 |
|