On Wed, 24 Feb 2016, Axb wrote:

On 02/24/2016 05:02 PM, Benning, Markus wrote:
 Hello,

 recently i'm recieving mails which try to fool user by sending
 mails with a From: like

 From: "John Doe <john....@doe-company.tld>" <spamu...@spamdomain.tld>

afaik the correct  syntax would be

From: "John Doe" <john....@doe-company.tld> <spamu...@spamdomain.tld>

That is (probably) correct syntax for an email with two senders. The example is of someone trying to *obfuscate* a single sender by what's in the display name.

so SA is doing it right

I disagree. The display name is defined as a quoted string, so *all* the content between the quotes is the display name part, even if it *appears* to contain a validly-formatted email address.

and you can probably use

/\>\" \</ as a borked template trait rule

That's just a workaround for broken SA code.

Markus, I think this is a valid issue, I think you should file a bug.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  ...given the choice between a criminal and a communist,
  Iowa democrats shrugged their shoulders and flipped a coin.
                                                          -- aerodawg
-----------------------------------------------------------------------
 65 days since the first successful real return to launch site (SpaceX)

Reply via email to