nerdexam
Red_Hat

RH302 · Question #189

171: If root sends the mail to jane, mail should be send to /var/spool/mail/jane.

Answers: 1. vi /etc/aliases john: jane 2. newaliases We can redirect the mail of one user to another user using /etc/aliases file. In example all mail of john goes to jane user. When you configure this line mail automatically goes to Jane's mail spooling directory.

Service management

Question

171: If root sends the mail to jane, mail should be send to /var/spool/mail/jane.

Explanation

Answers:

  1. vi /etc/aliases john: jane
  2. newaliases We can redirect the mail of one user to another user using /etc/aliases file. In example all mail of john goes to jane user. When you configure this line mail automatically goes to Jane's mail spooling directory.

Topics

#mail aliases#/etc/aliases#local delivery#postfix

Community Discussion

No community discussion yet for this question.

Full RH302 Practice