---
name: "sqlgrey-logstats.pl"
section: "1"
platform: "linux"
package: "sqlgrey"
version: "1.8.0rc2-1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/sqlgrey-logstats.pl"
---

# sqlgrey-logstats.pl(1)

SQLgrey log parser

## NAME

sqlgrey-logstats.pl - SQLgrey log parser

## SYNOPSIS

**sqlgrey-logstats.pl** \[*options*...\] \< syslogfile

```
 -h, --help             display this help and exit
     --man              display man page
     --version          output version information and exit
     --debug            output detailed log parsing steps
 -y, --yesterday        compute stats for yesterday
 -t, --today            compute stats for today
     --lasthour         compute stats for last hour
 -d, --lastday          compute stats for last 24 hours
 -w, --lastweek         compute stats for last 7 days
     --programname      program name looked into log file
     --top-from         how many from AWL entries to print (default: all)
     --top-domain       how many domain AWL entries to print (default: all)
     --top-spam         how many SPAM sources to print (default: all)
     --top-throttled    how many throttled sources to print (default: all)
     --print-delayed    print delayed sources (default: don't)
```

## DESCRIPTION

sqlgrey-logstats.pl ...

## SEE ALSO

See \<http://www.greylisting.org/\> for a description of what greylisting is and \<http://www.postfix.org/SMTPD\_POLICY\_README.html\> for a description of how Postfix policy servers work.

## COPYRIGHT

Copyright (c) 2004 by Lionel Bouton.

## LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

## AUTHOR

Lionel Bouton \<lionel-dev@bouton.name\>
