mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-08 18:47:25 +08:00
4958384ccb
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1376 af4574ff-66df-0310-9fd7-8a98e5e911e0
43 lines
1.4 KiB
XML
43 lines
1.4 KiB
XML
<sect2>
|
|
<title>Configuring <application>Qpopper</application></title>
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
<para>If you use <command>inetd</command>, the following command will add the qpopper
|
|
entry to <filename>/etc/inetd.conf</filename>:</para>
|
|
|
|
<screen><userinput><command>echo "pop stream tcp nowait root /usr/sbin/popper popper" >> \
|
|
/etc/inetd.conf &&
|
|
echo "pop 110/tcp" >> /etc/services &&
|
|
killall inetd || inetd &&
|
|
echo "local0.notice;local0.debug /var/log/POP.log" >> \
|
|
/etc/syslog.conf &&
|
|
killall -HUP syslogd</command></userinput></screen>
|
|
|
|
<para>Issue a <command>killall -HUP inetd</command> to reread the changed
|
|
<filename>inetd.conf</filename> file.</para>
|
|
|
|
<para>If you use <command>xinetd</command>, the following command will add the qpopper
|
|
entry to <filename>/etc/xinetd.conf</filename>:</para>
|
|
|
|
<screen><userinput><command>cat >> /etc/xinetd.conf << "EOF"</command>
|
|
service pop
|
|
{
|
|
port = 110
|
|
socket_type = stream
|
|
protocol = tcp
|
|
wait = no
|
|
user = root
|
|
passenv = PATH
|
|
server = /usr/sbin/popper
|
|
server_args = popper
|
|
}
|
|
<command>EOF</command></userinput></screen>
|
|
|
|
<para>Issue a <command>killall -HUP xinetd</command> to reread the changed
|
|
<filename>xinetd.conf</filename> file.</para>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|