Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 1999 02:35:30 GMT
From:      mike@sentex.net (Mike Tancsa)
To:        enderli@endermay.ite.nknu.edu.tw ("En-der Li")
Cc:        questions@FreeBSD.ORG
Subject:   Re: qpop messages
Message-ID:  <36b11bf2.1427249926@mail.sentex.net>
In-Reply-To: <MAIL000d01be4ae8$22658820$6c2d7f8c@ender-pc.nknu.edu.tw>
References:  <MAIL000d01be4ae8$22658820$6c2d7f8c@ender-pc.nknu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36b11bf2.1427249926>