Hello,
where it is possible to change the Return-Path field in the header of the message when users send email messages to a distribution list ?
This for a users send email into the list ditribution don't receive nondelivery reports (NDRs) but only all owner distribution list.
thank you very much
Ms exchange provides this option with the command :
Set-DistributionGroup "<DistributionGroupName>" -ReportToManagerEnabled $true
distribution list set ReportToOwner or ReportToManagerEnabled
- barrydegraaff
- Zimbra Employee
- Posts: 242
- Joined: Tue Jun 17, 2014 3:31 am
- Contact:
Re: distribution list set ReportToOwner or ReportToManagerEnabled
The Zeta Alliance crowdfunder `Zimbra Mailinglists` has found a way to set the correct Return-Path on a DL.
Basically what I do is filter the original message with Milter and discard it. Before discarding I take some headers and the body from the mail and place them in a new mail and toss that to the DL with sendmail.
The result is a clean message from the correct domain, and it should be able to pass SPF/DKIM and all that.
Its great, because the final message that goes to the recipients is still processed by Zimbra as a normal DL message.
https://github.com/Zimbra-Community/mai ... ith-Milter
https://github.com/Zimbra-Community/mai ... _milter.py
https://zimbra.org/extend/items/view/zi ... ling-lists
Basically what I do is filter the original message with Milter and discard it. Before discarding I take some headers and the body from the mail and place them in a new mail and toss that to the DL with sendmail.
The result is a clean message from the correct domain, and it should be able to pass SPF/DKIM and all that.
Its great, because the final message that goes to the recipients is still processed by Zimbra as a normal DL message.
https://github.com/Zimbra-Community/mai ... ith-Milter
https://github.com/Zimbra-Community/mai ... _milter.py
https://zimbra.org/extend/items/view/zi ... ling-lists