| To: | qmail@list.cr.yp.to |
|---|---|
| Subject: | Re: better logging of qmail-pop3d usage? (bytes, username) |
| From: | Kyle Wheeler <kyle-qmail@memoryhole.net> |
| Date: | Wed, 23 May 2007 09:05:13 -0600 |
| Comment: | DomainKeys? See http://antispam.yahoo.com/domainkeys |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | gmail-qmail@securepoint.com |
| Delivered-to: | sp.com.list@gmail.com |
| Delivered-to: | mailing list qmail@list.cr.yp.to |
| Dkim-signature: | v=0.5; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=received:comment:domainkey-signature:received:received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; q=dns/txt; s=default; bh=7cx3uafwDacTZsBFiOT0iS2K2GA=; b=QWJqg+mN9u25NZFGa0o8xq6uIjiPzPi6tkgpVrD9qFh6iJlZ0+SoWcqaK7vs/jgcuD5YIeVG7y514syvzWR+GiFkDessCErNLUsOTDKV5BJxNbC7Ezre8SaL+03IZ81ah4Fqouy9N7d9ewjiWsLprJVeKUCslsCoPAZKTnHkyQ8= |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=dhhhZb0yocJOIwYEWfr2NHlRdDyA0yq4PlNbEV7SDCOTb5VGpCwCMjm/pb5XIpbHhCekwiaEUv0ZzXFtIPqwzpLnIOC1K/J21dNjNavObiv32iyDTpQUq41dhf14n4xL01Jy5XVQ4muwY0/P9xgncX5l9HEpoTVgC8D15WYD80c= ; |
| Domainkey-status: | good |
| In-reply-to: | <1179931631.21309.17.camel@bigapple.omnis.ch> |
| Mail-followup-to: | qmail@list.cr.yp.to |
| Mailing-list: | contact qmail-help@list.cr.yp.to; run by ezmlm |
| References: | <1179931631.21309.17.camel@bigapple.omnis.ch> |
| User-agent: | Mutt/1.5.15cvs (2007-05-20) |
On Wednesday, May 23 at 04:47 PM, quoth Olivier Mueller: And it's not very helpful :) I don't see any tcpserver options about logging bytes and domains, idem for the qmail-popup and qmail-pop3d or vmailmgrd's checkvpw. Well, logging user authentications is pretty easy. You can add a wrapper to qmail-pop3d, so that the run file looks something like this:
tcpserver {options} qmail-popup FQDN \
checkpassword \
logauthentications.sh \
qmail-pop3d
(Obviously, you want to use full-paths, this is just to give you the
idea.) Then this logauthentications.sh script can be as simple as
this:
#!/bin/sh
echo "$USER logged in" >&2
exec "$@"
Adding traffic counts is going to be a wee bit harder, and if you
don't want to use recordio, that may require patching qmail-pop3d.
~Kyle --If Mr. Einstein doesn't like the natural laws of the universe, let him go back to where he came from.
-- Robert Benchley (1889-1945)
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | better logging of qmail-pop3d usage? (bytes, username), Olivier Mueller |
|---|---|
| Next by Date: | Re: better logging of qmail-pop3d usage? (bytes, username), J. Kendzorra |
| Previous by Thread: | better logging of qmail-pop3d usage? (bytes, username), Olivier Mueller |
| Next by Thread: | Re: better logging of qmail-pop3d usage? (bytes, username), Joshua Nichols |
| Indexes: | [Date] [Thread] [Top] [All Lists] |