ScottPeterJohnson / purelymail-issues

Issues repository for the Purelymail email service.
30 stars 0 forks source link

Changing identity breaks webmail. #180

Closed lukehmcc closed 9 months ago

lukehmcc commented 9 months ago

If you create an email inbox, port in emails, then change the email identity, this change isn't reflected in the webmail inbox. It will keep trying to send emails from the old email which clearly won't work.

This issue is reproduceable for me.

ScottPeterJohnson commented 9 months ago

Seems like Roundcube denormalizes the email address into the default identity field, and that doesn't get updated when Purelymail changes the username (the actual username row does). Should be a simple fix.

ScottPeterJohnson commented 9 months ago

I added a fix (although it's a little hacky since it assumes any identity email-from for the changed email should also change and that might not necessarily be the case).