Upstream qmail 1.01
[qmail] / INSTALL.ctl
CommitLineData
2117e02e
MW
1As you've seen, qmail has essentially no pre-compilation configuration.
2You should never have to recompile it unless you want to change the
3qmail home directory, usernames, or uids.
4
5qmail does allow quite a bit of easy post-installation configuration. If
6you care how your machine greets other machines via SMTP, for example,
7you can put an appropriate line into /var/qmail/control/smtpgreeting.
8
9But this is all optional---if control/smtpgreeting doesn't exist, qmail
10will do something reasonable by default. You shouldn't worry much about
11configuration right now. You can always come back and tune things later.
12
13There's one big exception. You MUST tell qmail your hostname. The easy
14way to do this is to run the qmail-config script:
15
16 # ./qmail-config
17
18qmail-config finds your fully-qualified hostname in DNS and puts it into
19control/me. It also selects good defaults for a few other controls.
20
21(Why doesn't qmail do these lookups on the fly? This was a deliberate
22design decision. qmail does all its local functions---header rewriting,
23checking if a recipient is local, etc.---without talking to the network.
24The point is that qmail can continue accepting and delivering local mail
25even if your network connection goes down.)
26
27Next, read through FAQ for information on setting up optional features
28like masquerading. If you really want to learn right now what all the
29configuration possibilities are, see qmail-control.0.