Linux.com

Home Linux Community Community Blogs Servers HOW TO SETUP YOUR OWN MAIL SERVER WITH ANTI-SPAM CONFIGURATION

HOW TO SETUP YOUR OWN MAIL SERVER WITH ANTI-SPAM CONFIGURATION

Introduction

This tutorial will teach you how to set up your own robust email server. We are focusing on a small personal server with up to a few email accounts. After following this guide, you will have a fully functional mail server and you can connect with your favourite client to access, read and send emails. The Anti-Spam configuration will drop unwanted messages.

This tutorial will use yourdomain.com as domain name and mail.yourdomain.com as hostname for our mail server. The desired email address will be  This e-mail address is being protected from spambots. You need JavaScript enabled to view it . We assume that our server has the IP address 1.2.3.4.

Software and technologies used

  • Postfix v2.9.6 as SMTP server
  • Dovecot v2.0.19 as IMAP server
  • We will use Unix user accounts and tunnel the SASL authentication through TLS
  • Postgrey v1.34 – to reject spam from the beginning
    (more about postgrey)
  • SPF (Sender Policy Framework) validating to reduce spam
    (more aboutSPF)
  • SPF DNS entry to prevent spoofing
  • DKIM (Domain Keys Identified Mail) to sign our email messages
    (moreabout DKIM)

Read on over here...

 

Comments

Subscribe to Comments Feed

Upcoming Linux Foundation Courses

  1. LFD331 Developing Linux Device Drivers
    25 Aug » 29 Aug - Virtual
    Details
  2. LFD411 Embedded Linux Development
    25 Aug » 29 Aug - Santa Clara, CA
    Details
  3. LFS422 High Availability Linux Architecture
    08 Sep » 11 Sep - Raleigh, NC
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board