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 am trying to configure sendmail alias to escape '@' to treat it as a user for example


I have user user in virtusertable as test\ and in passwd file as

if i remove @ sign everything works fine.The virtusertable is working fine with escape character '\'.But alias is not.

Is there a way where i can get alias working ?

share|improve this question
Why would you want to do that in /etc/mail/aliases when virtusertable exists for this reason? – adamo Aug 24 '12 at 17:23

In /etc/mail/aliases you cannot have @ on the left hand side. The left hand side is considered a local name, hence no @ sign is expected there.

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.