-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Dan Mahoney, System Admin writes: > On Wed, 22 Sep 2004, David Brodbeck wrote: > > > Dan Mahoney, System Admin wrote: > > > >> Hey all, > >> > >> In the process of trying to track statistics in SpamAssassin (and other > >> programs), and I'm thinking the easiest way is to have syslog write to a > >> FIFO that another program will read (or write to a pipe, but I'm not sure > >> syslog can do this), and then just have that program keep track of time > >> and store a logfile every so often. > > > > I think syslog-ng can write to pipes and maybe even databases. > > Actually under BSD, even the standard syslog is able to do pipes. > > Still something like this would be great if implemented WITHIN spamd. > > Essentially, for MRTG compatibility, we're just looking to store values, > emails received, and spams flagged. > > Beyond that, we could set threshholds for use with RRD tool. > > Borrowing some code from http://users.2z.net/rpuhek/scripts_public/spamd/ > ... > > Still, what I'm envisioning is a little thing that does the following. > > Before I present the code, how much effort would it take to have the > parent spamd process generate this file automatically (i.e. --scoreboard = > /var/log/spam-scoreboard --scoreboardflushinterval=100). It's like twenty > lines of code to include, and it could be VERY useful in proving the > effectiveness of SpamAssassin, rather than having to grok a sendmail log. I think it sounds very useful, actually... any chance you could open a bz about it? wonder if it should be a plugin. that would probably be a good idea, to allow other forms of logging. - --j. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Exmh CVS iD8DBQFBUlL1QTcbUG5Y7woRAuiQAJ90W8PjiKDW4dOnSooI0jzPo1jUfwCfUCQD u7xyyTNpaXVQbL7liqWmz+A= =xRDe -----END PGP SIGNATURE-----