Log::Saftpresse::Plugin::Postfix - plugin to parse analyse postfix logging
version 1.2
This plugin parses and analyzes postfix logging.
<Plugin postfix> module = "postfix" </Plugin>
If enabled the plugin will generate additional counters for per_hr, per_wdays and per_day values required for saftsumm output.
By default the plugin will trimm messages used by deferred_detail, smtpd_warn_detail and reject_detail.
If enabled the full message will be used instead of the trimmed string.
Enable generation of counters for smtpd warning messages.
Enable generation of counters per reject message.
Enable generation of counters per bounce message.
Enable generation of counters per deferral reason.
Enable to ignore case in addresses.
This will lower case all addresses.
Include from address in reject messages statistics generated by reject_detail.
Remember From: address across log lines.
TODO: check what it really does.
Convert uucp addresses.
Replace VERPs with placeholder.
Enable/disable TLS statistics.
This plugin expects a log line with
program => /^postfix/
and log messages generate by the postfix MTA in 'message'.
The plugin will add the following fields if applicable:
* size * from * to * relay * delay * status * forwarded * postfix_level * queue_id * client_host * client_ip * reject_type * reject_reason * connection_time * client
The plugin generates the following counters:
<host>.conn.total <host>.conn.per_domain.<domain> <host>.conn.busy.total <host>.conn.busy.per_domain.<domain> <host>.incoming.total <host>.reject.total.reject <host>.bounced.total <host>.recieved.by_sender.<sender> <host>.recieved.by_domain.<domain> <host>.recieved.total <host>.recieved.size.by_sender.<sender> <host>.recieved.size.by_domain.<domain> <host>.recieved.size.total <host>.tls_msg.smtpd.cipher.<tls_cipher> <host>.tls_msg.smtpd.keylen.<tls_keylen> <host>.tls_msg.smtpd.total <host>.tls_msg.smtpd.level.<tls_level> <host>.tls_msg.smtpd.proto.<tls_version> <host>.tls_msg.smtp.cipher.<tls_cipher> <host>.tls_msg.smtp.keylen.<tls_keylen> <host>.tls_msg.smtp.total <host>.tls_msg.smtp.level.<tls_level> <host>.tls_msg.smtp.proto.<tls_procol> <host>.deferred.max_delay.by_domain.<domain> <host>.deferred.by_domain.<domain> <host>.deferred.total <host>.tls_conn.smtpd.cipher.<tls_cipher> <host>.tls_conn.smtpd.keylen.<tls_keylen> <host>.tls_conn.smtpd.total <host>.tls_conn.smtpd.level.<tls_level> <host>.tls_conn.smtpd.proto.<tls_proto> <host>.tls_conn.smtp.cipher.<tls_cipher> <host>.tls_conn.smtp.keylen.<tls_keylen> <host>.tls_conn.smtp.total <host>.tls_conn.smtp.level.<tls_level> <host>.tls_conn.smtp.proto.<tls_proto> <host>.sent.delay.by_domain.<domain> <host>.sent.max_delay.by_domain.<domain> <host>.sent.by_domain.<domain> <host>.sent.total <host>.sent.size.by_domain.<domain> <host>.sent.size.total <host>.sent.size.by_rcpt.<recipient> <host>.sent.by_rcpt.<recipient>
Markus Benning <ich@markusbenning.de>
This software is Copyright (c) 1998 by James S. Seymour, 2015 by Markus Benning.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
To install Log::Saftpresse, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Saftpresse
CPAN shell
perl -MCPAN -e shell install Log::Saftpresse
For more information on module installation, please visit the detailed CPAN module installation guide.