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

by on December 7, 2006 · 8 comments· 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]



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 8 comments… read them below or add one }

1 sarab December 17, 2006 at 8:00 pm

excellent website for systm administration thank u vivek for the wonderful information related to operating system

Reply

2 shasyng January 26, 2007 at 5:53 am

i want to know step by step on how to build an windods and sendmail email server

Reply

3 Syed Mohamed July 7, 2007 at 11:38 am

i want to know step by step method how to install a sendmail and postfix email server in redhat Linux EL 4

Reply

4 Syed Mohamed July 7, 2007 at 11:39 am

i want to know step by step method to installation and configuration sendmail email server

Reply

5 Govindaraj P August 17, 2007 at 3:04 am

I am want to setup a mail servers with sendmail,fetchmail,squirellmail,dovecot,spamassasin,clamav.

Please advice.

Reply

6 KNight September 15, 2007 at 2:54 am

i’m newbie in linux

Reply

7 thiru March 30, 2008 at 10:25 am

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

Reply

8 Ajeet November 2, 2009 at 12:06 pm

I want to master the Dovecot? Any link for the hint.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 5 + 15 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.



Previous post:

Next post: