<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Centos 6.2 - IP per domain only]]></title>
		<link>http://www.iredmail.org/forum/topic3596-centos-62-ip-per-domain-only.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic3596.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Centos 6.2 - IP per domain only.]]></description>
		<lastBuildDate>Thu, 28 Jun 2012 23:52:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Centos 6.2 - IP per domain only]]></title>
			<link>http://www.iredmail.org/forum/post16729.html#p16729</link>
			<description><![CDATA[<p>Sorry, i don&#039;t quite understand what your issue/question is. <img src="http://www.iredmail.org/forum/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 28 Jun 2012 23:52:45 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post16729.html#p16729</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 6.2 - IP per domain only]]></title>
			<link>http://www.iredmail.org/forum/post16724.html#p16724</link>
			<description><![CDATA[<p>Hi, thanks for the reply.</p><p>It&#039;s possible test that on local network? Because I have still same problem. My SMTP server does not use the correct domain, he use his machine hostname.</p>]]></description>
			<author><![CDATA[null@example.com (martin_jaa)]]></author>
			<pubDate>Thu, 28 Jun 2012 10:43:09 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post16724.html#p16724</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 6.2 - IP per domain only]]></title>
			<link>http://www.iredmail.org/forum/post16703.html#p16703</link>
			<description><![CDATA[<p>Try this:</p><p>1: Edit /etc/postfix/master.cf, clone the smtp service:<br /></p><div class="codebox"><pre><code># Original one
smtp      unix  -       -       -       -       -       smtp

# Cloned one
smtp_company1      unix  -       -       -       -       -       smtp
        -o smtp_bind_address=[IP_ADDRESS_FOR_COMPANY1]

smtp_company2      unix  -       -       -       -       -       smtp
        -o smtp_bind_address=[IP_ADDRESS_FOR_COMPANY2]

smtp_company3      unix  -       -       -       -       -       smtp
        -o smtp_bind_address=[IP_ADDRESS_FOR_COMPANY3]</code></pre></div><p>Restarting Postfix is required.</p><p>2: Update per-domain transport stored in MySQL. For example:<br /></p><div class="quotebox"><blockquote><p># mysql -uroot -p vmail<br />mysql&gt; UPDATE domain SET transport=&#039;smtp_company1<span style="color: red">:</span>&#039; WHERE domain=&#039;DOMAIN_OF_COMPANY1&#039;;<br />mysql&gt; UPDATE domain SET transport=&#039;smtp_company2<span style="color: red">:</span>&#039; WHERE domain=&#039;DOMAIN_OF_COMPANY2&#039;;<br />mysql&gt; UPDATE domain SET transport=&#039;smtp_company3<span style="color: red">:</span>&#039; WHERE domain=&#039;DOMAIN_OF_COMPANY3&#039;;</p></blockquote></div><p>Warning: Don&#039;t forget the &#039;:&#039; after &#039;smtp_companyX&#039; in SQL commands. Let me know whether it works for you or not.</p><p>If you have iRedAdmin-Pro installed and running, you can manage per-domain transport in domain profile page, under tab &quot;Relay&quot;. 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>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 28 Jun 2012 00:32:04 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post16703.html#p16703</guid>
		</item>
		<item>
			<title><![CDATA[Centos 6.2 - IP per domain only]]></title>
			<link>http://www.iredmail.org/forum/post16687.html#p16687</link>
			<description><![CDATA[<p>MySQL, Centos 6.2, fresh install OS</p><br /><p>Hi, first of all I must say that iRedMail is great!</p><p>But I have small problem.<br />I have 3 domains and 3 IPs and I need assign one IP to one domain (model 1:1). IPs I have binded on eth0:1, eth0:2 and eth0:3</p><p>Example #1:<br />1) User info@company1.example.com is logged in SMTP<br />2) write some letters, choose recipient, write subject<br />3) and SMTP send mail from IP which is assigned to this domain</p><p>Example #2:<br />1) User info@company2.example.com is logged in SMTP<br />2) write some letters, choose recipient, write subject<br />3) and SMTP send mail from IP which is assigned to this domain</p><p>and so on..</p><p>currently I have binded 3 IPs to the machine but SMTP sends just from first IPs (eth0)</p><p>Please help, I am relative new in Linux.</p>]]></description>
			<author><![CDATA[null@example.com (martin_jaa)]]></author>
			<pubDate>Wed, 27 Jun 2012 12:27:07 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post16687.html#p16687</guid>
		</item>
	</channel>
</rss>
