» Linux » Examen sur Linux » Examen 202 : Networking Administration » Section 1 » Question 15/20
15.You company does not want to start a mailing list for each of its departments and would rather have an alias for each department. What would you put in the /etc/aliases file to make this work?

alias_name: read:/ect/mail/alias-list
alias_name: :include:/etc/mail/alias-list
alias_name: read-from:/etc/mail/alias-list
alias_name: include-from:/etc/mail/alias-list

Explanation: The /etc/aliases file is used to redirect mail when the mail is sent to an alias. For example, you could have an alias named ‘accounts’. When mail is sent to ‘accounts’, it gets redirected to each member of the accounts department. You can list the recipients on the same line as the alias or you can ‘include’ the names listed in another file.

Reference: http://nscp.upenn.edu/aix4.3html/aixbman/commadmn/ml_alias.htm

Incorrect Answers
A: To redirect mail to the names listed in a file, you would enter ‘:include: <filename>’, not ‘read <filename>’.
C: To redirect mail to the names listed in a file, you would enter ‘:include: <filename>’, not ‘readfrom <filename>’.
D: To redirect mail to the names listed in a file, you would enter ‘:include: <filename>’, not ‘include-from <filename>’.

« Question 14 Question 16 »