diff --exclude=CVS -Naur ./qmail-config.xml /home/billy/NEWBLFS/BOOK/server/mail/qmail/qmail-config.xml
old
|
new
|
|
7 | 7 | |
8 | 8 | <sect3><title>Configuration Information</title> |
9 | 9 | |
| 10 | <para>If inetd is used, the following command will add the qmaild |
| 11 | entry to <filename>/etc/inetd.conf</filename>: </para> |
| 12 | |
10 | 13 | <para><screen><userinput> |
11 | 14 | echo "smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env \ |
12 | 15 | tcp-env /var/qmail/bin/qmail-smtpd" >> /etc/inetd.conf |
13 | 16 | </userinput></screen></para> |
14 | 17 | |
| 18 | <para>If xinetd is used, the following command will add the qmaild |
| 19 | entry to <filename>/etc/xinetd.conf</filename>: </para> |
| 20 | |
| 21 | <para><screen><userinput> |
| 22 | cat >> /etc/xinetd.conf << "EOF" |
| 23 | service smtp |
| 24 | { |
| 25 | disable = no |
| 26 | identifier = smtp-local |
| 27 | socket_type = stream |
| 28 | protocol = tcp |
| 29 | wait = no |
| 30 | user = qmaild |
| 31 | server = /var/qmail/bin/tcp-env |
| 32 | server_args = /var/qmail/bin/qmail-smtpd |
| 33 | env = RELAYCLIENT= |
| 34 | only_from = 127.0.0.1 |
| 35 | log_on_failture += USERID |
| 36 | } |
| 37 | EOF |
| 38 | </userinput></screen></para> |
| 39 | |
15 | 40 | <para>To automate the running of qmail, use following command to |
16 | 41 | create the init.d script:</para> |
17 | 42 | |