Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

i am trying to configure sendmail alias to escape '@' to treat it as a user for example


I have user user test@domain.com in virtusertable as test@gmail.com test\@gmail.com and in passwd file as test@viasites.com:x:UID:GID:viasites.com:/home/test:/bin/pop

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

1 Answer 1

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.