Author Topic: Qmail control files  (Read 7571 times)


  • Administrator
  • Sr. Member

  • Offline
  • *****
  • 299
    • View Profile
    • Higher Intellect
Qmail control files
« on: December 09, 2012, 01:00:39 am »
Qmail: Control Files
August 3rd, 2007

If 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:
Qmailís default host: /var/qmail/control/defaulthost (ex:
Message-ID host: /var/qmail/control/idhost (ex:
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:
Double-bounce to host: /var/qmail/control/doublebouncehost (ex:
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.