diff options
| author | fukachan <fukachan> | 2001-04-12 11:45:28 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-04-12 11:45:28 +0000 |
| commit | c8f53a3a4e670fd6f9332716c83122373d8625f3 (patch) | |
| tree | 3a5dece72252b2961c1ae3723dfa7819e66139e0 | |
| parent | ccb194ce361d802e9cf0834b233e0736054429b4 (diff) | |
| download | fml8-c8f53a3a4e670fd6f9332716c83122373d8625f3.tar.gz fml8-c8f53a3a4e670fd6f9332716c83122373d8625f3.tar.bz2 fml8-c8f53a3a4e670fd6f9332716c83122373d8625f3.zip | |
fix address parser to pickup user@domain part
| -rw-r--r-- | fml/lib/Mail/Bounce/Postfix19991231.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fml/lib/Mail/Bounce/Postfix19991231.pm b/fml/lib/Mail/Bounce/Postfix19991231.pm index 8d903a4a..9c9922a1 100644 --- a/fml/lib/Mail/Bounce/Postfix19991231.pm +++ b/fml/lib/Mail/Bounce/Postfix19991231.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Postfix19991231.pm,v 1.1 2001/04/09 15:32:24 fukachan Exp $ +# $FML: Postfix19991231.pm,v 1.2 2001/04/10 11:52:26 fukachan Exp $ # @@ -60,7 +60,7 @@ sub analyze if ($state == 1) { $data =~ s/\n/ /g; - if ($data =~ /\<(\S+\@\S+)\>:\s*(.*)/) { + if ($data =~ /\<(\S+\@\S+\w+)\>:\s*(.*)/) { ($addr, $reason) = ($1, $2); $result->{ $addr }->{ 'Diagnostic-Code' } = $reason; $result->{ $addr }->{ 'Status' } = '5.x.y'; |
