Tutorial: Set up Sendmail, dovecot, SpamAssassin, ClamAV as a email server

Posted on in Categories Howto, Linux, Mail server, RedHat/Fedora Linux, Suse Linux, Ubuntu Linux last updated December 7, 2006

This article will guide you about setting up your own home email server without being spammed to death.

There are many reasons to host your own email. Perhaps you don’t like the limits placed on you by your current ISP. Maybe they aren’t willing to host the domain you want, or give you the access you want. And if they do fit your needs, they want to charge a small fortune. Maybe you want complete privacy. Or perhaps you just want to access your email from anywhere using a web-based frontend. The list goes on and on…

There are several many ways to accomplish this task. Everyone has their preferred MTA program, but for the purposes of this article, we’ll use sendmail. The same can also be done using postfix, or exim. Each approach has its own merits.

This how to covers installation and configuration of following services/servers:

  • dovecot IMAP/POP3 server
  • sendmail MTA
  • sendmail-cf (M4 configuration)
  • squirrelmail (web based email client)
  • perl / gcc for Anti spam
  • Anti spam and Anti virus configuration – MailScanner, SpamAssassin, and ClamAV

How to set up a home email server (without being spammed to death) [redhat.com]

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

9 comment

  1. how to configure this steps plz give details
    dovecot IMAP/POP3 server
    sendmail MTA
    sendmail-cf (M4 configuration)
    squirrelmail (web based email client)
    perl / gcc for Anti spam
    Anti spam and Anti virus configuration – MailScanner, SpamAssassin, and ClamAV

Leave a Comment