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've found on a couple servers that have the following entry in /etc/aliases:

root: \root,

You can send mail to /dev/null like this:

root: /dev/null

I can't find \root used in any documentation.

  1. Does \root do anything?
  2. Could it be a syntax error?
share|improve this question
You seem to be right that the backslash syntax does not appear to be documented in "man 5 aliases" where one would expect it to be mentioned (or at least I cannot find it in my section 5 aliases man page) but this is a longstanding feature of the mail aliases file. – Michael McNally Jan 23 '13 at 6:29
up vote 8 down vote accepted
 but I can't find what the \ does

The backslash "escapes" the token following, preventing further interpretation.

It's an important mechanism in defining aliases like the example in your post, where "root" is aliased to include both the account of that name AND other addresses. Without the \ a loop would be created when the program interpreting the alias tried to dereference "root", which includes as a member "root" (which includes as a member "root", and so on..)

share|improve this answer

I believe that \root prevents that id from being passed through aliases again and (instead is) delivered to the LOCAL root account.

share|improve this answer

\root will save the message to (for example) /var/mail/root and forward it to Without it, only will receive the message. The \user, other@address notation is very common for users that use ~/.forward files.

share|improve this answer

Putting a backslash (\) in front of the username in the first recipient is a special syntax for delivering mail to the local mail spool with no further aliasing.

root: \root,

Here, user root is forwarding mails to two different places:

  1. One copy of the message goes to the mail spool
  2. The second recipient,, sends another copy of message to MX servers of

Please find details here.

share|improve this answer

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.