Account Alias, and "on Behalf of"

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
tonyg
Posts: 25
Joined: Fri Mar 16, 2018 5:25 pm
Location: USA
ZCS/ZD Version: 8.8.9_GA_3006.FOSS Jul 13, 2018
Contact:

Account Alias, and "on Behalf of"

Postby tonyg » Thu Aug 09, 2018 8:50 pm

My brand-spankin-new Zimbra installation is now supporting four domains - thanks all! :) I'm still in test mode with domains that aren't too important, but this is a huge step, and I'm moving forward slowly as necessity requires and time permits.

I apologize, as I know this question has been asked before but a forum search has not turned up a solution.

I now have a domain with an account, and that account has one alias. This account is called "systems@" which doesn't ever need to be exposed to the world. The alias "notifications@" will be used in various websites and programs to send email via this domain on events of interest. I will create other alias names for systems@, to brand/personalize the From address for specific purposes.

I've created a personality with address notifications@ and provided a related From and Reply-To name.
Email sent from the Zimbra UI shows these headers:

Code: Select all

Return-Path: <systems@
Sender: <systems@
From: Notifications <notifications@
Reply-To: Notifications <notifications@


So the recipient sees "systems@.... on behalf of Notications <notifications@...>
The goal is to entirely mask the nature of the systems@ account. The purpose of this parent/container account is to provide a single signon to receive/send from all related aliases. It makes sense that the Sender is systems@, which is the actual account. But as others have noted I want other addresses to share this account for receiving responses, bounces, etc, if any are sent.

I would be happy to create delegates, forwarding accounts, resources, or whatever is required to accomplish the goal. With no experience with those features yet, I'm not sure which feature provides the best solution for this problem. Prior to Zimbra my experience has been (and I'm looking at headers right now) that an email to a recipient doesn't need to include the actual MTA account ID, the Return-Path can be the alias, and either the Sender header isn't even required or my recipient MUA (GMail) is stripping that header so recipients don't see it.

Thanks.


tonyg
Posts: 25
Joined: Fri Mar 16, 2018 5:25 pm
Location: USA
ZCS/ZD Version: 8.8.9_GA_3006.FOSS Jul 13, 2018
Contact:

Re: Account Alias, and "on Behalf of"

Postby tonyg » Wed Aug 22, 2018 10:45 pm

Sorry for a bump here.
In short, the challenge is to send email using an alias of an account without the recipient seeing:
"From: account​@foo.tld on behalf of AliasName <alias​@foo.tld>"
I want them to see: "From: AliasName <alias​@foo.tld>"
I do this all the time with another server, having a dozen aliases for a single account.

I'd be happy to follow a link to get an education, and humbly apologize, if this is specific to the components and not Zimbra. I'm just not sure how to approach this problem.

Thanks.
phoenix
Ambassador
Ambassador
Posts: 25816
Joined: Fri Sep 12, 2014 9:56 pm

Re: Account Alias, and "on Behalf of"

Postby phoenix » Thu Aug 23, 2018 6:35 am

It works fine on my system. When you talk about the 'Alias' do you mean you're using a persona under the user Preferences/Accounts setting?
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
tonyg
Posts: 25
Joined: Fri Mar 16, 2018 5:25 pm
Location: USA
ZCS/ZD Version: 8.8.9_GA_3006.FOSS Jul 13, 2018
Contact:

Re: Account Alias, and "on Behalf of"

Postby tonyg » Thu Aug 23, 2018 10:29 pm

Sorry, I can't get these image links to display here with {IMG} tags, so I'm providing them as links.

This is where I'm defining the aliases

and maintaining the detail in the primary account preferences

Email received from the primary account as it appears to the recipient

Email received from the alias account as it appears to the recipient

As expected when sending from the primary account the received headers for From, Reply-To and Reploy-Path are all the primary account.
When from the alias, the received headers show the From and Reply-To as the alias, but the Return-Path is still the primary account. I believe it's this difference that causes the MUA to display the "on behalf of" notation.

I understand the Return-Path header reflects the envelope-from, or RFC5321 From address. In maillog I see the "from" field always being set to the primary account, never the alias. The From: header reflects the payload header-from, the RFC5322 From address.

The "from=" (Sender/Reply-To) header is always the primary account, even if I log into the Zimbra UI as the alias.

I've looked intensely for options for zmprov, postfix, etc. I see people asking how to reject mail that has a different From and Reply-To, but here I have Zimbra doing exactly that.

Thank for any leads.

Return to “Administrators”

Who is online

Users browsing this forum: kayasaman, king0770 and 32 guests