Subject: sendmail and new ip
To: None <netbsd-users@netbsd.org, netbsd-help@netbsd.org>
From: Jan Danielsson <jan.danielsson@gmail.com>
List: netbsd-help
Date: 01/12/2006 14:40:27
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig3F26AC9AC41A862806CD469F
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hello,

   In my university we earlier had NAT:ed addresses (10.10.x.y).
Recently, they went over to assigning us public IP addresses.

   I assumed that this wouldn't mean anything other than that I would
get a new IP, but I was (unpleasanly) surprised to notice that sendmail
said something along the line of "unable to qualify my own domain name"
when I restarted the system. Same messages poped up on the first console
when my daily cron jobs started. After searching the net for suggestions
I tried changing a line in /etc/hosts from:

   a.b.c.d            myhost

to

   a.b.c.d            myhost myhost.

   This change helped.. Somewhat. The error is gone, but when I try
sending a message:

# sendmail -t
To: root
Subject: test

Test!
^D
#

   I do get a message, but it only contains information about how the
message couldn't be delivered to "root". Same thing happens when the
cron jobs run. I also tried:

# mail root
...

But I still only get the error message.

   Please let me know what could be wrong.. I use the mail system to
keep track of what is going on in my system.

Thankful for any hints or tips.

-- 
Kind Regards,
Jan Danielsson
Te audire non possum. Musa sapientum fixa est in aure.

--------------enig3F26AC9AC41A862806CD469F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)

iD8DBQFDxlxR8wBCTJQ8HEIRAvvKAKCElT+Dyj/HD8kA7QwVI6Kb6xDDzgCgkhct
n37Sik8Hngas/kvcKOLXB7I=
=IrR0
-----END PGP SIGNATURE-----

--------------enig3F26AC9AC41A862806CD469F--