Linux: Email Services
1h 51mIntermediate2017-03-15
Authors

Chaim Krause
U.S. Army's Command and General Staff College
Course details
For Linux administrators, effective email administration is a crucial skill. In this course, learn how to set up and configure a Linux email server. To begin, Chaim Krause walks through the path that an email takes as it travels from sender to receiver, and then explains how to set up Postfix as an SMTP server, send mail with Postfix both internally and externally, and configure TLS and SASL. Next, he dives into the role of a SQL database on a Linux email server, and explains how to set up a database. To wrap up, Chaim shares different protocols—namely, SPF, DKIM, DMARC, and DANE—that you can leverage to protect your users from spammers.
Learning objectives
Reviewing the components of email delivery
Sending mail with Postfix internally and externally
Configuring TLS, SASL, and an email client
Installing database tools
Creating virtual domains, users, and aliases
Exploring greylisting with Postgrey
Installing and configuring spam tools
Reviewing DNS-based protection against spammers
Learning objectives
Reviewing the components of email delivery
Sending mail with Postfix internally and externally
Configuring TLS, SASL, and an email client
Installing database tools
Creating virtual domains, users, and aliases
Exploring greylisting with Postgrey
Installing and configuring spam tools
Reviewing DNS-based protection against spammers
Skills covered
EmailLinuxNetwork AdministrationNetwork and System AdministrationBusiness Software and ToolsOpen Source
Concepts
Introduction
- Welcome
- What you should know
- Required setup
Basic Setup
- Components of email delivery
- Set up Postfix as an SMTP server
- Send mail with Postfix internally
- Send mail with Postfix externally
- Set up and test a Dovecot POP3 IMAP server
- Test Dovecot from an external client
- Configure TLS
- Configure SASL
- Configure an email client
- Client software
Going Beyond Basic Services
- Database considerations
- Install database tools
- PostfixAdmin configuration
- Database creation
- Create virtual domains
- Finishing database configuration
- Setup virtual email accounts
Agent-Based Protection Against Spammers
- Exploring greylisting with Postgrey
- Spamassassin, ClamAV, and amavisd-new
- Spam tool installation
- Spam tool configuration
- Test spam tools
DNS-Based Protection Against Spammers
- SPF
- DKIM
- DMARC
- DANE
Conclusion
- Next steps