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.