Sendmail alias file escape character

Posted on

Sendmail alias file escape character – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, email, sendmail, , .

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

test@domain.com:test@gmail.com,test1@gmail.com

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 ?

Solution :

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.

Leave a Reply

Your email address will not be published. Required fields are marked *