mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-07 01:27:16 +08:00
36 lines
1.2 KiB
XML
36 lines
1.2 KiB
XML
|
<sect2>
|
||
|
<title>Installation of qmail</title>
|
||
|
|
||
|
<para>qmail needs certain user and group account to be added before
|
||
|
installation of the software. Add the users and groups with the
|
||
|
following commands:</para>
|
||
|
|
||
|
|
||
|
<para><screen><userinput>
|
||
|
mkdir /var/qmail &&
|
||
|
groupadd nofiles &&
|
||
|
useradd -g nofiles -d /var/qmail/alias alias &&
|
||
|
useradd -g nofiles -d /var/qmail qmaild &&
|
||
|
useradd -g nofiles -d /var/qmail qmaill &&
|
||
|
useradd -g nofiles -d /var/qmail qmailp &&
|
||
|
groupadd qmail &&
|
||
|
useradd -g qmail -d /var/qmail qmailq &&
|
||
|
useradd -g qmail -d /var/qmail qmailr &&
|
||
|
useradd -g qmail -d /var/qmail qmails
|
||
|
</userinput></screen></para>
|
||
|
|
||
|
<para>Install qmail by running the following commands:</para>
|
||
|
|
||
|
<para><screen><userinput>
|
||
|
make setup check &&
|
||
|
./config-fast `hostname` &&
|
||
|
cd /var/qmail &&
|
||
|
touch .qmail-postmaster .qmail-mailer-daemon .qmail-root &&
|
||
|
chmod 644 .qmail-* &&
|
||
|
ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail &&
|
||
|
mv /var/qmail/boot/home /var/qmail/rc &&
|
||
|
for mandir in 1 5 7 8; do mv /var/qmail/man/man$mandir/* \
|
||
|
/usr/man/man$mandir; done &&
|
||
|
rm -rf /var/qmail/man</userinput></screen></para>
|
||
|
</sect2>
|