MAIL INTERVIEW QUESTIONS AND ANSWERS
PAGE - 2
PAGE - 2
11..How
to make copy of the all mails from mydomain.com
received by user1 ?
vi
/etc/mail/virtusertable @mydomain.com user1
:wq!
# service
sendmail restart
12..How
to make copy of the all mails from mydomain.com
received by user1 ?
vi
/etc/mail/virtusertable @mydomain.com user1
:wq!
# service sendmail
restart
13..
How to manage the mail spool?
Mail is queued
in the /var/spool/mqueue
directory before beingtransmitted. This
directory is
called the mail spool. The sendmail program
provides the mailq
command as a means of displayinga formatted list
of all spooled mail messages and their status. The /usr/bin/mailq command is a symbolic link to the sendmail executable
and behaves identically to:
# sendmail –bp
14.. What is
mail Statistics?
sendmail collects
data on the volume of mail traffic and some information on the
hosts to which
it has delivered mail. There are two commands available to display this
information, mailstats
and hoststat.
15..What is the use of mailstats command?
The mailstats
command displays statistics on the volume of mail processed by sendmail.
No comments:
Post a Comment