Ticket #156: qpopper-xinetd.patch

File qpopper-xinetd.patch, 1.5 KB (added by billy@…, 19 years ago)

xinetd instructions

  • qpopper-config.xml

    RCS file: /home/cvsroot/BLFS/BOOK/server/mail/qpopper/qpopper-config.xml,v
    retrieving revision 1.1
    diff -u -3 -p -a -u -r1.1 qpopper-config.xml
     
    77</sect3>
    88
    99<sect3><title>Configuring qpopper</title>
     10
     11<para>If you use inetd, the following command will add the qpopper
     12entry to /etc/inetd.conf:</para>
     13
    1014<para><screen><userinput>
    1115echo "pop stream tcp nowait root /usr/sbin/popper popper" >> \
    1216/etc/inetd.conf &&
    13 echo "pop 110/tcp" >> /etc/services &&
     17echo "pop 110/tcp" &gt;&gt; /etc/services &&
    1418killall inetd || inetd &amp;&amp;
    1519echo "local0.notice;local0.debug        /var/log/POP.log" >> \
    1620/etc/syslog.conf &amp;&amp;
    1721killall -HUP  syslogd
    1822</userinput></screen></para>
     23
     24<para>Issue a killall -HUP inetd to reread the changed inetd.conf
     25file.</para>
     26
     27<para>If you use xinetd, the following command will add the qpopper
     28entry to /etc/xinetd.conf:</para>
     29
     30<para><screen><userinput>
     31cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"
     32     service pop
     33     {
     34          port        = 110
     35          socket_type = stream
     36          protocol    = tcp
     37          wait        = no
     38          user        = root
     39          passenv     = PATH
     40          server      = /usr/sbin/popper
     41         server_args = popper
     42     }
     43EOF
     44</userinput></screen></para>
     45<para>Issue a killall -HUP xinetd to reread the changed xinetd.conf
     46file.</para>
     47
    1948</sect3>
    2049</sect2>