The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

eris::log::context::postfix - Parses postfix messages into structured data

VERSION

version 0.008

SYNOPSIS

Parses postfix messages to extract relevant and interesting data.

ATTRIBUTES

matcher

A regex starting with the word 'postfix'

METHODS

contextualize_message

Parses a postfix messages into a structured document, extracting status information, IP addresses, and email addresses.

    action    => Connect/Disconnect, etc.
    dst_ip    => Receiver IP
    dst_user  => "To" email address
    proc      => Postfix daemon issuing the message, e.g.: smtpd, anvil
    program   => Set to 'postfix' for simplicity
    proto_app => ESMTP, SMTP, LMTP, etc.
    src       => Advertised server name taking action
    src_ip    => Sender IP
    src_user  => "From" email address
    status    => Whether the operation was successful

Tags messages with 'mail'

SEE ALSO

eris::log::contextualizer, eris::role::context

AUTHOR

Brad Lhotsky <brad@divisionbyzero.net>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by Brad Lhotsky.

This is free software, licensed under:

  The (three-clause) BSD License