nerdexam
Red_Hat

RH302 · Question #179

Configure Dovecot to start the POP protocol and manage user aliases for mail server.

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.168.0 RELAY @cracker.org REJECT 5. service sendmail start |…

Service management

Question

Configure Dovecot to start the POP protocol and manage user aliases for mail server.

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.168.0 RELAY @cracker.org REJECT
  5. service sendmail start | restart
  6. chkconfig sendmail on
  7. vi /etc/dovecot.conf protocols = pop3 pop3s imap imaps
  8. service dovecot start | restart
  9. chkconfig dovecot on
  10. vi /etc/aliases user5: user2
  11. newaliases

Topics

#Dovecot#POP protocol#mail aliases#IMAP

Community Discussion

No community discussion yet for this question.

Full RH302 Practice