How do I clear the "from" field?

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
Dogukan
Posts: 4
Joined: Mon May 22, 2023 5:56 pm

How do I clear the "from" field?

Post by Dogukan »

I had set a name for "from" in the settings, but now I want to clear it, and when I delete and save it, it tells me not to leave it empty. How can I solve it? I'm adding attachment.
Attachments
IMG_20230522_210257.jpg
IMG_20230522_210257.jpg (84.52 KiB) Viewed 1551 times
yogesh.dasi
Zimbra Employee
Zimbra Employee
Posts: 57
Joined: Tue Oct 18, 2022 11:22 am

Re: How do I clear the "from" field?

Post by yogesh.dasi »

@Dogukan
Which version are you using and which from field in the settings are you referring to?
Dogukan
Posts: 4
Joined: Mon May 22, 2023 5:56 pm

Re: How do I clear the "from" field?

Post by Dogukan »

Im using zimbra 9.0.0
Attachments
IMG_20230523_062511.jpg
IMG_20230523_062511.jpg (132.32 KiB) Viewed 1378 times
Dogukan
Posts: 4
Joined: Mon May 22, 2023 5:56 pm

Re: How do I clear the "from" field?

Post by Dogukan »

Soooo? how???????
liverpoolfcfan
Elite member
Elite member
Posts: 1112
Joined: Sat Sep 13, 2014 12:47 am

Re: How do I clear the "from" field?

Post by liverpoolfcfan »

If the UI will not allow you to change it, you can do it from the command line.

Code: Select all

su - zimbra
zmprov ma <account-email-address> zimbraPrefFromDisplay ''
where the '' at the end is two single quotes.

Note: It will remove any custom setting you put in that field, and the UI will revert to displaying the default of the Account's "Firstname Lastname". The user will have to log out of zimbra and back in again to pick up the change.

In general if you run

Code: Select all

su - zimbra
zmprov ga <account-email-address>
you can see all of the account settings, and with zmprov ma you can modify them
Dogukan
Posts: 4
Joined: Mon May 22, 2023 5:56 pm

Re: How do I clear the "from" field?

Post by Dogukan »

liverpoolfcfan wrote: Thu May 25, 2023 8:46 am If the UI will not allow you to change it, you can do it from the command line.

Code: Select all

su - zimbra
zmprov ma <account-email-address> zimbraPrefFromDisplay ''
where the '' at the end is two single quotes.

Note: It will remove any custom setting you put in that field, and the UI will revert to displaying the default of the Account's "Firstname Lastname". The user will have to log out of zimbra and back in again to pick up the change.

In general if you run

Code: Select all

su - zimbra
zmprov ga <account-email-address>
you can see all of the account settings, and with zmprov ma you can modify them
Will this process leave the part I specified blank? I don't want our account to appear as first and last name.
koichi.kato
Zimbra Employee
Zimbra Employee
Posts: 31
Joined: Tue Aug 09, 2022 12:30 am

Re: How do I clear the "from" field?

Post by koichi.kato »

In the current design, when account's display name (displayName attribute) is set, the From display name (zimbraPrefFromDisplay) needs to be set.

https://github.com/Zimbra/zm-web-client ... e.js#L1608

Code: Select all

		if ( AjxUtil.isEmpty(this.__getIdentityValue(account, "FROM_NAME")) &&
		    !AjxUtil.isEmpty(appCtxt.get(ZmSetting.DISPLAY_NAME))) {
			this._errorMsg = ZmMsg.missingEmailDisplayName;
			return false;
		}

Code: Select all

this.__getIdentityValue(account, "FROM_NAME") is a value entered in From display name field.

appCtxt.get(ZmSetting.DISPLAY_NAME) is a value of displayName of the account.
It is shown at the top right of the Classic web client. If it is not set, an email address is shown.
It can be configured in Admin Console > Manage > Accounts > account > General Information > "Display name" setting.
liverpoolfcfan
Elite member
Elite member
Posts: 1112
Joined: Sat Sep 13, 2014 12:47 am

Re: How do I clear the "from" field?

Post by liverpoolfcfan »

Dogukan wrote: Thu May 25, 2023 5:32 pm Will this process leave the part I specified blank? I don't want our account to appear as first and last name.
What is the use case for not showing the sender's name? It is more likely to trigger spam detection without it.
Post Reply