2002-08-28 05:59:45 +08:00
|
|
|
<sect2>
|
2003-09-27 04:12:38 +08:00
|
|
|
<title>Configuring <application>Qpopper</application></title>
|
2002-08-28 05:59:45 +08:00
|
|
|
|
2003-09-27 01:32:47 +08:00
|
|
|
<sect3><title>Configuration Information</title>
|
2002-10-03 07:11:53 +08:00
|
|
|
|
2003-09-27 04:12:38 +08:00
|
|
|
<para>If you use <command>inetd</command>, the following command will add the qpopper
|
2003-04-21 06:15:01 +08:00
|
|
|
entry to <filename>/etc/inetd.conf</filename>:</para>
|
2002-10-03 07:11:53 +08:00
|
|
|
|
2003-10-14 10:48:50 +08:00
|
|
|
<screen><userinput><command>echo "pop stream tcp nowait root /usr/sbin/popper popper" >> \
|
2002-12-03 07:01:36 +08:00
|
|
|
/etc/inetd.conf &&
|
|
|
|
echo "pop 110/tcp" >> /etc/services &&
|
2002-08-28 05:59:45 +08:00
|
|
|
killall inetd || inetd &&
|
2003-10-14 10:48:50 +08:00
|
|
|
echo "local0.notice;local0.debug /var/log/POP.log" >> \
|
2002-08-28 05:59:45 +08:00
|
|
|
/etc/syslog.conf &&
|
2003-09-27 01:32:47 +08:00
|
|
|
killall -HUP syslogd</command></userinput></screen>
|
2002-10-03 07:11:53 +08:00
|
|
|
|
2003-09-27 01:32:47 +08:00
|
|
|
<para>Issue a <command>killall -HUP inetd</command> to reread the changed
|
|
|
|
<filename>inetd.conf</filename> file.</para>
|
2002-10-03 07:11:53 +08:00
|
|
|
|
2003-09-27 04:12:38 +08:00
|
|
|
<para>If you use <command>xinetd</command>, the following command will add the qpopper
|
2003-04-21 22:00:15 +08:00
|
|
|
entry to <filename>/etc/xinetd.conf</filename>:</para>
|
2002-10-03 07:11:53 +08:00
|
|
|
|
2003-09-27 04:12:38 +08:00
|
|
|
<screen><userinput><command>cat >> /etc/xinetd.conf << "EOF"</command>
|
2002-10-03 07:11:53 +08:00
|
|
|
service pop
|
|
|
|
{
|
|
|
|
port = 110
|
|
|
|
socket_type = stream
|
|
|
|
protocol = tcp
|
|
|
|
wait = no
|
|
|
|
user = root
|
|
|
|
passenv = PATH
|
|
|
|
server = /usr/sbin/popper
|
|
|
|
server_args = popper
|
|
|
|
}
|
2003-09-27 04:12:38 +08:00
|
|
|
<command>EOF</command></userinput></screen>
|
2003-09-27 01:32:47 +08:00
|
|
|
|
|
|
|
<para>Issue a <command>killall -HUP xinetd</command> to reread the changed
|
|
|
|
<filename>xinetd.conf</filename> file.</para>
|
2002-10-03 07:11:53 +08:00
|
|
|
|
2002-08-28 05:59:45 +08:00
|
|
|
</sect3>
|
2003-09-27 01:32:47 +08:00
|
|
|
|
2002-08-28 05:59:45 +08:00
|
|
|
</sect2>
|