PDA

View Full Version : Local Mail Unknown User



dhargrave
30th April 2006, 06:09 PM
Hello,

I use cron for various things. Each user on my fc5 box does a daily mirror for example. When there is a problem with this mirror cron will send a local email. This is what lead me to the following problem. All of the local email on my machine doesn't get delivered.

The code section below is a copy from the /var/mail/root file of the last cron email.



--k3UFn1cg025752.1146412141/localhost.localdomain

The original message was received at Sun, 30 Apr 2006 10:49:01 -0500
from David@localhost

----- The following addresses had permanent fatal errors -----
David
(reason: 550 5.1.1 <David@localhost.localdomain>... User unknown)
(expanded from: David)

----- Transcript of session follows -----
... while talking to [127.0.0.1]:
>>> DATA
<<< 550 5.1.1 <David@localhost.localdomain>... User unknown
550 5.1.1 David... User unknown
<<< 503 5.0.0 Need RCPT (recipient)

--k3UFn1cg025752.1146412141/localhost.localdomain
Content-Type: message/delivery-status

Reporting-MTA: dns; localhost.localdomain
Arrival-Date: Sun, 30 Apr 2006 10:49:01 -0500

Final-Recipient: RFC822; David@localhost.localdomain
Action: failed
Status: 5.1.1
Remote-MTA: DNS; [127.0.0.1]
Diagnostic-Code: SMTP; 550 5.1.1 <David@localhost.localdomain>... User unknown
Last-Attempt-Date: Sun, 30 Apr 2006 10:49:01 -0500

--k3UFn1cg025752.1146412141/localhost.localdomain
Content-Type: message/rfc822

Return-Path: <David>
Received: (from David@localhost)
by localhost.localdomain (8.13.5/8.13.5/Submit) id k3UFn1cf025752;
Sun, 30 Apr 2006 10:49:01 -0500
Date: Sun, 30 Apr 2006 10:49:01 -0500
Message-Id: <200604301549.k3UFn1cf025752@localhost.localdomain>
From: root (Cron Daemon)
To: David
Subject: Cron <David@rubyServe> rsync /home/David/* /backups/David
Content-Type: text/plain; charset=UTF-8
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/David>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=David>
X-Cron-Env: <USER=David>

skipping directory /home/David/Desktop
skipping directory /home/David/Documents

--k3UFn1cg025752.1146412141/localhost.localdomain--


--k3UFn1ch025752.1146412141/localhost.localdomain--

My set up as far as this goes is the defualt setup. I have not configured anything mail related. The only change I made that might be of interest is I changed my computer name from localhost.localdomain. The name I changed it to shows up as an alias of local.localdomain.
/etc/hosts
127.0.0.1 localhost.localdomain localhost rubyServe

My users are listed in the /etc/passwd file.

I also should state I am not well educated in this area. I have a fair amount of experiance with linux, this is just my first home server set up.

Thanks in advance