I've just recently had the same problem (sendmail 8.13.8-3 / Debian Etch)

The problem first occurred when I booted the box without the network
cable plugged in. The network interface got configured with a remembered
ip adress, but obviously, DNS is not available. Hence, the
/etc/network/if-up.d/sendmail script failed (?) to determine my
hostname, and messed up dialup.m4 by inserting a dns-error message

I expected the box to recover when rebooting with the network connected,
but it didn't. Manually calling /etc/network/if-up.d/sendmail as

/etc/network/if-up.d/sendmail 192.168.11.2 '' eth0

seems to solve the issue for me (dialup.m4 gets rewritten correctly, and
isn't messed up again by subsequent ifup/ifdowns

I did not yet investigate why /etc/network/if-up.d/sendmail feels the
need to update my hostname only when dns is absent, but not when it is
present.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to