Postfix suddenly broke for unaccountable reason / self-compiled kernel was the reason

Vlado Plaga news at vlado-do.de
Sun Dec 19 13:26:38 UTC 2004


Wow, only seconds after I had posted my problem albi send me a solution:

> perhaps check your /etc/hosts and whether this installed postfix
> supports ipv6, imho the ::1 looks like ipv6-stuff

I messed around with my kernel because of problems with cdparanoia (for
which I will post a bug report at the Ubuntu bugzilla) and switched off
some stuff that I thought I would not need anyway, to speed up
compilation. This included ipv6, so most likely that was my problem.

I'll check that later today (by recompiling the kernel with ipv6 support
and changing master.cf back) and post another reply if it seems to be a
different problem.

Thanks for the quick reply!

Vlado

By the way: I just finished a quick-and-dirty script to monitor postfix
for problems, in case someone is interested (this has to be started with
the window-manager, in ~/GNUstep/Library/WindowMaker/autostart in case
of WindowMaker):

=== file mailer-control.sh ===

#!/bin/sh

# Checks if the mailer's error log is newer than my control file
# If yes it displays the error log on the screen
# If no it displays a control message

# requires package xosd-bin installed

ERROR_LOG=/var/log/mail.err
KONTROLLE=/home/vlado/docs/probleme/letztes-email-problem

if [ $ERROR_LOG -nt $KONTROLLE ]; then
  export FONT="-adobe-helvetica-bold-*-*-*-20-*-*-*-*-*-*-*"
  echo " === /var/log/mail.err === " | cat - $ERROR_LOG | osd_cat -d 20 -f $FONT -l 25 -o 80 -
else
  export FONT="-adobe-helvetica-bold-*-*-*-10-*-*-*-*-*-*-*"
  echo "Mailer ist ok..." | osd_cat -d 6 -f $FONT -l 1 -o 80 -c green
fi

=== end of file mailer-control.sh ===




More information about the ubuntu-users mailing list