PrepAway - Latest Free Exam Questions & Answers

what file are the mail aliases kept for Sendmail?

In what file are the mail aliases kept for Sendmail? (Provide the complete path)

PrepAway - Latest Free Exam Questions & Answers

A.
/etc/aliases

B.
/etc/mailaliases

C.
/etc/sendmail.aliases

D.
/etc/sendmail/aliases

E.
/var/spool/mail/aliases

Explanation:
From http://linux.die.net/man/5/aliases.sendmail:

This file describes user ID aliases used by sendmail. The file resides in /etc and is formatted as a series of lines of the form
name: addr{, addr}
The name is the name to alias, and the addr are the aliases for that name. addr can be another alias, a local username, a local filename, a command, an include file, or an external address.


Leave a Reply