Jean Louis <bugs@gnu.support> ha escrit:

> The problem is that the 'mail' utility does not recognize the email
> address as the valid mail part.

It is *not* a valid mail part to begin with.  According to RFC 2822
(page 14), a valid address is 

  name-addr       =       [display-name] angle-addr
  angle-addr      =       [CFWS] "<" addr-spec ">" [CFWS] / obs-angle-addr

display-name is defined as

  display-name    =       phrase

"phrase" is (page 12)

  phrase          =       1*word / obs-phrase
  word            =       atom / quoted-string

Now, atom is defined on page 11 as a sequence of alphanumeric characters
or some punctuation characters.  The @ sign is not among that list.

  
> Maybe there is a workaround?

Either don't include display-part at all, or enclose it in double
quotes:

(1) mail exam...@example.com

(2) mail "\"exam...@example.com\" <exam...@example.com>"

Regards,
Sergey

_______________________________________________
Bug-mailutils mailing list
Bug-mailutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to