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: email@example.com", 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 "firstname.lastname@example.org" pattern. This overrides the "zimbraMailCatchAllCanonicalAddress" setting on their domain, and causes their mail to be "From: email@example.com" (instead of "firstname.lastname@example.org"), 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 email@example.com 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!