Lab 9

Name:

IP Address:

  1. What entry in /etc/mail/sendmail.mc will force a domain name in the /etc/mail/sendmail.cf file?
  2. What command regenerates the sendmail.cf file from sendmail.mc?
  3. What file is used as input for the command newaliases?
  4. What are the default ports for sendmail and dovecot?
  5. What is /etc/mail/access used for?
  6. What should be in /etc/mail/local-host-names?
  7. (6 pts) Configure sendmail such that it can successfully receive mail from the instructor's workstation. Set up aliases for all students in the class, and for the instructor (username: jeremy).
  8. (6 pts) Configure sendmail so that it is the mail server for the ccis2122.com domain. Make sure that your machine is listed as the MX server for ccis2122.com.
  9. (5 points) Configure dovecot so that it is listening for pop3s and imaps traffic. Get instructor sign-off.
  10. (2 points) Generate custom certificates for your dovecot server. Get ISO.
  11. Extra Credit

  12. (2 points) How can you use telnet to debug a mail problem?


  13. (3 points) Change the greeting that sendmail when connecting so that it doesn't identify itself as sendmail. Get ISO.