Modify ↓
Opened 3 years ago Closed 3 years ago #3 closed bug (worksforme)Don't accept () as email delimiters
Description (last modified by thboeckel)
If <> are the only valid email delimiters as the
Moved from SF: Attachments (0)Change History (10)comment:1 Changed 3 years ago by damatocomment:2 Changed 3 years ago by damato
The whole point is that YAM *does* allow to send an email
If that's illegal, YAM is only contributing to the problem,
Moved from SF. Original poster: tactica comment:3 Changed 3 years ago by damato
Yes, you are right. YAM should not allow to send an email with such an
Moved from SF. Original poster: damato comment:4 Changed 3 years ago by damato
According to RFC 2282 even something like this is valid, although not From: Pete(A wonderful \) chap) <pete(his account)@silly.test(his host)> To:A Group(Some people) :Chris Jones <c@(Chris's host.)public.example>, joe@example.org, John <jdoe@one.test> (my dear friend); (the end of the group) Cc:(Empty list)(start)Undisclosed recipients :(nobody(that I know))
Text within () should be treated as (nested) comment which reduces the From: Pete <pete@silly.test> To:A Group :Chris Jones <c@public.example>, joe@example.org, John <jdoe@one.test>; Cc:Undisclosed recipients :;
Hence to be on the safe side we would need another lexical analyzer to
Moved from SF. Original poster: thboeckel comment:5 Changed 3 years ago by damato
As the issue seems to require a rework of our current email address parser
Moved from SF. Original poster: damato comment:6 Changed 3 years ago by damato
comment:7 Changed 3 years ago by damato
comment:8 Changed 3 years ago by damato
comment:9 Changed 3 years ago by damato
We do have to check if this ticket is still valid and how we can easily fix it for the next release. comment:10 Changed 3 years ago by thboeckel
I just checked this ticket again with lots of variations of names and addresses with and without bracket and for me YAM either correctly rejected them as invalid or surrounded the brackets with quotes to make them part of the real name.
Hence from my point of view there is nothing to be fixed.
Closing this one as "works for me".
Feel free to reopen this ticket if YAM is doing something wrong in this respect. Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber
| ||||||||||||||||||||||||||||



Well, the problem is here that ( and ) are prefectly valid characters for
including in the full email address. So e.g. something like "Jens (damato)
Langner <Jens.Langner@…>" is perfectly valid and should
therefore also be allowed in YAM. However, the ( and ) chars are clear
'comment' characters and not the delimiters for seperating the email part
from the real name part. So something like "Jens Langner
(Jens.Langner@…)" is definitly wrong and violates any RFC.
So, IMO we should keep the possibility to add ( and ) to your real name.
However, YAM should never send any email with such a broken
recipient/sender adress and AFAIR it isn't possible to send such a mail
(apart from manually modifying the From: header line in the write window).
And if YAM should eventually receive such a broken email it should not try
to be smart any treat those ( ) chars as the realname<>email delimiters
instead of <> as this is calling for trouble... Broken mail are broken, and
nothing more
Moved from SF. Original poster: damato