Confusing email redirection

disoft

Verified User
Joined
Jun 4, 2003
Messages
28
Location
UK
Hi,

I would be grateful if someone could help me figure out what this means:

Code:
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

 [email][email protected][/email]
   (generated from [email][email protected][/email])
   Unrouteable address

------ This is a copy of the message, including all the headers. ------

Return-path: <[email protected]>
Received: from root by hostname.hostdomain.com with local (Exim 4.42)
       id 1CrCkq-000B3f-Rv
       for [email][email protected][/email]; Wed, 19 Jan 2005 10:08:00 +0000
From: [email][email protected][/email] (Cron Daemon)
To: [email][email protected][/email]
Subject: Cron <root@hostname> root /usr/local/directadmin/dataskq
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <[email protected]>
Date: Wed, 19 Jan 2005 10:08:00 +0000

root: not found

Okay, I realise it's just a cron notification that I probably don't want anyway, but why is this email being rejected?

[email protected] exists and gets email from elsewhere, so that's fine.

Root's e-mail is redirected in /etc/aliases to goodemail:mydomain.com and that's working okay. What seems to be happening is that exim is rejecting [email protected] as a sender because the address doesn't resolve (which is doesn't).

So, do I have to whitelist my own hostname.hostdomain.com as a valid sender? Although I'm not totally sure that would work either.

Furthermore, as I stated earlier, I don't want these e-mails anyway so I'd like to turn off notification for stuff from cron, but I want to keep it for anthing else from root. How do I do that?
 
There's no email account for the local user "root".

To fix this, do the following:

# cd /root
# vi .forward

and put in this file an email address to wich you want the mail delivered.

Done.
 
Back
Top