<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hello Folks,<br><br>I am working on the MTA part of the Zimbra Mailinglist crowdfunder, and would like your advice.<br><br>What I try to do, is make Zimbra DL's sent mail the same way as mailman.<br><br>Aka:<br><strong>Return-Path: users-bounces@lists.zetalliance.org</strong><br>Received: from [::1] (port=53390 helo=server1.openfactory.ch)<br> by server1.openfactory.ch with esmtp (Exim 4.89)<br> <span style="color: rgb(255, 0, 0);" data-mce-style="color: #ff0000;">(<strong>envelope-from <users-bounces@lists.zetalliance.org></strong>)</span><br> id 1e7PUI-002cCG-VR; Wed, 25 Oct 2017 19:29:06 +0200<br>Received: from filter2.tophost.ch ([46.232.182.201]:37532)<br> by server1.openfactory.ch with esmtps<br> (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89)<br> <span style="color: rgb(255, 0, 0);" data-mce-style="color: #ff0000;"> (<strong>envelope-from <info@barrydegraaff.tk></strong>)</span> id 1e7PUI-002cC3-9n<br> for users@lists.zetalliance.org; Wed, 25 Oct 2017 19:29:06 +0200<br>Received: from trinity.hostingxs.nl ([213.207.93.66]<br> helo=zimbra1.powercraft.nl) by filter2.tophost.ch with esmtps<br> (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89)<br> <strong>(envelope-from <info@barrydegraaff.tk></strong>) id 1e7PUG-0004S1-6n<br> for users@lists.zetalliance.org; Wed, 25 Oct 2017 19:29:05 +0200<br>Date: Wed, 25 Oct 2017 19:29:03 +0200 (CEST)<br>From: Barry de Graaff <info@barrydegraaff.tk><br>To: Stefan =?utf-8?Q?S=C3=A4nger?= <stefan.saenger@gr13.net><br>Message-ID: <20703228.903.1508952543210.JavaMail.zimbra@barrydegraaff.tk><br>MIME-Version: 1.0<br>Content-Type: multipart/alternative; <br> boundary="=_ef844e01-95aa-4855-84cb-937756ba4db7"<br>Subject: Re: [Users] Does anyone knows how to setup 2FA on Open source? We<br>Errors-To: users-bounces@lists.zetalliance.org<br></div><div>Sender: "Users" <users-bounces@lists.zetalliance.org><br></div><div><br data-mce-bogus="1"></div><div>So what trick is used to change the envelope from? In red.<br><br>Noah Price tells me that on top of that we should change to From header to `From: users@lists.zetalliance.org`<br>for dmarc alignment.<br></div><div><br data-mce-bogus="1"></div><div><br>So far what I can make Zimbra do is add headers based on the To: header. So I can add</div><div>stuff like Sender: ,Errors-To:, and List-Unsubscribe:. But the first 2 of those<br>are not standard so I expect them to do noting much.<br><br><br>My question for you guys, how can I influence the Return-Path and/or envelope-from in Zimbra?<br>(https://en.wikipedia.org/wiki/Variable_envelope_return_path)<br><br>Is this something that can be done with postfix? So far I looked into postfix_header_checks<br>while that allows me to insert the headers and rewrite to:, I cannot change from: that way.<br><br>Also looked into amavis (little desperate), that does allow adding tags to subject I guess.<br><br>So if anyone has some pointers where I should look, let me know, otherwise I have to dig</div><div>some more. There is a zimbraAutoSubmittedNullReturnPath... does does allow to change</div><div>the return path to <> for auto-replies... not sure where that hooks into though.<br><br>Thanks!<br><br></div><div data-marker="__SIG_PRE__">Kind regards, <br><br>Barry de Graaff<br>Zeta Alliance Founder<br>zetalliance.org | github.com/Zimbra-Community<br><br>+31 617 220 227<br>Fingerprint: 97f4694a1d9aedad012533db725ddd156d36a2d0</div></div></body></html>