RFC-2822-error when sharing after upgrading to NC 12.0.3


After my nc-upgrade from 12.0.2 to 12.0.3 I get the following error/hint on the top of the site when i want to share a folder with a user:

Address in mailbox given [Nextcloud Company Name@localhost.localdomain] does not comply with RFC 2822, 3.6.2.

The folder will be shared anyway, but to see the user in the list of people with whom the folder is shared, you have to select another folder first and then select the affected folder.
I switched back to my 12.0.2-snapshot. Now everything works as expected.

My Setup

  • Debian 9
  • Apache2 / PHP 7
  • Maria DB
  • LDAP-Connection to a Samba-DC
  • All LDAP-Users have valid mail-adresses in the ldap-field “mail”. But that never was important since i use the userPrincipalName as internal username.

Nobody with the same problem?

Could be linked to this issue:

Because it worked for you on NC 12.0.2, I would open an new issue on the bugtracker. You can link the above topic asking if it is related.

I did so, thanks!