Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re:streaming the stat feature output to another machine

2007-02-23 by George Elgin

if you are running a webserver on the same machine why not just
create a soft link from somewhere httpd (or whatever) can serve up
the log file ?. then the client machine can just use wget.

the problem with this is the file gets big quick. i have had good
luck in perl using Date::Manip to parse timestamps for example
limiting to the last 24 hrs

ex)
my $d1 = DateCalc( "today", "- 24 hours");
my $begin =  &UnixDate( $d1, "%b %e %T");

.
.

        if ( $date gt $begin ) {

will start processing timestamps from 24 hrs ago...


-george


 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.