From owner-freebsd-questions Thu Jan 28 18:30:16 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA01633 for freebsd-questions-outgoing; Thu, 28 Jan 1999 18:30:16 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from granite.sentex.net (granite.sentex.ca [199.212.134.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA01628 for ; Thu, 28 Jan 1999 18:30:14 -0800 (PST) (envelope-from mike@sentex.net) Received: from ospf-wat.sentex.net (ospf-wat.sentex.net [209.167.248.81]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id VAA11822; Thu, 28 Jan 1999 21:28:54 -0500 (EST) From: mike@sentex.net (Mike Tancsa) To: enderli@endermay.ite.nknu.edu.tw ("En-der Li") Cc: questions@FreeBSD.ORG Subject: Re: qpop messages Date: Fri, 29 Jan 1999 02:35:30 GMT Message-ID: <36b11bf2.1427249926@mail.sentex.net> References: In-Reply-To: X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 28 Jan 1999 13:11:07 -0500, in sentex.lists.freebsd.questions you wrote: >When a user pop mail, qpop messages on the server www.nknu.edu.tw is >----------------------------------------- >Jan 29 00:17:21 www popper[27074]: (v2.1.4-R3) Servicing request from >"endermay.ite.nknu.edu.tw" at 140.127.77.252 >"48352014" at (endermay.ite.nknu.edu.tw) 140.127.77.252 >--------------------------------------------- > >but on my server just only one line >---------------------------------------------- >Jan 28 17:21:06 endermay popper[2703]: Stats: may 0 0 0 0 >------------------------------------------------ >How to setup it to show 'Servicing request from ' and 'Ending request from' The first is an older version which I think has some nasty security holes in it. Modify the source code of popper. Look for the line in pop_updt.c pop_log(p,POP_PRIORITY,"Stats: %s %s %d %d %d %d", p->ipaddr, And add the %s and ,p->ipaddr That will give you one line Stats: 192.168.1.1 userid 0 0 0 0 ---Mike Mike Tancsa (mdtancsa@sentex.net) Sentex Communications Corp, Waterloo, Ontario, Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message