Need help setting "Disposition-Notification-To" to external mailaddress

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Posts: 2
Joined: Sat Sep 13, 2014 2:24 am

Need help setting "Disposition-Notification-To" to external mailaddress

Postby Kastenmaier » Wed Jan 11, 2012 7:48 am

I want to set "Disposition-Notification-To" for mail adresses in a domain of the zcs, to an external mail adress.

The mails of the users in this account are sent over mta (which works great).

The external recipient of mails get as answer mail adress the mta mail adress (lets say

But if mail notification is enabled, the "Disposition-Notification-To" in Mail header is the zimbra adress (lets say
Is it possible to set "Disposition-Notification-To" to
Thanks for your assistance.
Best regards

Randolf Kastenmaier

User avatar
Posts: 31
Joined: Sat Sep 13, 2014 1:07 am
Location: Pacific sud
ZCS/ZD Version: 7.2.7 ... 8.8.12

Re: Need help setting "Disposition-Notification-To" to external mailaddress

Postby dominix » Thu Aug 04, 2016 8:27 pm

I am interested in that feature too.
User avatar
Posts: 29
Joined: Tue Nov 26, 2013 11:24 am
Location: Berlin
ZCS/ZD Version: Release 8.8.12_GA_3794.RHEL7_64_201

Re: Need help setting "Disposition-Notification-To" to external mailaddress

Postby andreaswolske » Fri Aug 05, 2016 9:09 am

I might have an idea: Maybe Postfix parameter header_checks will do the trick


Code: Select all

postconf -e 'header_checks = pcre:/opt/zimbra/conf/pf_header_checks'

(I'm not sure if prce: or regexp: should be used as type of map - no time to read them manual yet)

and in /opt/zimbra/conf/pf_header_checks add

Code: Select all

# Filter mail header 'From:' email address, and insert new header.
/^*/i PREPEND Disposition-Notification-To:

Of cause this idea needs testing and and the regex needs refining but the basic idea should work and also be update-safe.
Also it does not consider an existing Disposition-Notification-To header which should be modified.


Return to “Administrators”

Who is online

Users browsing this forum: hudojnick and 9 guests