On Mon, 8 Jan 2001, Henning Brauer wrote:

> Am Montag,  8. Januar 2001 19:00 schrieb Alexander Meis (simmail]:
> > Hi...
> >
> > i hope this is the support list
>
> There are no support lists, there are just mailing lists with users.
>
> > for smtp-poplock v2.0
> > How does the pop line in the inetd.conf should look like when i want
> > to ust the poplick with qpopper?
>
> ??? You are on the false list. qpopper has nothing to do with qmail (i can be
> used with qmail in "compatibility mode", but it is not common). I never heard
> about smtp-poplock. And using inetd is also uncommon for qmail installations.

smtp-poplock was done by David Harris.  If you're using mbox for qmail
delivery you can use qpopper.  I had it set up for quite some time this
way before moving to solidpop.  The current qpopper I believe will log
successful logins with IP address.  The way I had set it up was to log
username, IP and date/time to stderr then I used tcpserver to run qpopper
and routed stderr to a file called /var/log/poplog.  smtp-poplock's
readlog reads this file (I'm just using tail -f) and feeds it to poplock.

What I like about smtp-poplock as opposed to the other solution(s) is that
you don't have to patch any programs to make it work (if you use the newer
qpopper, otherwise you do).

Here's the startup line for qpopper:

/usr/local/bin/tcpserver 0 110 /usr/local/bin/popper 2> /var/log/poplog &

and here's the startup line for qmail-smtpd:

/usr/local/bin/tcpserver -v -x /etc/tcp.smtp.cdb -g 1001 -u 1004 0 25 
/usr/sbin/relaylock /var/qmail/bin/qmail-smtpd 2> /var/log/smptdlog &

To see what IPs are allowed to relay you use the program called
showallowed and you get an output like this:

ipaddr (and netmask)              access window expires
--------------------------------  ----------------------------
123.45.67.89                      Mon Jan  8 15:09:35 2001

You do need to make sure that smtp-poplock.conf has the right
parse_log_sub that matches your log output.

No patching..  That's what I like.

>
> > This is the original.
> > pop-3 stream tcp nowait root /usr/local/lib/popper qpopper -s

Use tcpserver for this instead of inetd.  It's more robust, stable and
reliable.  In fact I've dumped inetd.

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================



Reply via email to