Subject: | incorrect parsing of bounced mail |
Date: | Mon, 13 Aug 2007 12:35:19 +0800 |
To: | bug-Parse-Syslog-Mail [...] rt.cpan.org |
From: | salagadoola <salagadoola [...] gmail.com> |
When I try to parse this line with Parse-Syslog-Mail-0.11:
Aug 13 00:52:53 MyOwnMailGate postfix/smtp[21945]: 84179E35:
to=<pppppppp@gmail.coml>, relay=none, delay=0, status=bounced (Host or
domain name not found. Name service error for name=gmail.coml type=A:
Host not found)
I expected to get the "status", but I got "type" instead of "status":
$VAR1 = {
'delay' => '0',
'host' => 'MyOwnMailGate',
'program' => 'postfix/smtp',
'to' => '<pppppppp@gmail.coml>',
'relay' => 'none',
'timestamp' => 1186937573,
'text' => '84179E35: to=<pppppppp@gmail.coml>, relay=none,
delay=0, status=bounced (Host or domain name not found. Name service
error for name=gmail.coml type=A: Host not found)',
'id' => '84179E35',
'type' => 'A: Host not found)'
};
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.