<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Can I request some clarification on hosting mail for multiple domains]]></title>
		<link>http://www.iredmail.org/forum/topic4429-can-i-request-some-clarification-on-hosting-mail-for-multiple-domains.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic4429.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Can I request some clarification on hosting mail for multiple domains.]]></description>
		<lastBuildDate>Mon, 04 Feb 2013 15:59:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Can I request some clarification on hosting mail for multiple domains]]></title>
			<link>http://www.iredmail.org/forum/post20180.html#p20180</link>
			<description><![CDATA[<div class="quotebox"><cite>randoof wrote:</cite><blockquote><p>So my question is, is it normal to have to manually set the domain in local_domains_map? I never had to do this with my previous set up, so I wondered if maybe something has changed or possibly something isn&#039;t quite configured correctly?</p></blockquote></div><p>References:</p><p>- <a href="http://www.iredmail.org/forum/topic2354-iredmail-support-amavisd-add-xspamstatus.html">http://www.iredmail.org/forum/topic2354 … tatus.html</a><br />- <a href="http://www.iredmail.org/forum/post3711.html#p3711">http://www.iredmail.org/forum/post3711.html#p3711</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 04 Feb 2013 15:59:08 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post20180.html#p20180</guid>
		</item>
		<item>
			<title><![CDATA[Can I request some clarification on hosting mail for multiple domains]]></title>
			<link>http://www.iredmail.org/forum/post20148.html#p20148</link>
			<description><![CDATA[<p>==== Required information ====<br />- iRedMail version: 0.8.3<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL):&nbsp; MySQL<br />- Linux/BSD distribution name and version:&nbsp; Ubuntu 12.04 LTS<br />- Related log if you&#039;re reporting an issue: <br />==== </p><br /><p>Hi all, firstly, a great thank you to all involved in iRedMail, I absolutely love it.&nbsp; </p><p>I have a question regarding hosting emails for multiple domains,Amavis and Spamassasin .. apologies if I overdo the background, I want to make sure I cover as much as possible.</p><p>For simplicity, I have two domains: domain1.com and domain2.co.uk</p><p>iRedMail is hosted on domain1.com, and Apache is set up with virtual hosts for both domains, with files located in /srv/www/domain1.com and&nbsp; /srv/www/domain2.co.uk</p><p>I recently transferred a previous version of iRedMail from a VPS running 10.04. I followed this guide : <a href="http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Backup.iRedMail.Server">http://www.iredmail.org/wiki/index.php? … ail.Server</a> <br />I now run 12.04 and the latest version of iRedMail.</p><p>I also used scp to transfer the actual websites from /srv/www/</p><p>Everything went pretty much according to plan. However, we noticed that info@domain2.co.uk started getting a lot of spam, whereas before it received none. </p><p>This includes the expected emails selling little blue pills but also emails &quot;from&quot; (in theory) info@domain2.co.uk to info@domain2.co.uk and none were being marked as ***SPAM*** in the subject and the headers only contained &quot;X-Virus-Scanned: Debian amavisd-new at mail.domain1.com&quot; but no X-Spam-Score etc</p><br /><p>So having searched through this forum, I found that I can edit /etc/amavis/conf.d/50-user and change <br /></p><div class="codebox"><pre><code>@local_domains_maps =  [&#039;mail.domain1.com&#039; , &#039;domain1.com&#039;]</code></pre></div><p> <br />so it included &quot;domain2.co.uk&quot; </p><p>Having done that, and set <br /></p><div class="codebox"><pre><code>$sa_tag_level_deflt  = -1000;</code></pre></div><p> to ensure all flags are being displayed and finally </p><div class="codebox"><pre><code>rewrite_subject 1</code></pre></div><p> in /etc/spamassassin/local.cf to make sure the header was being marked as spam.</p><p>So my question is, is it normal to have to manually set the domain in local_domains_map? I never had to do this with my previous set up, so I wondered if maybe something has changed or possibly something isn&#039;t quite configured correctly? </p><p>Apologies for such a long winded post.</p>]]></description>
			<author><![CDATA[null@example.com (randoof)]]></author>
			<pubDate>Thu, 31 Jan 2013 21:21:25 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post20148.html#p20148</guid>
		</item>
	</channel>
</rss>
