glfs/server/mail/qpopper/qpopper-config.xml
Larry Lawrence 4958384ccb edited >> to one > or >>
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1376 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-10-14 02:48:50 +00:00

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" &gt;&gt; \
/etc/inetd.conf &amp;&amp;
echo "pop 110/tcp" &gt;&gt; /etc/services &amp;&amp;
killall inetd || inetd &amp;&amp;
echo "local0.notice;local0.debug /var/log/POP.log" &gt;&gt; \
/etc/syslog.conf &amp;&amp;
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 &gt;&gt; /etc/xinetd.conf &lt;&lt; "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>