Qmail; Configuring Qmail - Toshiba GD-1040 Service Manual

Internet facsimile (for dp120f/125f)
Table of Contents

Advertisement

3. Qmail

This section describes an example of configuring the Qmail.
NOTE:
The instructions in this section are not always applicable to any network environments.
Some settings have to be configured differently depending on the network environments
or the requirements. Please remember that the instructions here are an example to set
up the mail server.

3.1 Configuring Qmail

3.1.1 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 configura-
tion. Please refer to "3.1.2 Qmail's Configuration Files"
(5)
Enter the following command to enable mail addresses of postmaster, MAILER-DAE-
MON 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
May 2001 © TOSHIBA TEC
4-15
Internet FAX Kit - Mail Server Setup

Advertisement

Table of Contents
loading

Table of Contents