Sisimai::MDA(3pm)

Sisimai::MDA3pm

Error message parser for mda

Usage

    use Sisimai::MDA;
    my $header = { 'from' => '[email protected]' };
    my $string = 'mail.local: Disc quota exceeded';
    my $return = Sisimai::MDA->make($header, \$string);

Overview

Sisimai::MDA parse bounced email which created by some MDA, such as "dovecot", "mail.local", "procmail", and so on. This class is called from Sisimai::Message only.

Class methods

"make(Header, Reference to message body)"

"make()" is a parser for detecting an error from mail delivery agent.

    my $header = { 'from' => '[email protected]' };
    my $string = 'mail.local: Disc quota exceeded';
    my $return = Sisimai::MDA->make($header, \$string);
    warn Dumper $return;
    $VAR1 = {
        'mda' => 'mail.local',
        'reason' => 'mailboxfull',
        'message' => 'mail.local: Disc quota exceeded'
    }

Releases

3 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11
  3. 12

Author

azumakuniyuki

License

This software is distributed under The BSD 2-Clause License.

From libsisimai-perl 4.25.15-1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.