odd internal mail failure
On a recently installed jessie OS I've found an odd situation
happing with the internal mail.
root is getting a message from root. At least that is what appears in
>From and To.
However the message is showing up in users directory as a file named `$'.
Here is the header:
From root@d.local.lan Sun Feb 21 07:35:07 2016
Return-path: <root@d.local.lan>
Envelope-to: root@d.local.lan
Delivery-date: Sun, 21 Feb 2016 07:35:07 -0500
Received: from root by d2.local.lan with local (Exim 4.84)
(envelope-from <root@d.local.lan>)
id 1aXTEB-0008C5-5J
for root@d.local.lan; Sun, 21 Feb 2016 07:35:07 -0500
Subject: exim paniclog on d2.local.lan has non-zero size
To: root@d.local.lan
Message-Id: <E1aXTEB-0008C5-5J@d2.local.lan>
From: root <root@d.local.lan>
Date: Sun, 21 Feb 2016 07:35:07 -0500
As you see the hostname is shown as "d" and in fact that was the hosts
name up until several days ago.... so, several days ago the host was
renamed to d2.
You can also see the correct host name appears in the "Received" header.
So the old name must be stored somewhere and getting used on the mail.
The name change was done by editing /etc/hostname to the new name
editing /etc/hosts to the new name
and at the command line with # hostname d2.
And yes, I have verified that both are correctly edited.
The host has been rebooted several times since that was done.
You can see in the header the date is today.
This is not the only message.... I deleted one inadvertently whan I
saw the Dollar sign as file name the first time.
I've never gotten a filename of "$" before. And haven't noticed any
hosts having trouble knowning there name before.
Where would the original host name be coming from?
Reply to: