never_users list

chartmusic

Verified User
Joined
Sep 27, 2006
Messages
50
Location
North Devon
I'm getting the following in the paniclog.
2006-12-12 04:02:44 1Gtyqm-0007rJ-NY User 0 set for local_delivery transport is on the never_users list
I take it email is being blocked from delivery.
Does anyone know where the never_users list is to?
 
not sure about that, but it's a security risk if root receives email as anything sent to root will be run as root. So it could be blocked by default in the /etc/exim.conf or in another place.

I just know why it's blocked and why it should stay blocked :)
 
From /etc/exim/conf

# No local deliveries will ever be run under the uids of these users (a colon-
# separated list). An attempt to do so gets changed so that it runs under the
# uid of "nobody" instead. This is a paranoic safety catch. Note the default
# setting means you cannot deliver mail addressed to root as if it were a
# normal user. This isn't usually a problem, as most sites have an alias for
# root that redirects such mail to a human administrator.

never_users = root


So root should be forwarded to another user then.

Okay. It's done.

Thanks everyone :)
 
ah darn :(

I've forwarded the root to another user and with a quick test could receive the email, but the paniclog still has the darn error message

2006-12-12 20:11:21 1GuDyD-0000um-RM User 0 set for local_delivery transport is on the never_users list
:(
 
root has to be rejected so it has to stay on the never_user list
= don't use root

since all server have a root user isn't it ?
 
So if root should stay on the never_users_list then all servers say in the paniclog the say thing? :confused:

2006-12-12 20:11:21 1GuDyD-0000um-RM User 0 set for local_delivery transport is on the never_users list

I also get info on my mainlog whcih implies email is being sent to root but I have no way or finding out what the email says.

U=root P=local S=657 T="Cron <root@server> /usr/local/mrtg-2/bin/mrtg /var/www/html/mrtg/core/mrtg.cfg" from <[email protected]> for root
User 0 set for local_delivery transport is on the never_users list
 
change /etc/aliases or make a .forward file in /root with your valid mail target

sample aliase file, be carefull there is no carriage return.

#--- aliases---
# $Cambridge: exim/exim-src/src/aliases.default,v 1.1 2004/10/07 10:39:01 ph10 Exp $
# Default aliases file, installed by Exim. This file contains no real aliases.
# You should edit it to taste.

# The following alias is required by the mail RFCs 2821 and 2822.
# Set it to the address of a HUMAN who deals with this system's mail problems.

postmaster: [email protected]
diradmin: postmaster
abuse: postmaster
hostmaster: postmaster

#
your_admin_name: postmaster
nobody: :blackhole:
noreply: :blackhole:
apache: :blackhole:
ftp: :blackhole:
webmaster: :blackhole:

# It is also common to set the following alias so that if anybody replies to a
# bounce message from this host, the reply goes to the postmaster.

mailer-daemon: postmaster

# You should also set up an alias for messages to root, because it is not
# usually a good idea to deliver mail as root.

root: postmaster

# It is a good idea to redirect any messages sent to system accounts so that
# they don't just get ignored. Here are some common examples:

# bin: root
# daemon: root
# ftp: root
# nobody: root
# operator: root
# uucp: root

# You should check your /etc/passwd for any others.

# Other commonly enountered aliases are:
#
# abuse: the person dealing with network and mail abuse
# hostmaster: the person dealing with DNS problems
# webmaster: the person dealing with your web site

####
#--- aliases---
 
Back
Top