Qmail: Control Files
August 3rd, 2007
http://netfreak.caIf you run SWsoft’s Plesk, large scale e-mail operations, or just simply love mail servers that are installable only via manual compile then you’ve probably heard of Qmail. I run Qmail myself and was very happy to have it running after only the second compile. One of the nice things about the Qmail software is the use of control files which modify the way Qmail works, and are very easy to figure out. I’ll go over some critical configuration files as well as simple customizable options for picky systems admins.
Qmail’s default domain: /var/qmail/control/defaultdomain
Qmail’s hostname: /var/qmail/control/me (ex: mail.yourdomain.com)
Qmail’s default host: /var/qmail/control/defaulthost (ex: mail.yourdomain.com)
Message-ID host: /var/qmail/control/idhost (ex: mail.yourdomain.com)
SMTP client timeout: /var/qmail/control/timeoutconnect (ex: 60)
SMTP remote timeout: /var/qmail/control/timeoutremote (ex: 1200)
SMTP outbound timeout: /var/qmail/control/timeoutsmtpd (ex: 1200)
Message lifetime in queue: /var/qmail/control/queuelifetime (ex: 604800)
Set FROM line in bounce: /var/qmail/control/bouncefrom (ex: MAILER-DAEMON)
Bounce to hostname: /var/qmail/control/bouncehost (ex: yourdomain.com)
Double-bounce to host: /var/qmail/control/doublebouncehost (ex: mail2.yourdomain.com)
Concurrent local deliveries: /var/qmail/control/concurrencylocal (ex: 50)
Concurrent remote deliveries: /var/qmail/control/concurrencyremote (ex: 200)
The Final Word
Once you have Qmail up and running, it really is a great mail server. I have only had mine running for a few months but I’ve never encountered an issue which required attention to the software. I’ll also toss in some helpful links below for anyone interested in using/learning about Qmail.
http://www.qmail.org/http://cr.yp.to/qmail.htmlhttp://www.lifewithqmail.org/http://www.qmailrocks.org/