source: server/mail/qmail/qmail-inst.xml@ 5e54414

10.0 10.1 11.0 11.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb v1_0 v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/test-20220226
Last change on this file since 5e54414 was 5e54414, checked in by Larry Lawrence <larry@…>, 20 years ago

added qmail

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@96 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.2 KB
Line 
1<sect2>
2<title>Installation of qmail</title>
3
4<para>qmail needs certain user and group account to be added before
5installation of the software. Add the users and groups with the
6following commands:</para>
7
8
9<para><screen><userinput>
10mkdir /var/qmail &amp;&amp;
11groupadd nofiles &amp;&amp;
12useradd -g nofiles -d /var/qmail/alias alias &amp;&amp;
13useradd -g nofiles -d /var/qmail qmaild &amp;&amp;
14useradd -g nofiles -d /var/qmail qmaill &amp;&amp;
15useradd -g nofiles -d /var/qmail qmailp &amp;&amp;
16groupadd qmail &amp;&amp;
17useradd -g qmail -d /var/qmail qmailq &amp;&amp;
18useradd -g qmail -d /var/qmail qmailr &amp;&amp;
19useradd -g qmail -d /var/qmail qmails
20</userinput></screen></para>
21
22<para>Install qmail by running the following commands:</para>
23
24<para><screen><userinput>
25make setup check &amp;&amp;
26./config-fast `hostname` &amp;&amp;
27cd /var/qmail &amp;&amp;
28touch .qmail-postmaster .qmail-mailer-daemon .qmail-root &amp;&amp;
29chmod 644 .qmail-* &amp;&amp;
30ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail &amp;&amp;
31mv /var/qmail/boot/home /var/qmail/rc &amp;&amp;
32for mandir in 1 5 7 8; do mv /var/qmail/man/man$mandir/* \
33 /usr/man/man$mandir; done &amp;&amp;
34rm -rf /var/qmail/man</userinput></screen></para>
35</sect2>
Note: See TracBrowser for help on using the repository browser.