Red_Hat
RH302 · Question #178
RH302 Question #178: Real Exam Question with Answer & Explanation
1. vi /etc/mail/local-host-names example.com 2. vi /etc/mail/sendmail.mc dnl # DEAMON_OPTIONS('Port=smtp,Addr=127.0.0.1,Name=MTA')dnl 3. m4 /etc/mail/sendmail.mc >/etc/mail/sendmail.cf 4. vi /etc/mail/access 192.169.0 RELAY example.com RELAY 5. service sendmail start | restart 6.
Question
Your Local Domain is example.com. Configure the send mail server for you local LAN. As well as enable the pop and pop secured protocol.
Explanation
- vi /etc/mail/local-host-names example.com
- vi /etc/mail/sendmail.mc dnl # DEAMON_OPTIONS('Port=smtp,Addr=127.0.0.1,Name=MTA')dnl
- m4 /etc/mail/sendmail.mc >/etc/mail/sendmail.cf
- vi /etc/mail/access 192.169.0 RELAY example.com RELAY
- service sendmail start | restart
- chkconfig sendmail on
- vi /etc/dovecot.conf protocols = pop3 pop3s
- service dovecot start | restart
- chkconfig dovecot on
Community Discussion
No community discussion yet for this question.