We're using alias domains, zimbraMailCatchAllCanonicalAddress, and related zmprov settings to manage vanity domains for our customers. This works well with the following exception:
With a domain "domain.com", for which an alias domain "alias.com" is set up, users will have their mail sent "From: firstname.lastname@example.org", as expected. (I.e. the zimbraPrefFromAddress field is blank.)
However, when a user edits their Preferences | Mail | Account | Primary Account Settings page in the web UI, the "zimbraPrefFromAddress" field is set to the "email@example.com" pattern. This overrides the "zimbraMailCatchAllCanonicalAddress" setting on their domain, and causes their mail to be "From: firstname.lastname@example.org" (instead of "email@example.com"), making them unhappy.
The preferences page doesn't list the alias domain in the drop down, so they can't fix it themselves. I've fixed it with 'zmprov ma firstname.lastname@example.org zimbraPrefFromAddress "" ' but that doesn't scale well.
Is there a way to either:
- Add the alias domains to the drop down list on the preferences pane?
- Prevent the zimbraPrefFromAddress field from being set/changed?
Any input would be greatly appreciated!