Updated the Qpopper instructions to include a stand-alone section for updating syslog.conf

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3530 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2005-03-07 15:18:53 +00:00
parent 9a66d5f133
commit f0a75197da
2 changed files with 15 additions and 9 deletions

View File

@ -23,7 +23,9 @@ who wrote what.</para>
<itemizedlist>
<listitem><para>March 7th, 2005 [randy]: Updated to HTML Tidy-030505;
added prevent_PRE_newlines patch to HTML Tidy instructions.</para></listitem>
added prevent_PRE_newlines patch to HTML Tidy instructions; updated the
Qpopper instructions to correctly update the syslog config
file.</para></listitem>
<listitem><para>March 7th, 2005 [bdubbs]: Updated dhcp to 3.0.2.
Also indexed and updated note about kernel configuration.</para></listitem>

View File

@ -44,8 +44,7 @@
<sect3><title><application>Qpopper</application> dependencies</title>
<sect4><title>Required</title>
<para><ulink url="../server/mail.html">MTA</ulink>
</para>
<para><ulink url="../server/mail.html">MTA</ulink></para>
</sect4>
<sect4><title>Optional</title>
@ -78,20 +77,25 @@ make</command></userinput></screen>
<sect3 id="qpopper-config"><title>Configuration Information</title>
<para>Update the <application>Syslog</application> configuration file and
force the <command>syslogd</command> daemon to reread the new file so that
<application>Qpopper</application> events are logged:</para>
<indexterm zone="qpopper qpopper-config">
<primary sortas="e-etc-syslog.conf">/etc/syslog.conf</primary></indexterm>
<screen><userinput><command>echo "local0.notice;local0.debug /var/log/POP.log" &gt;&gt; \
/etc/syslog.conf &amp;&amp;
killall -HUP syslogd</command></userinput></screen>
<para>If you use <command>inetd</command>, the following command will add the
<application>Qpopper</application> entry to
<filename>/etc/inetd.conf</filename>:</para>
<indexterm zone="qpopper qpopper-config">
<primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary></indexterm>
<indexterm zone="qpopper qpopper-config">
<primary sortas="e-etc-syslog.conf">/etc/syslog.conf</primary></indexterm>
<screen><userinput><command>echo "pop3 stream tcp nowait root /usr/sbin/popper popper" &gt;&gt; \
/etc/inetd.conf &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>
killall inetd || inetd</command></userinput></screen>
<para>Issue a <command>killall -HUP inetd</command> to reread the changed
<filename>inetd.conf</filename> file.</para>