30.04.2014 15:23, Wietse Venema wrote: > Nerijus Kislauskas: >> Hi, >> >> Does this From: header of default bounce message in postfix conforms to >> RFC2822, RFC5322 or RFC6854?: >> >> From: mailer-dae...@mx-1.ktu.lt (Mail Delivery System) >> >> >> I'm using postfix 2.7.1. As I can see 2.11 is not much different. There >> are a lot of libraries, like >> >> http://search.cpan.org/~rjbs/Email-Address-1.903/lib/Email/Address.pm
Hm. This is Email::Address, not Email::Header, is it? I mean, the (comments) appears in email _header_, from which you extract an _address_, which you can give to this module for further inspection. >> in the wild, which doesn't correctly parse such From: header. Thanks for >> answers. I think you should use something to parse _header_ first, before giving it to _address_ parsing part. Thanks, /mjt