mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-09 03:37:18 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@823 af4574ff-66df-0310-9fd7-8a98e5e911e0
46 lines
1.3 KiB
XML
46 lines
1.3 KiB
XML
<sect2>
|
|
<title>Configuring qpopper</title>
|
|
|
|
<sect3><title>Config files</title>
|
|
<para><userinput>/etc/inetd.conf</userinput> and
|
|
<userinput>/etc/syslogd.conf</userinput></para>
|
|
</sect3>
|
|
|
|
<sect3><title>Configuring qpopper</title>
|
|
|
|
<para>If you use inetd, the following command will add the qpopper
|
|
entry to /etc/inetd.conf:</para>
|
|
|
|
<para><screen><userinput>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</userinput></screen></para>
|
|
|
|
<para>Issue a killall -HUP inetd to reread the changed inetd.conf
|
|
file.</para>
|
|
|
|
<para>If you use xinetd, the following command will add the qpopper
|
|
entry to /etc/xinetd.conf:</para>
|
|
|
|
<para><screen><userinput>cat >> /etc/xinetd.conf << "EOF"
|
|
service pop
|
|
{
|
|
port = 110
|
|
socket_type = stream
|
|
protocol = tcp
|
|
wait = no
|
|
user = root
|
|
passenv = PATH
|
|
server = /usr/sbin/popper
|
|
server_args = popper
|
|
}
|
|
EOF</userinput></screen></para>
|
|
<para>Issue a killall -HUP xinetd to reread the changed xinetd.conf
|
|
file.</para>
|
|
|
|
</sect3>
|
|
</sect2>
|