How can I make new aliases for my users if I am running sendmail?

Updated -

Edit the /etc/aliases file. The syntax for the file is as follows:

username: newalias

Add the usernames and aliases then save the file. Then run (as the user root) the following command:


Or restart sendmail with this command:

service sendmail restart

This is the sam...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content