Changeset 625


Ignore:
Timestamp:
Oct 18, 2011, 2:53:06 PM (9 years ago)
Author:
ben
Message:

greylisting infos, see #28

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postfix-logtools/poststat/poststat

    r624 r625  
    4444  ce_ssl_error       => 0,
    4545  ce_timeout         => 0,
     46  grey_spf           => 0,
     47  grey_delayed       => 0,
     48  grey_autowl        => 0,
     49  grey_hard_wl       => 0,
    4650  me_no_relay        => 0,
    4751  me_no_target       => 0,
     
    6165
    6266while (<STDIN>) {
     67  # get greylisting info
     68  $stat{grey_spf}++,            next if /.* milter-greylist: .* are SPF-compliant/;
     69  $stat{grey_delayed}++,        next if /.* milter-greylist: .* delayed for/;
     70  $stat{grey_autowl}++,         next if /.* milter-greylist: .* autowhitelisted for another/;
     71  $stat{grey_hard_wl}++,        next if /.* milter-greylist: .* skipping greylist because.*is whitelisted/;
     72
    6373  next if !s/.* postfix\/(.*?)\[\d+\]: //;
    6474  my $prog = $1;
     
    6979    if (@backupmx) {
    7080        foreach my $mx (@backupmx) {
    71             $stat{ci_connect_mx}++,      next if /^connect from $mx/;
     81            $stat{ci_connect_mx}++,       next if /^connect from $mx/;
    7282        }
    7383    }
Note: See TracChangeset for help on using the changeset viewer.