On 25/09/2017 08:44, Per Jessen wrote:
Dave Plater wrote:
I just tried to send mail from root to root and it failed, I have my user set up to receive root mail from first installation.
I'm not sure (because I don't use that setting), but I think this is just a line in /etc/aliases that directs root to your user account.
Note if logged in as root I enter mail, and there's no mail, it's reply is no mail for user davepl.
Interesting. There must be more to it than a change of aliases.
I tried root root and no mail, root davepl, the mail arrives, davepl root I get a non delivery notification. Therefore the root account doesn't exist for receiving mail on my Leap:42.3 system. I suspect this is as a result of the setting for user to receive root mail.
What does that NDR say ?
I read the man page and found the p command, the report says:
Message 1:
From MAILER-DAEMON Mon Sep 25 09:29:59 2017
Envelope-to: davepl@Arbuthnot
Delivery-date: Mon, 25 Sep 2017 09:29:59 +0200
X-Failed-Recipients: root@Arbuthnot
Auto-Submitted: auto-replied
From: Mail Delivery System