Qmail Mail Server Setup

Qmail is a popular mail service among the opensource community. It is a security-focused MTA engine. Based on my project requirements, I need to setup complete Email solution with webmail, POP3 and IMAP.


1. Get a public IP from your ISP
2. Domain registration (e.g Enom, Godaddy, Namecheap)
3. Check your MX, SPF and Reverse DNS MX record for mail domain
Reverse DNS IP (PTR) must request to ISP because IP address is owned by ISP.


For this setup, Redhat 9 is installed as a based OS and followed Qmailrocks steps www.qmailrocks.org. Qmailrocks provides very details steps to achieve fully functional Mail Service.

Key components

  • Qmail/Qmailadmin
  • Autoresponder
  • Vpopmail, Vqadmin (host multiple domains)
  • Maildrop (mail filtering)
  • Courier-imap (IMAP service)
  • SquirrelMail (Webmail client)
  • Clam Antivirus
  • SpamAssassin