Make Alias List for Sendmail

Visits: 566

On linux with sendmail you might want to give different email addresses without having to create a  new account  or you can also

make small email list of a few people this way

The first column is the alias which will be forwarded to the real account(s) in the  second column, REMEMBER the colon. You need to comma separate the different real addresses that the email should be forwarded to. You can skip the domain if the account are local and add the domain for mail forwarded elsewhere.

edit with vi or your kate

sudo vi

/etc/aliases

 

# Common aliases
abuse: steve
spam: steve, some@yourdomain.com

Then run :

sudo newaliases

It will give you an error if you made a mistake other wise the output will be something like this.

 

18 aliases, longest 27 bytes, 294 bytes total

Leave a Reply