def scan_postfix_cleanup_line(date, _, collector):
 collector['activity-by-hour']['smtp-receives'][date.hour] += 1

def scan_postfix_cleanup_line ( date , _ , collector ) : collector [ 'activity-by-hour' ] [ 'smtp-receives' ] [ date . hour ] += 1
scan a postfix cleanup log line and extract interesting data it is assumed that every log of postfix/cleanup indicates an email that was successfulfy received by postfix .