Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


I have a problem while sending email as root from Debian machine. In exim panic log appears message:

2009-10-23 10:56:24 1N1Fwd-0001v5-Kh User 0 set for my_local_delivery_transport transport is on the fixed_never_users list

I've added to /etc/aliases:

root: contact@external.domain

But problem still persist.

Have somebody faced with type of issue?


a) It works with sudo:

sudo -u user mail -s test

b) It works with aliases (I forgot to issue newaliases command, thanks blank3)

share|improve this question
After editing /etc/aliases you have to run newaliases command. – blank3 Oct 23 '09 at 11:15
Just FYI: It's generally considered bad style to do "regular stuff" (read manpages, send mail) as root. You can use a regular account, and just su/sudo to root when needed. But of course sending mail as root should work anyway. – sleske Oct 23 '09 at 12:39
up vote 0 down vote accepted

Could you use su or sudo to send the mail as another user?

share|improve this answer
Thanks for pointing me in. It works with sudo: sudo -u user mail -s test – Deem3n Oct 23 '09 at 12:29
Great. It's safer that way also. – Josh Oct 23 '09 at 12:38

Due to security concerns Exim4 will not send mail as root by default Search your config for "fixed_never_users" and remove root from the list or su/sudo to a non-privileged user when sending mail.

share|improve this answer
Seems that list of users that it specifies is built into the binary, and cannot be changed – Deem3n Oct 23 '09 at 11:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.