I've been hacking on qmail for quite a few years now. I've written a few patches which I hope others will find useful.
The qmail 0.0.0.0 patch teaches qmail to recognize 0.0.0.0 as an address that will connect back to itself. Many operating systems use this alias, which is recommended by RFC 1122. Without it, mail sent to an address that resolves to 0.0.0.0 may loop. This patch is recommended by qmail.org, and is included in netqmail. Download qmail-0.0.0.0.patch, qmail-0.0.0.0.README.
The qmail moreipme patch allows qmail to recognize other IP addresses as its own. You'll want this patch if you run behind any kind of NAT, port forwarder, or load balancer. Download qmail-1.03-moreipme-0.6.patch, netqmail-1.05-moreipme-0.6.patch, qmail-1.03-moreipme-0.6.README.
The qmail wireformat patch stores messages on the disk in the same format they are transferred over the network, saving translation back and forth. For a site whose users only read their mail over POP and IMAP, it offers a significant performance boost. Browse qmail_wireformat patches.
There are a few other odds and ends, and previous versions of some of these patches, which you can see if you browse sgifford's qmail patches.
Posted in
- Login to post comments