<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Can I request some clarification on hosting mail for multiple domains]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4429.xml" />
	<updated>2013-02-04T15:59:08Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4429-can-i-request-some-clarification-on-hosting-mail-for-multiple-domains.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Can I request some clarification on hosting mail for multiple domains]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post20180.html#p20180" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2013-02-04T15:59:08Z</updated>
			<id>http://www.iredmail.org/forum/post20180.html#p20180</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Can I request some clarification on hosting mail for multiple domains]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post20148.html#p20148" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[randoof]]></name>
				<uri>http://www.iredmail.org/forum/user32556.html</uri>
			</author>
			<updated>2013-01-31T21:21:25Z</updated>
			<id>http://www.iredmail.org/forum/post20148.html#p20148</id>
		</entry>
</feed>
