RFC 6532 indicates that you can use unicode characters like an umlaut ü
(U+00FC) if the receiving MTA supports SMTPUTF8 extension:
https://www.rfc-editor.org/rfc/rfc6532

But when I test this to Gmail its rejected:

swaks -p 25 -f 't...@acems1.com' --h-From: '"Alex" <kevin@düber.io>' --to '
acaburchte...@gmail.com' --h-Subject "Umlaut" --server "
gmail-smtp-in.l.google.com" --server="gmail-smtp-in.l.google.com"

<** 550-5.7.1 [54.242.119.206] Our system has detected that this message is
not RFC
<** 550-5.7.1 5322 compliant:
<** 550-5.7.1 'From' header has non compliant domain name.
<** 550-5.7.1 To reduce the amount of spam sent to Gmail, this message has
been
<** 550-5.7.1 blocked. Please visit
<** 550-5.7.1  https://support.google.com/mail/?p=RfcMessageNonCompliant
<** 550 5.7.1  and review RFC 5322 specifications for more information.
x12-20020a0ce24c000000b0053428216ed9si277098qvl.216 - gsmtp

Does Gmail not support RFC 6532 which states a unicode character should be
allowed in the From header? The bounce refers to RFC 5322 which is prior to
6532. So maybe they are still strictly respecting the older 5322?

It does work if I use punycode: aburch@ke...@xn--dber-0ra.io

Which aligns with Google docs here that say "Your domain name only has
numbers, letters, dots, or hyphens"
https://support.google.com/mail/forum/AAAAK7un8RUe15zAgzGbc4/?hl=en&gpf=%23!topic%2Fgmail%2Fe15zAgzGbc4%3Bcontext-place%3Dforum%2Fgmail

But here they also say "Gmail (and shortly, Calendar) will recognize
addresses that contain accented or non-Latin characters. This means Gmail
users can send emails to, and receive emails from, people who have these
characters in their email addresses."
https://blog.google/products/gmail/a-first-step-toward-more-global-email/

So which one is it?!? Do they support unicode characters in a domain/From
header? In reality no, but they seem to hint that they intend to.

Thanks,
Alex


--

Alexander Burch
ActiveCampaign / Senior Deliverability Engineer
abu...@activecampaign.com
1 North Dearborn St Suite 500, Chicago IL, 60602
<https://www.facebook.com/activecampaign>
<http://www.twitter.com/activecampaign>
<https://www.linkedin.com/company/activecampaign-inc->
<https://plus.google.com/107063868317743606466>

<https://www.activecampaign.com/sig/?u=aburch&c=1>
_______________________________________________
mailop mailing list
mailop@mailop.org
https://list.mailop.org/listinfo/mailop

Reply via email to