Qmail's Configuration Files
For using Qmail, there are several files for configuration.
Control File
me
defaultdomain
defaulthost
locals
plusdomain
rcphosts
The descriptions of these files are as following:
me
Write the FQDN of the mail server to this file. This file is used as a default value when there are not
other files, defaultdomain, locals, plusdomain, and rcphosts.
Example:
mail.toshiba.com
defaultdomain
Write a domain name that is added after the host part when the domain name of an E-mail address is
without a dot.
Example:
toshiba.com
(In this case, an E-mail address "ifax@ifax" becomes "ifax@ifax.toshiba.com".)
defaulthost
Write a domain name that is added after the name when "@domainname" is abridged from an E-mail
address.
Example:
toshiba.com
(In this case, an E-mail address "ifax" becames "ifax@toshiba.com".)
locals
Write domain names which the email server transfers as a local transmission.
mail contains the domain name written in this file, the E-mail is controlled by qmail-local.
Example:
localhost
localhost.ifax.toshiba.com
mail.toshiba.com
ifax.toshiba.com
plusdomain
Write a domain name that is added after "+" when the domain name of an E-mail address is finished
with "+". (For example, "ifax@ifax+")
Default
Command using this file
required
all Qmail's programs
me
qmail-inject
me
qmail-inject
me
qmail-send
me
qmail-inject
(none)
qmail-smtpd
When a received E-
3-27
1
2
3
4
5
6
7
8
9
10
11
12