RE: tcpserver - pop3d logging
kurth, I wrote a logging patch to do just that. see http://www.quint.be/projects/ -Willy On Thursday, April 12, 2001 02:20, Kurth Bemis [SMTP:[EMAIL PROTECTED]] wrote: i know that its been asked on the list before.but i can't remember when or the answer for that matter. i'd like to log the usernames from my pop users...to see who is getting their mail and whose not :-) i thought that there was a tcpserver or multilog switch for it...but i can't remember...can someone help me out :-) ~kurth
tcpserver - pop3d logging
i know that its been asked on the list before.but i can't remember when or the answer for that matter. i'd like to log the usernames from my pop users...to see who is getting their mail and whose not :-) i thought that there was a tcpserver or multilog switch for it...but i can't remember...can someone help me out :-) ~kurth
Tcpserver + POP3 -- logging
Hello, There is unix box running qmail with mysql-checkpassword, pop users are on one uid and gid. POP3 is initialized like this: /usr/local/bin/tcpserver -u 0 -g 0 0 pop3 /var/qmail/bin/qmail-popup-wrapper where qmail-popup-wrapper is: echo "POP3 connect from $TCPREMOTEHOST ($TCPREMOTEIP)" | /var/qmail/bin/splogger qmail exec /var/qmail/bin/qmail-popup rage /usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir I'd like to have better logging pop3 activity (beside remotehost and ip it will be nice to see 'username' and how many msgs was fetched) thanx for any sugestions p. -- pawel garbowski [EMAIL PROTECTED]
tcpserver and logging
There was a message earlier today concerning the machine resources required for log files when using tcpserver//var/qmail/bin/splogger. Shouldn't it be possible for tcpserver to use individual logs per service, through another logging mechanism. Something like: tcpserver -R -v -x tcp.cdb -u 123 -g 456 0 \ myservice /wherever/myprogram 21 | mylogger mylogfile where mylogger is like cat(1), but with a better permissions/ownership structure? (Or, maybe, ... 21 mylogfile would work, too. Anyone tried it?) Thanks, John -- John Conover, 631 Lamont Ct., Campbell, CA., 95008, USA. VOX 408.370.2688, FAX 408.379.9602 [EMAIL PROTECTED], http://www2.inow.com/~conover/john.html
Re: tcpserver and logging
On Tue, Feb 23, 1999 at 08:55:43AM -, John Conover wrote: There was a message earlier today concerning the machine resources required for log files when using tcpserver//var/qmail/bin/splogger. Shouldn't it be possible for tcpserver to use individual logs per service, through another logging mechanism. Something like: tcpserver -R -v -x tcp.cdb -u 123 -g 456 0 \ myservice /wherever/myprogram 21 | mylogger mylogfile where mylogger is like cat(1), but with a better permissions/ownership structure? (Or, maybe, ... 21 mylogfile would work, too. Anyone tried it?) DJB's daemontools package has just such an animal, called cyclog. I use it for all of my qmail logging. ftp://koobera.math.uic.edu/www/software/daemontools-0.53.tar.gz Chris
Re: tcpserver and logging
On Tue, Feb 23, 1999 at 08:55:43AM -, John Conover wrote: There was a message earlier today concerning the machine resources required for log files when using tcpserver//var/qmail/bin/splogger. Shouldn't it be possible for tcpserver to use individual logs per service, through another logging mechanism. Something like: tcpserver -R -v -x tcp.cdb -u 123 -g 456 0 \ myservice /wherever/myprogram 21 | mylogger mylogfile where mylogger is like cat(1), but with a better permissions/ownership structure? (Or, maybe, ... 21 mylogfile would work, too. Anyone tried it?) Somebody else has already suggested cyclog from the daemontools package from DJB. For the cases where you want to send all the output to a single file, I wrote qfilelog, available at: http://www.qcc.sk.ca/~bguenter/distrib/qlogtools/ It has the additional feature of closing and re-opening its output file when sent a HUP, for doing periodic log rotation. -- Bruce Guenter, QCC Communications Corp. EMail: [EMAIL PROTECTED] Phone: (306)249-0220 WWW: http://www.qcc.sk.ca/~bguenter/