<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — iRedAdmin-Pro-LDAP domain Relay/Transport Setting]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic3746.xml" />
	<updated>2012-08-04T06:55:06Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic3746-iredadminproldap-domain-relaytransport-setting.html</id>
		<entry>
			<title type="html"><![CDATA[Re: iRedAdmin-Pro-LDAP domain Relay/Transport Setting]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17460.html#p17460" />
			<content type="html"><![CDATA[<p>Please paste related log in /var/log/maillog to help troubleshoot.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-08-04T06:55:06Z</updated>
			<id>http://www.iredmail.org/forum/post17460.html#p17460</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedAdmin-Pro-LDAP domain Relay/Transport Setting]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17454.html#p17454" />
			<content type="html"><![CDATA[<p>Oops its.... not working we may miss some where ..</p><p>mail still deliver via local dovecot .. how can i route all domain2 and domain3 mails to two gateways..</p>]]></content>
			<author>
				<name><![CDATA[chinthaka]]></name>
				<uri>http://www.iredmail.org/forum/user31700.html</uri>
			</author>
			<updated>2012-08-03T17:32:42Z</updated>
			<id>http://www.iredmail.org/forum/post17454.html#p17454</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedAdmin-Pro-LDAP domain Relay/Transport Setting]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17441.html#p17441" />
			<content type="html"><![CDATA[<p>It&#039;s clear now, the picture helps a lot.<br /></p><div class="quotebox"><cite>chinthaka wrote:</cite><blockquote><p>Now I want to relay as below</p><p>domain1.com forward to Server 1  (mail.domain.com)<br />domain2.com forward to Server 2 (gateway1.domain.com)<br />domain3.com forward to Server 3 (gateway2.domain.com)</p><p>all mail user account created on Server 1</p></blockquote></div><p>Here&#039;s how:</p><p>- Don&#039;t set relayhost in Postfix main.cf.<br />- Don&#039;t set per-domain relay setting for domain1.com. So that all emails sent to domain1.com will be delivered locally (on mail.domain.com).<br />- Set per-domain relay setting with iRedAdmin-Pro for domain2.com, the value should be: smtp:gateway1.domain.com:25<br />- Set per-domain relay setting with iRedAdmin-Pro for domain3.com, the value should be: smtp:gateway2.domain.com:25</p><p>Let me know whether it works for you or not.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-08-03T10:12:14Z</updated>
			<id>http://www.iredmail.org/forum/post17441.html#p17441</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedAdmin-Pro-LDAP domain Relay/Transport Setting]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17433.html#p17433" />
			<content type="html"><![CDATA[<p>Here is the answers below </p><p>- Which is iRedMail server?&nbsp; &gt;&gt;&gt;&nbsp; Server 1 - mail.domain.com <br />- Which server you want to configure relay setting and relay all emails to gateway.domain.com? &gt;&gt;&gt; pls see below <br />- Is gateway.domain.com hosted on one of your 3 servers? I have two servers to configure as gateway</p><p>Sorry about it .. I&#039;ll clear you now </p><p>I have three mail server now</p><p>Server 1&nbsp; - mail.domain.com <br />Server 2&nbsp; - gateway1.domain.com <br />Server 3&nbsp; - gateway2.domain.com </p><p>I have three domains have host it server &quot;mail.domain1.com&quot; &quot;mail.domain2.com&quot; &quot;mail.domain3.com&quot;</p><p>Now I want to relay as below </p><p>domain1.com forward to Server 1&nbsp; (mail.domain.com)<br />domain2.com forward to Server 2 (gateway1.domain.com)<br />domain3.com forward to Server 3 (gateway2.domain.com)</p><p>I want load balance server1 (mail.domain.com) to mail deliver out site from&nbsp; gateway1 &amp; gateway2 </p><p>iRedMail server &amp; iRedAdmin-Pro-LDAP installed on - Server 1 - mail.domain.com&nbsp; </p><p>all mail user account created on Server 1 <br />Domain or user can send limit max 250 mail per hour </p><p>ALL three Domain MX point to mail.domain.com</p><p>This is the setup I am going to do. </p><p>I think now my requirement clear to you <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><br /><p> </p><div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Postfix has only one &quot;relayhost&quot; setting, otherwise you have to use sender_dependent_relayhost_maps instead.<br />Reference: <a href="http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps">http://www.postfix.org/postconf.5.html# … yhost_maps</a></p><p>I&#039;m confused now. You have 3 servers, let&#039;s say they&#039;re server #1, #2, #3. Here&#039;s my questions:</p><p>- Which is iRedMail server?<br />- Which server you want to configure relay setting and relay all emails to gateway.domain.com?<br />- Is gateway.domain.com hosted on one of your 3 servers?</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[chinthaka]]></name>
				<uri>http://www.iredmail.org/forum/user31700.html</uri>
			</author>
			<updated>2012-08-03T06:23:40Z</updated>
			<id>http://www.iredmail.org/forum/post17433.html#p17433</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedAdmin-Pro-LDAP domain Relay/Transport Setting]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17430.html#p17430" />
			<content type="html"><![CDATA[<p>Postfix has only one &quot;relayhost&quot; setting, otherwise you have to use sender_dependent_relayhost_maps instead.<br />Reference: <a href="http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps">http://www.postfix.org/postconf.5.html# … yhost_maps</a></p><p>I&#039;m confused now. You have 3 servers, let&#039;s say they&#039;re server #1, #2, #3. Here&#039;s my questions:</p><p>- Which is iRedMail server?<br />- Which server you want to configure relay setting and relay all emails to gateway.domain.com?<br />- Is gateway.domain.com hosted on one of your 3 servers?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-08-03T03:47:16Z</updated>
			<id>http://www.iredmail.org/forum/post17430.html#p17430</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedAdmin-Pro-LDAP domain Relay/Transport Setting]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17429.html#p17429" />
			<content type="html"><![CDATA[<p>So&nbsp; /etc/postfix/main.cf&nbsp; relay setting should be like below to<br /></p><div class="codebox"><pre><code>Domain1 relayhost = smtp:gateway1.domain.com:25
Domain2 relayhost = smtp:gateway2.domain.com:25
Domain3 relayhost = smtp:gateway3.domain.com:25</code></pre></div><p>am I correct ?</p>]]></content>
			<author>
				<name><![CDATA[chinthaka]]></name>
				<uri>http://www.iredmail.org/forum/user31700.html</uri>
			</author>
			<updated>2012-08-03T02:38:52Z</updated>
			<id>http://www.iredmail.org/forum/post17429.html#p17429</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedAdmin-Pro-LDAP domain Relay/Transport Setting]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17426.html#p17426" />
			<content type="html"><![CDATA[<p>Oops, i didn&#039;t realize you want to relay all emails, then you need Postfix parameter &quot;relayhost =&quot; in /etc/postfix/main.cf instead. For example:<br /></p><div class="codebox"><pre><code>relayhost = smtp:gateway.domain.com:25</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-08-03T01:10:05Z</updated>
			<id>http://www.iredmail.org/forum/post17426.html#p17426</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedAdmin-Pro-LDAP domain Relay/Transport Setting]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17419.html#p17419" />
			<content type="html"><![CDATA[<p>I have added in to domain relay setting but mails still getting deliver local servers<br /></p><div class="codebox"><pre><code>smtp:gateway.domain.com:25</code></pre></div>]]></content>
			<author>
				<name><![CDATA[chinthaka]]></name>
				<uri>http://www.iredmail.org/forum/user31700.html</uri>
			</author>
			<updated>2012-08-02T17:59:34Z</updated>
			<id>http://www.iredmail.org/forum/post17419.html#p17419</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedAdmin-Pro-LDAP domain Relay/Transport Setting]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17381.html#p17381" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>chinthaka wrote:</cite><blockquote><p>- Do i need config any where in postfix ?</p></blockquote></div><p>No. All are configured by iRedMail.</p><div class="quotebox"><cite>chinthaka wrote:</cite><blockquote><p>- How can forward all mails to getaway.domain.com relay to out side?</p></blockquote></div><p>Fill below string as relay:<br /></p><div class="codebox"><pre><code>smtp:gateway.domain.com:25</code></pre></div><p>- Postfix will connect to server listed in the MX record of gateway.domain.com, through port 25.<br />- If you prefer connecting to server listed in A record of gateway.domain.com, please use &quot;smtp:<span style="color: red">[</span>gateway.domain.com<span style="color: red">]</span>:25&quot; (without quotes) instead.<br />- If you prefer connecting to port 587 (submission), replace &quot;25&quot; with &quot;587&quot;.</p><p>Please refer to Postfix manual page for more details and samples:<br /><a href="http://www.postfix.org/transport.5.html">http://www.postfix.org/transport.5.html</a></p><div class="quotebox"><cite>chinthaka wrote:</cite><blockquote><p>- How do I make authenticate with ISP getaway.ISP.com to relay my mail with iRedAdmin-Pro</p></blockquote></div><p>You must list username/password in a file, then config Postfix parameter smtp_sasl_password_maps for authentication.<br />Reference: <a href="http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailservers.html">http://postfix.state-of-mind.de/patrick … rvers.html</a></p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-08-01T13:28:47Z</updated>
			<id>http://www.iredmail.org/forum/post17381.html#p17381</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedAdmin-Pro-LDAP domain Relay/Transport Setting]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17373.html#p17373" />
			<content type="html"><![CDATA[<p>Hi&nbsp; Zhang,</p><p>Thanks for post, </p><p>What is the next configuration if for for relay i am now to this ..</p><p>let say my relay is name is getaway.domain.com</p><p>- Do i need config any where in postfix ?<br />- How can forward all mails to getaway.domain.com relay to out side? <br />- How do I make authenticate with ISP getaway.ISP.com to relay my mail with iRedAdmin-Pro</p><p>Thanks<br />Chinthaka</p>]]></content>
			<author>
				<name><![CDATA[chinthaka]]></name>
				<uri>http://www.iredmail.org/forum/user31700.html</uri>
			</author>
			<updated>2012-08-01T08:38:28Z</updated>
			<id>http://www.iredmail.org/forum/post17373.html#p17373</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: iRedAdmin-Pro-LDAP domain Relay/Transport Setting]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17372.html#p17372" />
			<content type="html"><![CDATA[<p>Steps:</p><p>- Click &quot;Domains and Accounts&quot; in the main navigation bar. It will list mail domains hosted on your server.<br />- Click the gear icon beside the domain name which you want to configure relay setting. It will redirect you to domain profile page.<br />- Click tab &quot;Relay&quot;, then fill in the relay setting you want.</p><p>Screenshot for your reference:</p><p><span class="postimg"><img src="http://www.iredmail.org/images/iredadmin/domain_profile_relay.png" alt="http://www.iredmail.org/images/iredadmin/domain_profile_relay.png" /></span></p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-08-01T08:01:02Z</updated>
			<id>http://www.iredmail.org/forum/post17372.html#p17372</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[iRedAdmin-Pro-LDAP domain Relay/Transport Setting]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17371.html#p17371" />
			<content type="html"><![CDATA[<p>==== Provide required information ====<br />- iRedMail version and backend (LDAP/MySQL/PGSQL):<br />- Linux/BSD distribution name and version:<br />- Any related log? Log is helpful for troubleshooting.<br />==== Hello,</p><p>Pls let me know can we configure iRedAdmin-Pro-LDAP domain Relay/Transport Setting step by setp </p><p>I want to authenticate in one mail server forward it to relay my two postfix mail gateways servers install with iRedMail-0.8.1 </p><p>Thanks<br />Chinthaka</p>]]></content>
			<author>
				<name><![CDATA[chinthaka]]></name>
				<uri>http://www.iredmail.org/forum/user31700.html</uri>
			</author>
			<updated>2012-08-01T06:29:14Z</updated>
			<id>http://www.iredmail.org/forum/post17371.html#p17371</id>
		</entry>
</feed>
