1 SAVE COPIES OF YOUR OUTGOING MAIL! Like any other piece of software (and
2 information generally), the qmail system comes with NO WARRANTY. It's
3 much more secure and reliable than sendmail, but that's not saying much.
6 Things you have to decide before starting:
8 * The qmail home directory, normally /var/qmail. To change this
9 directory, edit conf-qmail now.
11 * The names of the qmail users and the qmail groups. To change these
12 names, edit conf-users and conf-groups now.
15 To create /var/qmail and configure qmail (won't interfere with sendmail):
17 1. Create the qmail home directory:
20 2. Read INSTALL.ids. You must set up the qmail group and the qmail
21 users before compiling the programs.
23 3. Compile the programs and create the qmail directory tree:
26 4. Read INSTALL.ctl and FAQ. Minimal survival command:
29 5. Read INSTALL.alias. Minimal survival command:
30 # (cd ~alias; touch .qmail-postmaster .qmail-mailer-daemon .qmail-root)
31 # chmod 644 ~alias/.qmail*
33 6. Read INSTALL.mbox and INSTALL.vsm.
35 7. Read INSTALL.maildir.
37 8. Copy /var/qmail/boot/home (or proc) to /var/qmail/rc.
40 To test qmail deliveries (won't interfere with sendmail):
42 9. Enable deliveries of messages injected into qmail:
43 # csh -cf '/var/qmail/rc &'
45 10. Read TEST.deliver.
48 To upgrade from sendmail to qmail:
50 11. Read SENDMAIL. This is what your users will want to know about the
51 switch from sendmail to qmail.
53 12. Read REMOVE.sendmail. You must remove sendmail before installing
56 13. Read REMOVE.binmail.
59 csh -cf '/var/qmail/rc &'
60 to your boot scripts, so that the qmail daemons are restarted
61 whenever your system reboots. Make sure you include the &.
63 15. Make qmail's ``sendmail'' wrapper available to MUAs:
64 # ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
65 # ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
66 /usr/sbin might not exist on your system.
68 16. Set up qmail-smtpd in /etc/inetd.conf (all on one line):
69 smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env
70 tcp-env /var/qmail/bin/qmail-smtpd
72 17. Reboot. (Or kill -HUP your inetd and make sure the qmail daemons
75 18. Read TEST.receive.
79 That's it! To report success:
80 % ( echo 'First M. Last'; cat `cat SYSDEPS` ) | mail djb-qst@cr.yp.to
81 Replace First M. Last with your name.
83 If you have questions about qmail, join the qmail mailing list; see
84 http://pobox.com/~djb/qmail.html.