Log-Saftpresse

 view release on metacpan or  search on metacpan

lib/Log/Saftpresse/Plugin/Postfix.pm  view on Meta::CPAN


=item rej_add_from (default: 0)

Include from address in reject messages statistics generated
by reject_detail.

=item extended (default: 0)

Remember From: address across log lines.

TODO: check what it really does.

=item uucp_mung (default: 0)

Convert uucp addresses.

=item verp_mung (default: 0)

Replace VERPs with placeholder.

=item tls_stats (default: 1)

Enable/disable TLS statistics.

=back

=head1 Input

This plugin expects a log line with

  program => /^postfix/

and log messages generate by the postfix MTA in 'message'.

=head1 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

=head1 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>

=head1 AUTHOR

Markus Benning <ich@markusbenning.de>

=head1 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

=cut



( run in 0.940 second using v1.01-cache-2.11-cpan-f4a522933cf )