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
0. Introduction
- 01 - Welcome
- 02 - What you should know
- 03 - Required setup
1. Basic Setup
- 04 - Components of email delivery
- 05 - Set up Postfix as an SMTP server
- 06 - Send mail with Postfix internally
- 07 - Send mail with Postfix externally
- 08 - Set up and test a Dovecot POP3 IMAP server
- 09 - Test Dovecot from an external client
- 10 - Configure TLS
- 11 - Configure SASL
- 12 - Configure an email client
- 13 - Client software
2. Going Beyond Basic Services
- 14 - Database considerations
- 15 - Install database tools
- 16 - PostfixAdmin configuration
- 17 - Database creation
- 18 - Create virtual domains
- 19 - Finishing database configuration
- 20 - Setup virtual email accounts
3. Agent-Based Protection Against Spammers
- 21 - Exploring greylisting with Postgrey
- 22 - Spamassassin, ClamAV, and amavisd-new
- 23 - Spam tool installation
- 24 - Spam tool configuration
- 25 - Test spam tools
4. DNS-Based Protection Against Spammers
- 26 - SPF
- 27 - DKIM
- 28 - DMARC
- 29 - DANE
Conclusion
- 30 - Next steps
Related courses
- Outlook: Efficient Email Management
- Outlook Essential Training (Microsoft 365)
- Copilot in Outlook: Maximize Your Workday Efficiency (2025)
- Learning Outlook Mobile App
- ChatGPT for Email: AI-Enhanced Email Mastery
- Gmail Essential Training
- Using Generative AI to Extract Information from Email
- Word: Mail Merge in Depth