On 2016-02-24 17:06, Axb wrote:
afaik the correct syntax would be
From: "John Doe" <john....@doe-company.tld> <spamu...@spamdomain.tld>
so SA is doing it right and you can probably use
/\>\" \</ as a borked template trait rule
The address part is only spamu...@spamdomain.tld.
It is correctly parsed when retrieving it from $pms->get('From:addr').
The displayname string is "John Doe <john....@doe-company.tld>", but
SA truncates it at the < when retrieving it with 'From:name'.
The address within the displayname is just handled as a string.
Some MTAs only show the displayname and this is an attempt to
make the user believe the mail was sent from john....@doe-company.tld
when its actual spamu...@spamdomain.tld.
Markus
--
https://markusbenning.de/