Configuring Qmail; Installing And Setting Qmail - Toshiba e-studio16 Administrator's Manual

Digital plain paper copier
Hide thumbs Also See for e-studio16:
Table of Contents

Advertisement

Configuring Qmail

Installing and setting Qmail

1
You must set up the Qmail groups and the Qmail users before completing the programs.
Enter the following command. You might need to be root by su command and etc.
# groupadd nofiles
# groupadd qmail
# 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
# useradd -g qmail -d /var/qmail qmailq
# useradd -g qmail -d /var/qmail qmailr
# useradd -g qmail -d /var/qmail qmails
2
Enter the following command to create the Qmail home directory.
# mkdir /var/qmail
# tar zxpf qmail-1.03.tar.gz
# cd qmail-1.03
3
Enter the following command to compile the programs and create the Qmail directory
tree.
# make setup check
4
Enter the following command to run config script.
# ./config
Note
If the config script output error message is displayed, you need to edit Qmail's configuration. Please
refer to "3.1.2 Qmail's Configuration Files"
5
Enter the following command to enable mail addresses of postmaster, MAILER-
DAEMON and root.
# (cd ~alias; touch .qmail-postmaster .qmail-mailer-daemon .qmail-root)
# chmod 644 ~alias/.qmail*
6
Set up qmail-smtp in /etc/inetd.confi. (All must be entered on one line.)
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
/var/qmail/bin/qmail-smtpd
7
Describe setting of TCP Wrappers to /etc/hosts.allow.
tcp-env : localhost 159.119.0.0/16 : setenv = RELAYCLIENT
tcp-env : ALL : ALLOW
(The part "159.119.0.0/16" must be changed suitably to your network.)
8
Enter the following command to copy /var/qmail/boot/home to /var/qmail/rc.
# cp /var/qmail/boot/home /var/qmail/rc
1
2
3
4
5
6
7
8
9
10
11
12
3-25

Advertisement

Table of Contents
loading

This manual is also suitable for:

E-studio20E-studio25

Table of Contents