Package: sendmail Version: 8.13.8-3 Followup-For: Bug #482375
This bug is triggered by /etc/network/if-up.d/sendmail if the host's IP address could not be reverse lookuped on ifup (i.e. boot). The script calls update_host() from /usr/share/sendmail/dynamic which (re)creates /etc/mail/m4/dialup.m4. Update_host() uses the find_host() to do the reverse lookup. If $(host IP) returns ";; connection timed out; no servers could be reached" this value is taken as you hostname and your sendmail is broken if you have dialup.m4 included to your sendmail.mc. Small patch to stop the if-up.d script to write a bad hostname to dialup.m4: --- /usr/share/sendmail/dynamic 2006-12-09 05:22:56.000000000 +0100 +++ dynamic.fix 2008-07-02 14:38:47.000000000 +0200 @@ -211,7 +211,7 @@ fi; test=$(echo $SM_host | cut -d ' ' -f 1); if [ "$test" = ";;" ]; then - :; + SM_host=''; elif [ "$test" != "**" ]; then break; fi; This fix will give some additional delay if the nameserver(s) in /etc/resolv.conf are not reachable (i.e. localhost => bind is being started some times later during bootup). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]