2002-08-17 00:05:50 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Configuring qmail</title>
|
|
|
|
|
|
|
|
<sect3><title>Config files</title>
|
|
|
|
<para><userinput>/etc/inetd.conf and boot scripts</userinput></para>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
|
|
|
<para><screen><userinput>
|
2002-08-24 09:47:45 +08:00
|
|
|
echo "smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env \
|
2002-08-17 00:05:50 +08:00
|
|
|
tcp-env /var/qmail/bin/qmail-smtpd" >> /etc/inetd.conf
|
|
|
|
</userinput></screen></para>
|
|
|
|
<para>Add:
|
|
|
|
<userinput>sh -cf '/var/qmail/rc &'</userinput>
|
|
|
|
to your boot scripts, so that the qmail daemons are restarted whenever
|
|
|
|
your system reboots. Make sure you include the &.</para>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Configuring mailers to work with qmail</title>
|
|
|
|
<para>Configuration information for some commonly used MUAs can be
|
|
|
|
found in the <filename>/var/qmail/doc/INSTALL.mbox</filename>
|
|
|
|
file. Most MUAs can be configured to use qmail Mailbox format buy
|
|
|
|
putting the following in ~/.profile:</para>
|
|
|
|
<para><screen><userinput>
|
|
|
|
MAIL=$HOME/Mailbox; export MAIL
|
|
|
|
</userinput></screen></para></sect3>
|
|
|
|
|
|
|
|
</sect2>
|