I replied to a message I received from the mailing list, which didn't have
the mailing list names in the header. So here it is...

---------- Forwarded message ----------
Date: Mon, 16 Oct 2000 19:31:31 -0700 (PDT)
From: Jeremy C. Reed <[EMAIL PROTECTED]>
To: Peter Vaskess <[EMAIL PROTECTED]>
Cc: Qpopper Support <[EMAIL PROTECTED]>
Subject: Re: qpopper: only allow POP from a special IP adress range !!!

> We have always done so with other pop servers but I can't find any
> mention of this and when I modified my inetd.conf it doesn't run popper
> at all (when we try a test connection).
> 
> Existing inetd.conf line (not using tcp wrappers):
> pop3 stream tcp nowait.100 root /usr/local/bin/popper qpopper -sR -c            

> Line with tcpd (doesn't work):
> pop3 stream tcp nowait.100 root /usr/sbin/tcpd /usr/local/bin/popper qpopper -s
>  -c                           

The last two entries of the inetd.conf lines are the server program and
the server program argument(s). The server program arguments start with
argv[0] which is the name of the program. In your case, "tcpd" is the
server program. Then you have the arguments of tcpd as
"/usr/local/bin/popper qpopper -s -c". As you can see "qpopper" is not an
argument for /usr/local/bin/popper; get rid of the "qpopper" argument, so
it says
 "/usr/sbin/tcpd /usr/local/bin/popper -s -c".

Hope this helps,

  Jeremy C. Reed
(I am starting a BSD and Linux users group in Snohomish county; if
interested email me off-list.)



Reply via email to