Receiving System email

wildmanmatt

Verified User
Joined
Nov 2, 2009
Messages
23
I am having a problem receiving email sent by services to the root@ email address of my server.

csf and other processes are sending mail to root@localhost (which I thought would have got through to the root mail account, but isn't even when I type mail as the root user) and it's then showing up in the mail queue as the following:

Firstly, when I had dewilsonwildman.com:admin in /etc/virtual/domainowners the emails became 'frozen' and the queue entry looked like this:

1NZjsd-0001ru-9Q-D
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:

root@localhost
Unrouteable address

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

Return-path: <[email protected]>
Received: from root by serv1.dewilsonwildman.com with local (Exim 4.69)
(envelope-from <[email protected]>)
id 1NZjsd-0001rs-8a
for root@localhost; Tue, 26 Jan 2010 11:46:47 +0000
To: root@localhost
Subject: [psad-alert] DL2 src: 152-41-134-95.pool.ukrtel.net dst: 91.204.209.222
Message-Id: <[email protected]>
From: root <[email protected]>
Date: Tue, 26 Jan 2010 11:46:47 +0000

=-=-=-=-=-=-=-=-=-=-=-= Tue Jan 26 11:46:47 2010 =-=-=-=-=-=-=-=-=-=-=-=
2010-01-26 11:46:47 Received from <> R=1NZjsd-0001rs-8a U=mail P=local S=2372 T="Mail delivery failed: returning message to sender"
2010-01-26 11:46:47 [email protected] F=<> R=virtual_aliases:
*** Frozen (delivery error message)



Now that I have deleted dewilsonwildman.com: admin from /etc/virtual/domainowners the emails don't get 'frozen' and queue entry looks like this:

1NZjxd-0001un-Cb-D
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:

root@localhost
Unrouteable address

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

Return-path: <[email protected]>
Received: from root by serv1.dewilsonwildman.com with local (Exim 4.69)
(envelope-from <[email protected]>)
id 1NZjxd-0001ul-Bo
for root@localhost; Tue, 26 Jan 2010 11:51:57 +0000
To: root@localhost
Subject: [psad-alert] DL2 src: 217.202.108.168 dst: 91.204.209.221
Message-Id: <[email protected]>
From: root <[email protected]>
Date: Tue, 26 Jan 2010 11:51:57 +0000

=-=-=-=-=-=-=-=-=-=-=-= Tue Jan 26 11:51:57 2010 =-=-=-=-=-=-=-=-=-=-=-=

2010-01-26 11:51:57 Received from <> R=1NZjxd-0001ul-Bo U=mail P=local S=2362 T="Mail delivery failed: returning message to sender"
2010-01-26 11:51:57 [email protected] R=domain_filter defer (-1): Failed to find user "" from expanded string "${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}" for the domain_filter router



Even the failed report isn't coming back to me. My server has a hostname of serv1.dewilsonwildman.com which is its hostname and the name in directadmin administration.

I have also setup aliases in /etc/aliases as follows:
mailer-daemon: [email protected]
postmaster: [email protected]
nobody: [email protected]
hostmaster: [email protected]
usenet: [email protected]
news: [email protected]
webmaster: [email protected]
www: [email protected]
ftp: [email protected]
abuse: [email protected]
noc: [email protected]
security: [email protected]
root: [email protected]
diradmin: :blackhole:
clamav: [email protected]

I do have rDNS setup on the main ip address of my server and it is setup to the server hostname.

What could I be doing wrong?

Thanks,

Matt
 
The root account is on the exim "never deliver" list. You can find it in exim.conf and change it (not recommended) or create an alias for it to send it to a different email address (recommended). Instructions have been posted on this forum before.

Jeff
 
I thought that I had already done that by specifying my email address in the /etc/aliases file by root ?

Matt
 
Back
Top