qmail is an Internet Mail Transfer Agent (MTA). It was written as a more secure replacement for the popular Sendmail program.
qmail uses the Simple Mail Transfer Protocol (SMTP) to exchange messages with MTA’s on other systems.
The software is released under an open source license.
Key Features
- Secure:
- Clear separation between addresses, files, and programs.
- Minimization of setuid code.
- Minimization of root code.
- Five-way trust partitioning–security in depth.
- Optional logging of one-way message hashes, entire message contents, etc.
- Message construction:
- RFC 822 and RFC 1123 compliant.
- Full support for address groups.
- Automatic conversion of old-style address lists to RFC 822 format
sendmail command for compatibility with current user agents. - Header line length limited only by memory.
- Host masquerading.
- User masquerading.
- Automatic Mail-Followup-To creation.
- SMTP service:
- RFC 821, RFC 1123, RFC 1651, RFC 1652, and RFC 1854 compliant 8-bit clean.
- RFC 931/1413/ident/TAP callback–can help track spammers/forgers.
- Relay control–stops unauthorized relaying by outsiders.
- No interference between relay control and aliases.
- Automatic recognition of local IP addresses.
- Per-buffer timeouts.
- Hop counting.
- Parallelism limit (via ucspi-tcp).
- Refusal of connections from known abusers (via ucspi-tcp).
- Relaying and message rewriting for authorized clients.
- Optional RBL/ORBS support (via rblsmtpd).
- Reliable.
- Efficient – performing up to 20 deliveries simultaneously, by default.
- Queue management:
- Instant handling of messages added to queue.
- Parallelism limits.
- Split queue directory–no slowdown when queue gets big.
- Quadratic retry schedule–old messages tried less often.
- Independent message retry schedules.
- Automatic safe queueing–no loss of mail if system crashes.
- Automatic per-recipient checkpointing.
- Automatic queue cleanups.
- Queue viewing.
- Detailed delivery statistics (via qmailanalog).
- Bounces:
- QSBMF bounce messages–both machine-readable and human-readable.
- HCMSSC support–language-independent RFC 1893 error codes.
- Double bounces sent to postmaster.
- Routing by domain:
- Any number of names for local host.
- Any number of virtual domains.
- Domain wildcards.
- Configurable “percent hack” support.
- UUCP hook.
- SMTP delivery:
- RFC 821, RFC 974, and RFC 1123 compliant.
- 8-bit clean.
- Automatic downed host backoffs.
- Artificial routing–smarthost, localnet, mailertable.
- per-buffer timeouts.
- Passive SMTP queue–perfect for SLIP/PPP.
- AutoTURN support (via serialmail).
- Forwarding and mailing lists:
- Sendmail .forward compatibility (via dot-forward).
- Hashed forwarding databases (via fastforward).
- Sendmail /etc/aliases compatibility (via fastforward).
- Address wildcards.
- Mailing list owners–automatically divert bounces and vacation messages.
- VERPs–automatic recipient identification for mailing list bounces.
- Delivered-To–automatic loop prevention, even across hosts.
- Local delivery:
- User-controlled address hierarchy–fred controls fred-anything mbox delivery.
- Reliable NFS delivery.
- User-controlled program delivery: procmail etc.
- Optional new-mail notification.
- Optional NRUDT return receipts.
- Conditional filtering.
- POP3 service:
- RFC 1939 compliant.
- UIDL support.
- TOP support.
- APOP hook.
- modular password checking (via checkpassword).
Website: www.qmail.org
Support: FAQ
Developer: Open Systems AG
License: GNU General Public License v2.0
qmail is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Email Servers | |
|---|---|
| Exim | Highly configurable mail transfer agent |
| OpenSMTPD | Implementation of the server-side SMTP protocol with additional extensions |
| mox | Modern, secure, all-in-one email server |
| DBMail | Enables storing and retrieving mail messages from a database |
| WildDuck | Opinionated email server |
| Stalwart | All-in-one mail and collaboration server |
| Mailu | Self-hosted mail server stack |
| Mail-in-a-Box | Self-hosted email server solution |
| Postfix | Popular mail transfer agent |
| Maddy | Composable all-in-one mail server |
| Haraka | Modern SMTP server |
| Dovecot | Secure POP3 server that supports mbox and maildir mailboxes |
| Courier | Integrated mail/groupware server |
| Cyrus IMAP | Email, contacts and calendar server |
| Zimbra | Zimbra Collaboration Suite |
| Modoboa | Mail hosting and management platform |
| Citadel | Exchange-killer groupware server |
| chasquid | SMTP server with a focus on simplicity, security, and ease of operation |
| Sendmail | Mail transfer agent for sophisticated mail configurations |
| qmail | Written as a more secure replacement for the Sendmail program |
| dma | DragonFly Mail Agent |
| DavMail | POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

