NAME
Log::Saftpresse::Plugin::Postfix - plugin to parse analyse postfix logging
VERSION
version 1.6
Description
This plugin parses and analyzes postfix logging.
Synopsis
<Plugin postfix>
module = "postfix"
</Plugin>
Options
- saftsumm_mode (default: 0)
-
If enabled the plugin will generate additional counters for per_hr, per_wdays and per_day values required for saftsumm output.
- message_detail (default: 0)
-
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.
- smtpd_warn_detail (default: 0)
-
Enable generation of counters for smtpd warning messages.
- reject_detail (default: 0)
-
Enable generation of counters per reject message.
- bounce_detail (default: 0)
-
Enable generation of counters per bounce message.
- deferred_detail (default: 0)
-
Enable generation of counters per deferral reason.
- ignore_case (default: 0)
-
Enable to ignore case in addresses.
This will lower case all addresses.
- rej_add_from (default: 0)
-
Include from address in reject messages statistics generated by reject_detail.
- extended (default: 0)
-
Remember From: address across log lines.
TODO: check what it really does.
- uucp_mung (default: 0)
-
Convert uucp addresses.
- verp_mung (default: 0)
-
Replace VERPs with placeholder.
- tls_stats (default: 1)
-
Enable/disable TLS statistics.
Input
This plugin expects a log line with
program => /^postfix/
and log messages generate by the postfix MTA in 'message'.
Output
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
Counters
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>
AUTHOR
Markus Benning <ich@markusbenning.de>
COPYRIGHT AND LICENSE
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