Don't edit the /etc/xinetd.conf file directly; instead, stick each of
the entries below in your /etc/xinetd.d directory as separate files:

/etc/xinetd.d/qpopper:

    service pop3
    {
            flags       = REUSE
            socket_type = stream
            protocol    = tcp
            wait        = no
            user        = root
            server      = /usr/sbin/popper
            server_args = -c -s -T 120
    }

/etc/xinetd.d/ipop3:

    service pop3
    {
            flags       = REUSE NAMEINARGS
            socket_type = stream
            protocol    = tcp
            wait        = no
            user        = root
            server      = /usr/sbin/tcpd
            server_args = ipop3d
            instances   = 100
    }

Then run:

    $ chkconfig ipop3 off
    $ chkconfig qpopper on

The chkconfig(8) program is your friend.

-- 
James Ralston, Information Technology
Software Engineering Institute
Carnegie Mellon University, Pittsburgh, PA, USA

On Wed, 28 Mar 2001, Ed - Qpopper wrote:

> Below is the version of xinetd that works.  I comment out the ipop3d
> service and change pop-2 to pop-3 and port to 110.
>
> service pop-2
> {
>         socket_type = stream
>         protocol    = tcp
>         wait        = no
>         user        = root
>         server      = /usr/sbin/popper
>         server_args = -c -s -T 120
>         port        = 109
> }
>
> service pop-3
> {
>         flags       = REUSE NAMEINARGS
>         socket_type = stream
>         protocol    = tcp
>         wait        = no
>         user        = root
>         server      = /usr/sbin/tcpd
>         server_args = ipop3d
>         instances   = 100
> }

Reply via email to