<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — X-Original-To:]]></title>
		<link>http://www.iredmail.org/forum/topic2978-xoriginalto.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic2978.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in X-Original-To:.]]></description>
		<lastBuildDate>Wed, 29 Feb 2012 15:15:14 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: X-Original-To:]]></title>
			<link>http://www.iredmail.org/forum/post14061.html#p14061</link>
			<description><![CDATA[<p>Thanks for your help, we solved the problem. Your post <a href="http://www.iredmail.org/forum/post14006.html#p14006">http://www.iredmail.org/forum/post14006.html#p14006</a> point us the right direction.</p><p>The problem was that mapping for the catch-all address was done by the postfix at port 25. At this time the envelope address is rewritten to the catch-all address. When the email comes to the postfix at port 10025 the envelope address is already the catchall address.</p><p>Therefore we need the first postfix at port 25 to not rewrite to the catchall address. With your hints and this idea in mind we do the following four adjustments:</p><p>1) Make sure you have below settings in Postfix main.cf:<br /></p><div class="codebox"><pre><code>enable_original_recipient = yes
dovecot_destination_recipient_limit = 1</code></pre></div><p>2) Add flag &#039;O&#039; (Letter o in upper case, not digit number zero) in Postfix master.cf for transport pipe:<br /></p><div class="codebox"><pre><code>dovecot unix    -       n       n       -       -      pipe
    flags=DRhuO user=[...OMIT OTHER SETTINGS HERE...]</code></pre></div><p>3) In the Postfix master.cf we add the line (-o receive_override_options=no_address_mappings) after<br /></p><div class="codebox"><pre><code>smtp      inet  n       -       -       -       -       smtpd
   -o receive_override_options=no_address_mappings</code></pre></div><p>4) In the Postfix master.cf we comment out one setting (#,no_address_mappings)<br /></p><div class="codebox"><pre><code>127.0.0.1:10025 inet n  -   -   -   -  smtpd
[...OMIT OTHER SETTINGS HERE...]
    -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks
#,no_address_mappings</code></pre></div><p>Now everything works fine. Thanks for you great work. <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (svenjust)]]></author>
			<pubDate>Wed, 29 Feb 2012 15:15:14 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post14061.html#p14061</guid>
		</item>
		<item>
			<title><![CDATA[Re: X-Original-To:]]></title>
			<link>http://www.iredmail.org/forum/post14046.html#p14046</link>
			<description><![CDATA[<p>Hope this Zimbra bug report helps: <a href="http://bugzilla.zimbra.com/show_bug.cgi?id=15395">http://bugzilla.zimbra.com/show_bug.cgi?id=15395</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 29 Feb 2012 04:26:47 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post14046.html#p14046</guid>
		</item>
		<item>
			<title><![CDATA[Re: X-Original-To:]]></title>
			<link>http://www.iredmail.org/forum/post14034.html#p14034</link>
			<description><![CDATA[<p>Unfortunately, not. We need the header to assign the e-mails with fetchmail the correct recipients.</p>]]></description>
			<author><![CDATA[null@example.com (svenjust)]]></author>
			<pubDate>Tue, 28 Feb 2012 12:38:34 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post14034.html#p14034</guid>
		</item>
		<item>
			<title><![CDATA[Re: X-Original-To:]]></title>
			<link>http://www.iredmail.org/forum/post14031.html#p14031</link>
			<description><![CDATA[<p>You can find several headers with value &#039;sven.just _at_ dcc-global.eu&#039;, are they enough for you?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 28 Feb 2012 12:20:58 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post14031.html#p14031</guid>
		</item>
		<item>
			<title><![CDATA[Re: X-Original-To:]]></title>
			<link>http://www.iredmail.org/forum/post14013.html#p14013</link>
			<description><![CDATA[<p>Thanks for your help.</p><p>We need this feature for a multidrop configuration with one catch-all account. From the catch-all account we read all emails with fetchmail to our inhouse email server.</p><p>I try your configuration advice but unfortunately there is still a little problem. The “X-Original-To:” header is added but the address is wrong. </p><p>Example: <br /></p><div class="codebox"><pre><code>iRedMail server domain: dcc-global.eu
catch-all account: www@dcc-global.eu
email recipient address: sven.just@dcc-global.eu </code></pre></div><p>The following wrong header is added: </p><div class="codebox"><pre><code>X-Original-To: www@dcc-global.eu</code></pre></div><p> the correct header would be: </p><div class="codebox"><pre><code>X-Original-To: sven.just@dcc-global.eu</code></pre></div><p>I add the complete email header, I hope it helps you. If you need the complete configuration, please let me know.</p><div class="codebox"><pre><code>Return-Path: &lt;sven.just@dcc-global.com&gt;
X-Original-To: www@dcc-global.eu
Delivered-To: www@dcc-global.eu
Received: from localhost (localhost [127.0.0.1])
    by h1989655.stratoserver.net (Postfix) with ESMTP id 4A3CCE21AE
    for &lt;www@dcc-global.eu&gt;; Mon, 27 Feb 2012 09:06:44 +0000 (GMT)
X-Virus-Scanned: Debian amavisd-new at h1989655.stratoserver.net
X-Amavis-Alert: BAD HEADER SECTION, Improper folded header field made up
    entirely of whitespace (char 20 hex): X-Spam-Report: ...that system
    for details.\n \n Content previ[...]
Received: from h1989655.stratoserver.net ([127.0.0.1])
    by localhost (h1989655.stratoserver.net [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id u2mA37YKcRHH for &lt;www@dcc-global.eu&gt;;
    Mon, 27 Feb 2012 09:06:43 +0000 (GMT)
X-Original-Helo: h1683731.stratoserver.net (iRedMail: http://www.iredmail.org/)
Received: from h1683731.stratoserver.net (h1683731.stratoserver.net [85.214.255.254])
    by h1989655.stratoserver.net (Postfix) with ESMTPS id E6B85E21AC
    for &lt;sven.just@dcc-global.eu&gt;; Mon, 27 Feb 2012 09:06:42 +0000 (GMT)
Received: from p54839706.dip0.t-ipconnect.de ([84.131.151.6] helo=scalix.dcc-global.de)
    by h1683731.stratoserver.net with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
    (Exim 4.72)
    (envelope-from &lt;sven.just@dcc-global.com&gt;)
    id 1S1wXZ-0006eS-VX
    for sven.just@dcc-global.eu; Mon, 27 Feb 2012 10:06:42 +0100
Received: from scalix.dcc-global.de (localhost [127.0.0.1])
    by scalix.dcc-global.de (8.13.8/8.13.8) with ESMTP id q1R96ePu002488
    for &lt;sven.just@dcc-global.eu&gt;; Mon, 27 Feb 2012 10:06:40 +0100
Date: Mon, 27 Feb 2012 10:06:39 +0100
From: &quot;Sven Just&quot; &lt;sven.just@dcc-global.com&gt;
To: &quot;sven.just&quot; &lt;sven.just@dcc-global.eu&gt;
Message-ID: &lt;&quot;H000006c0023ef4c.1330333599.scalix.dcc-global.de*&quot;@MHS&gt;
Subject: test</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (svenjust)]]></author>
			<pubDate>Mon, 27 Feb 2012 09:41:41 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post14013.html#p14013</guid>
		</item>
		<item>
			<title><![CDATA[Re: X-Original-To:]]></title>
			<link>http://www.iredmail.org/forum/post14006.html#p14006</link>
			<description><![CDATA[<p>I made it work with below settings.</p><p>1) Make sure you have below settings in Postfix main.cf:<br /></p><div class="codebox"><pre><code>enable_original_recipient = yes
dovecot_destination_recipient_limit = 1</code></pre></div><p>2) Add flag &#039;O&#039; (Letter o in upper case, not digit number zero) in Postfix master.cf for transport pipe:<br /></p><div class="quotebox"><blockquote><p>dovecot unix&nbsp; &nbsp; -&nbsp; &nbsp; &nbsp; &nbsp;n&nbsp; &nbsp; &nbsp; &nbsp;n&nbsp; &nbsp; &nbsp; &nbsp;-&nbsp; &nbsp; &nbsp; &nbsp;-&nbsp; &nbsp; &nbsp; pipe<br />&nbsp; &nbsp; flags=DRhu<span style="color: red">O</span> user=[...OMIT OTHER SETTINGS HERE...]</p></blockquote></div><p>3) Restarting Postfix service is required.</p><p>References:<br />- Postfix manual page: pipe(8): <a href="http://www.postfix.org/pipe.8.html">http://www.postfix.org/pipe.8.html</a><br />- postconf(5): <a href="http://www.postfix.org/postconf.5.html#enable_original_recipient">http://www.postfix.org/postconf.5.html# … _recipient</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 26 Feb 2012 16:26:02 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post14006.html#p14006</guid>
		</item>
		<item>
			<title><![CDATA[Re: X-Original-To:]]></title>
			<link>http://www.iredmail.org/forum/post14005.html#p14005</link>
			<description><![CDATA[<p>I didn&#039;t try this before. May i know why you need this header?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 26 Feb 2012 16:07:02 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post14005.html#p14005</guid>
		</item>
		<item>
			<title><![CDATA[X-Original-To:]]></title>
			<link>http://www.iredmail.org/forum/post13995.html#p13995</link>
			<description><![CDATA[<p>I am looking for the configuration to add “X-Original-To:” in the head of the emails. I try to configure “enable_original_recipient = yes” in the main.cf, but it doesn’t help. What should I do?</p><p>I am working on Debian Squeeze with iRedMail 0.7.4 with MySQL Backend. </p><p>Thanks for help.</p>]]></description>
			<author><![CDATA[null@example.com (svenjust)]]></author>
			<pubDate>Fri, 24 Feb 2012 13:40:24 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post13995.html#p13995</guid>
		</item>
	</channel>
</rss>
