Breezy borked postfix (seriously!)

ulrich steffens ulrich at barfuss-jerusalem.org
Fri Dec 23 14:06:07 UTC 2005


Am Freitag, den 23.12.2005, 09:28 +1100 schrieb David:
> On Thu, Dec 22, 2005 at 02:41:42PM +0100, ulrich steffens wrote:
> > Am Donnerstag, den 22.12.2005, 15:39 +1100 schrieb David:
> > > On Thu, Dec 22, 2005 at 03:11:19PM +1100, Peter Lieverdink wrote:
> > > > David wrote:
> > > > > Hoary/postfix worked great for local mail delivery. After upgrade to 
> > > > > Breezy, postfix seems to have got reconfigured (not removed) so that it 
> > > > > silently queues all email. 
> > > > > 
> > > > > /var/log/mail.err says:
> > > > > Dec 22 13:41:50 localhost postfix/master[15812]: fatal: 
> > > > > /etc/postfix/master.cf: line 84: bad hostname or network address: ::1:smtp
> > > > > 
> > > > > /etc/postfix/master.cf says:
> > > > > 127.0.0.1:smtp inet n   -       -       -       -       smtpd
> > > > > ::1:smtp       inet n   -       -       -       -       smtpd
> > > > > 
> > > > > /etc/postfix/main.cf says:
> > > > > mynetworks = 127.0.0.0/8
> > > > > myhostname = test.kenpro.com.au
> > > > > 
> > > > > david at test:~ $ cat /etc/hostname
> > > > > test
> > > > > david at test:~ $ cat /etc/resolv.conf
> > > > > search kenpro.com.au
> > > > > 
> > > > > I have no idea where the line 
> > > > > ::1:smtp       inet n   -       -       -       -       smtpd
> > > > > in master.cf comes from, but by commenting it out and restarting postfix, 
> > > > > all my queued mail was instantly delivered, so that must be the culprit.
> > > > > 
> > > > > Can anyone suggest what I've done wrong?
> > > > 
> > > > You disabled ipv6 support :-)
> > > > 
> > > > ::1 is 'localhost' in ipv6 format. Do you have an entry like:
> > > > 
> > > > "::1     ip6-localhost ip6-loopback"
> > > > 
> > > > in /etc/hosts?
> > > > 
> > > > By not loading the ipv6 module, postfix can't listen on that address,
> > > > and thus fails. Commenting it out like you say you did is a safe solution.
> > > ___________________________________
> > > david at test:~ $ cat /etc/hosts
> > > <snip>
> > > # 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
> > > __________________________________
> > > 
> > > I'm curious how this would have come about. I'm happy to leave ipv6 
> > > disabled but does this constitute a bug? given that all I did was 
> > > hoary->breezy upgrade.
> > > 
> > > What causes the ipv6 module to be loaded?
> > > 
> > > Thanks for your answer.
> > > 
> > > David.
> > > 
> > does '/etc/modprobe.d/aliases' contain a line like
> > 	alias net-pf-10 ipv6
> > or does it say
> > 	alias net-pf-10 off
> > 
> 
> 
> alias net-pf-10 ipv6
> 
well, then i'm out because of no clues where to look ;)

ulrich
-- 
ulrich steffens
ulrich at barfuss-jerusalem.org
http://www.barfuss-jerusalem.org





More information about the ubuntu-users mailing list