modify account: uppercase email address

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
User avatar
rosch
Advanced member
Advanced member
Posts: 164
Joined: Sat Sep 13, 2014 1:34 am
ZCS/ZD Version: 9.0.0.ZEXTRAS.20220713.UBUNTU20.64

modify account: uppercase email address

Post by rosch »

I am trying to set a user email address to uppercase for better readability.
Example:

Code: Select all

zmprov ma user@domain.com mail USER@domain.com
ERROR: service.INVALID_REQUEST (invalid request: mail is immutable)
I have one account with an uppercase name, so it's possible. If I remember correctly I did not achieve this with the zmprov command.
I tried renaming with ra but that didn't work either.
Does somebody know how to get around the immutable bit?
koichi.kato
Zimbra Employee
Zimbra Employee
Posts: 31
Joined: Tue Aug 09, 2022 12:30 am

Re: modify account: uppercase email address

Post by koichi.kato »

Email address is not case-sensitive. An email sent to USER@domain.com will be delivered to a mailbox of user@domain.com.
On Zimbra, an uppercase letter in an email address is changed to a lowercase letter in the process of CreateAccount or RenameAccount.
liverpoolfcfan
Elite member
Elite member
Posts: 1138
Joined: Sat Sep 13, 2014 12:47 am

Re: modify account: uppercase email address

Post by liverpoolfcfan »

rosch wrote: Wed Jan 10, 2024 3:43 pm I am trying to set a user email address to uppercase for better readability.
Example:
What is the use case?

If you want emails from that account to get sent out with the elail address looking like MAILBOX@server.com you can just set the email address in the format you would like in

WebClient->Preferences->Accounts->Primary Account Settings->Settings for sent messages

Just overwrite the sending email address mailbox@server.com with the desired format MAILBOX@server.com and save it.

If the use case is different, please explain more.
User avatar
rosch
Advanced member
Advanced member
Posts: 164
Joined: Sat Sep 13, 2014 1:34 am
ZCS/ZD Version: 9.0.0.ZEXTRAS.20220713.UBUNTU20.64

Re: modify account: uppercase email address

Post by rosch »

liverpoolfcfan wrote: Thu Jan 11, 2024 9:23 am
rosch wrote: Wed Jan 10, 2024 3:43 pm I am trying to set a user email address to uppercase for better readability.
Example:
What is the use case?

If you want emails from that account to get sent out with the elail address looking like MAILBOX@server.com you can just set the email address in the format you would like in

WebClient->Preferences->Accounts->Primary Account Settings->Settings for sent messages

Just overwrite the sending email address mailbox@server.com with the desired format MAILBOX@server.com and save it.

If the use case is different, please explain more.
Use case is better readability since letters like i and l can be mixed up easily.

Webclient: thanks for the tip there is no way to edit the email address in Accounts / Primary Account Settings. The email address is greyed out.
Klug
Ambassador
Ambassador
Posts: 2804
Joined: Mon Dec 16, 2013 11:35 am
Location: France - Drôme
ZCS/ZD Version: All of them
Contact:

Re: modify account: uppercase email address

Post by Klug »

koichi.kato wrote: Thu Jan 11, 2024 3:05 am Email address is not case-sensitive.
Actually it is.
koichi.kato wrote: Thu Jan 11, 2024 3:05 am An email sent to USER@domain.com will be delivered to a mailbox of user@domain.com.
This is a local choice/setup on the last server (the one doing the delivery).
The domain part is not case sensitive (RFC 1035). The local part can be.
RFC 5321: Simple Mail Transfer Protocol, section 2.3.11 wrote: The standard mailbox naming convention is defined to be "local-part@domain"; contemporary usage permits a much broader set of applications than simple "user names". Consequently, and due to a long history of problems when intermediate hosts have attempted to optimize transport by modifying them, the local-part MUST be interpreted and assigned semantics only by the host specified in the domain part of the address.
koichi.kato wrote: Thu Jan 11, 2024 3:05 am On Zimbra, an uppercase letter in an email address is changed to a lowercase letter in the process of CreateAccount or RenameAccount.
So every adress is lower cased inside Zimbra.

You can force the addresses to be lower cased in ZImbra but you cannot say email addresses are not case-sensitive.
Last edited by Klug on Tue Nov 05, 2024 3:14 pm, edited 1 time in total.
Post Reply