<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — MX records, SPF/DKIM and virtual domains...]]></title>
		<link>http://www.iredmail.org/forum/topic79-mx-records-spfdkim-and-virtual-domains.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic79.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in MX records, SPF/DKIM and virtual domains....]]></description>
		<lastBuildDate>Thu, 18 Jun 2009 07:50:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: MX records, SPF/DKIM and virtual domains...]]></title>
			<link>http://www.iredmail.org/forum/post389.html#p389</link>
			<description><![CDATA[<div class="quotebox"><cite>Rashef wrote:</cite><blockquote><p>What about DKIM entry? Do I need to repeat it in every domain DNS config? Is the main domain enough?</p></blockquote></div><p>You can use a &#039;catch-all&#039; DKIM for all domains, so that you don&#039;t need to create &amp; maintain dkim keys, DNS records for each domains. </p><p>Open /etc/amavisd.conf and read dkim related settings.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 18 Jun 2009 07:50:08 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post389.html#p389</guid>
		</item>
		<item>
			<title><![CDATA[Re: MX records, SPF/DKIM and virtual domains...]]></title>
			<link>http://www.iredmail.org/forum/post385.html#p385</link>
			<description><![CDATA[<p>The last... I swear!!! :-P<br />What about DKIM entry? Do I need to repeat it in every domain DNS config? Is the main domain enough?</p>]]></description>
			<author><![CDATA[null@example.com (Rashef)]]></author>
			<pubDate>Wed, 17 Jun 2009 12:56:24 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post385.html#p385</guid>
		</item>
		<item>
			<title><![CDATA[Re: MX records, SPF/DKIM and virtual domains...]]></title>
			<link>http://www.iredmail.org/forum/post381.html#p381</link>
			<description><![CDATA[<p>What&#039;s more if I set:</p><p>domain2.com.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3600&nbsp; &nbsp; IN&nbsp; &nbsp; &nbsp; TXT&nbsp; &nbsp; &nbsp;&quot;v=spf1 mx mx:mail.domain2.com -all&quot;<br />domain2.com.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;399&nbsp; &nbsp; &nbsp; IN&nbsp; &nbsp; &nbsp; MX&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; mail.domain2.com.<br />mail&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 399&nbsp; &nbsp; &nbsp; IN&nbsp; &nbsp; &nbsp; A&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;my_public_ip&gt;</p><p>I can read in my outgoing mails&#039; header:<br />Received-SPF: fail (receiverdomain.com: domain of user@domain2.com does not designate &lt;my_public_ip&gt; as permitted sender) client-ip=&lt;my_public_ip&gt;;</p><p>This is why I previously set</p><p>domain2.com.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3600&nbsp; &nbsp; IN&nbsp; &nbsp; &nbsp; TXT&nbsp; &nbsp; &nbsp;&quot;v=spf1 ip4:&lt;my_public_ip&gt; -all&quot;</p>]]></description>
			<author><![CDATA[null@example.com (Rashef)]]></author>
			<pubDate>Wed, 17 Jun 2009 11:07:02 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post381.html#p381</guid>
		</item>
		<item>
			<title><![CDATA[Re: MX records, SPF/DKIM and virtual domains...]]></title>
			<link>http://www.iredmail.org/forum/post379.html#p379</link>
			<description><![CDATA[<div class="quotebox"><cite>shake wrote:</cite><blockquote><p>no, my mean is</p><p>if the mailbox is on domain2.com , user@domain2.com<br />if the mailbox is on domain3.com,&nbsp; user@domain3.com</p></blockquote></div><p>Ok, this match my settings...</p><div class="quotebox"><blockquote><p>the spf setting is different.</p><br /><p>domain3.com.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3600&nbsp; &nbsp; IN&nbsp; &nbsp; &nbsp; TXT&nbsp; &nbsp; &nbsp;&quot;v=spf1 mx mx:mail.domain3.com -all&quot;<br />domain2.com.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3600&nbsp; &nbsp; IN&nbsp; &nbsp; &nbsp; TXT&nbsp; &nbsp; &nbsp;&quot;v=spf1 mx mx:mail.domain2.com -all&quot;</p></blockquote></div><p>Ok, I think I missed this one. Has this to be set even if users are using the same host of main server?<br />I mean that both user@domain1.com and user@domain2.com are using smtp.domain1.com to send mail... is this wrong?</p>]]></description>
			<author><![CDATA[null@example.com (Rashef)]]></author>
			<pubDate>Wed, 17 Jun 2009 10:36:30 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post379.html#p379</guid>
		</item>
		<item>
			<title><![CDATA[Re: MX records, SPF/DKIM and virtual domains...]]></title>
			<link>http://www.iredmail.org/forum/post378.html#p378</link>
			<description><![CDATA[<p>no, my mean is</p><p>if the mailbox is on domain2.com , user@domain2.com<br />if the mailbox is on domain3.com,&nbsp; user@domain3.com</p><br /><br /><p>the spf setting is different.</p><br /><p>domain3.com.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3600&nbsp; &nbsp; IN&nbsp; &nbsp; &nbsp; TXT&nbsp; &nbsp; &nbsp;&quot;v=spf1 mx mx:mail.domain3.com -all&quot;<br />domain2.com.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3600&nbsp; &nbsp; IN&nbsp; &nbsp; &nbsp; TXT&nbsp; &nbsp; &nbsp;&quot;v=spf1 mx mx:mail.domain2.com -all&quot;</p>]]></description>
			<author><![CDATA[null@example.com (shake)]]></author>
			<pubDate>Wed, 17 Jun 2009 10:28:55 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post378.html#p378</guid>
		</item>
		<item>
			<title><![CDATA[Re: MX records, SPF/DKIM and virtual domains...]]></title>
			<link>http://www.iredmail.org/forum/post377.html#p377</link>
			<description><![CDATA[<div class="quotebox"><cite>shake wrote:</cite><blockquote><p>the email client, the user name must be www@domain.com&nbsp; or www@maindomain.com</p><p>if you have the multi domian.</p></blockquote></div><p>Do you mean that if I have more then one domain</p><p>domain1.com (domain of the server)<br />domain2.com (virtual domain on postfix)<br />domain3.com (virtual domain on postfix)</p><p>all users must authenticate as user@domain1.com even if the mailbox is on domain2.com?<br />At now every user is able to authenticate with his own mail address (real mailbox, not alias).</p>]]></description>
			<author><![CDATA[null@example.com (Rashef)]]></author>
			<pubDate>Wed, 17 Jun 2009 10:19:04 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post377.html#p377</guid>
		</item>
		<item>
			<title><![CDATA[Re: MX records, SPF/DKIM and virtual domains...]]></title>
			<link>http://www.iredmail.org/forum/post376.html#p376</link>
			<description><![CDATA[<p>the email client, the user name must be www@domain.com&nbsp; or www@maindomain.com</p><p>if you have the multi domian.</p>]]></description>
			<author><![CDATA[null@example.com (shake)]]></author>
			<pubDate>Wed, 17 Jun 2009 10:02:13 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post376.html#p376</guid>
		</item>
		<item>
			<title><![CDATA[Re: MX records, SPF/DKIM and virtual domains...]]></title>
			<link>http://www.iredmail.org/forum/post368.html#p368</link>
			<description><![CDATA[<div class="quotebox"><cite>shake wrote:</cite><blockquote><p>recommend point the mx record to A record.</p></blockquote></div><p>Oh yes, I didn&#039;t specify but I I pointed the MX record to a (A)HOST. And users point to imap.domain.com/smtp.domain.com which are CNAME of that (A)HOST.</p><p>And I pointed the MX record of all virtual domains each to a (A)HOST linked to the same external IP of the mailserver.</p>]]></description>
			<author><![CDATA[null@example.com (Rashef)]]></author>
			<pubDate>Wed, 17 Jun 2009 08:15:18 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post368.html#p368</guid>
		</item>
		<item>
			<title><![CDATA[Re: MX records, SPF/DKIM and virtual domains...]]></title>
			<link>http://www.iredmail.org/forum/post364.html#p364</link>
			<description><![CDATA[<p>recommend point the mx record to A record.</p><p>the spf record also suggest use the A record.</p><p><a href="http://code.google.com/p/iredmail/wiki/DNS_SPF">http://code.google.com/p/iredmail/wiki/DNS_SPF</a></p>]]></description>
			<author><![CDATA[null@example.com (shake)]]></author>
			<pubDate>Wed, 17 Jun 2009 06:59:58 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post364.html#p364</guid>
		</item>
		<item>
			<title><![CDATA[MX records, SPF/DKIM and virtual domains...]]></title>
			<link>http://www.iredmail.org/forum/post363.html#p363</link>
			<description><![CDATA[<p>I have some problem receiving mails... Before boring all of you with long lists of logfiles, I have some doubts...</p><p>What&#039;s the right configuration of MX records for virtual domains?<br />Is it better to point every MX record to the public IP address of the server or to the same hostname used for main domain&#039;s MX record (e.g. mail.maindomain.com)?<br />I&#039;m using the first way at now, but I&#039;m starting to feel that I missed something... for example, do I need to add the same SPF and DKIM entries in every domains&#039; DNS zone? I added these entries only in the main domain DNS zone and all clients use imap.maindomain.com/smtp.maindomain.com even if they have a mailbox under firstvirtualdomain.com... But lots of mails do not arrive. And I have no entry into /var/log/maillog for the sender address...</p><p>Thank you again...</p>]]></description>
			<author><![CDATA[null@example.com (Rashef)]]></author>
			<pubDate>Wed, 17 Jun 2009 06:28:56 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post363.html#p363</guid>
		</item>
	</channel>
</rss>
