X-AuthUser header for per-sender reputation tracking.
Prerequisites
- Root or administrative access to your Zimbra server
- Your MailChannels SMTP username and password
Configure the relay
Open Global Settings in the Zimbra Admin Console
Navigate to
https://<your-zimbra-server>:7071 and log in with your admin credentials.Go to Configure > Global Settings and select the MTA tab.Add the X-AuthUser header
MailChannels uses theX-AuthUser header to identify the authenticated sender and track per-sender reputation. Messages without this header are treated as forwarded mail and subject to different policies.
Zimbra uses Postfix as its MTA, so the header is added via a Postfix sender access map.
Add the smtpd_sender_restrictions directive
Open Add the following line to include the custom header access map:
/opt/zimbra/conf/main.cf:/opt/zimbra/conf/main.cf
Create the custom header file
Create Add the following line:
/opt/zimbra/conf/custom_header:/opt/zimbra/conf/custom_header
Resources
Verify the configuration
Send a test email
Send a test email from a Zimbra user account to an address you control and confirm it is delivered successfully.
Check the X-AuthUser header
Inspect the headers of the received email and confirm that
X-AuthUser is present and correctly populated with the authenticated user value.Review the MailChannels Host Console
Log in to your MailChannels Host Console and navigate to Outbound > Log Search. In the transaction log, the
senderID (sid=) field should contain your ${authenticated_user} value in the third position.
