Feed bld with postifx log files
bld-pf_log.pl reads mail logs and submits to a bld daemon anything that looks like a "user unknown" Postfix log line. This script gets its information from stdin, so the easiest way to use it is like this:
tail -f /path/to/postfix/logfile | bld-pf_log.pl
You may have to provide various options to the tail program in order to support file modifications such as log rotations.
Olivier Beyssac <[email protected]>