<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — local_domains_maps in amavisd-new]]></title>
		<link>http://www.iredmail.org/forum/topic3800-localdomainsmaps-in-amavisdnew.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic3800.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in local_domains_maps in amavisd-new.]]></description>
		<lastBuildDate>Sun, 07 Oct 2012 12:19:10 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: local_domains_maps in amavisd-new]]></title>
			<link>http://www.iredmail.org/forum/post18476.html#p18476</link>
			<description><![CDATA[<p>It should be fine.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 07 Oct 2012 12:19:10 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post18476.html#p18476</guid>
		</item>
		<item>
			<title><![CDATA[Re: local_domains_maps in amavisd-new]]></title>
			<link>http://www.iredmail.org/forum/post18471.html#p18471</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Looks like we have to:</p><p>- Create a cron job to dump all hosted mail domain names in a plain text file. e.g. /etc/postfix/all_hosted_mail_domains. Correct format is one mail domain name per line. For example:<br /></p><div class="codebox"><pre><code>domain1.com
domain2.com
...</code></pre></div><p>- Modify amavisd.conf to read all local domains from /etc/postfix/all_hosted_mail_domains:<br /></p><div class="codebox"><pre><code>@local_domains_maps=read_hash(&quot;/etc/postfix/all_hosted_mail_domains&quot;);</code></pre></div></blockquote></div><p>I found the following workaround:</p><div class="codebox"><pre><code>@local_domains_maps = [&#039;.&#039;];</code></pre></div><p>It seems everything works well and I get all the X-Spam Headers for every domain.</p><p>Is this workaround causing other problems (e.g. security) that I did not think about?</p>]]></description>
			<author><![CDATA[null@example.com (Znekar)]]></author>
			<pubDate>Sat, 06 Oct 2012 22:09:03 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post18471.html#p18471</guid>
		</item>
		<item>
			<title><![CDATA[Re: local_domains_maps in amavisd-new]]></title>
			<link>http://www.iredmail.org/forum/post17710.html#p17710</link>
			<description><![CDATA[<p>Looks like we have to:</p><p>- Create a cron job to dump all hosted mail domain names in a plain text file. e.g. /etc/postfix/all_hosted_mail_domains. Correct format is one mail domain name per line. For example:<br /></p><div class="codebox"><pre><code>domain1.com
domain2.com
...</code></pre></div><p>- Modify amavisd.conf to read all local domains from /etc/postfix/all_hosted_mail_domains:<br /></p><div class="codebox"><pre><code>@local_domains_maps=read_hash(&quot;/etc/postfix/all_hosted_mail_domains&quot;);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sat, 18 Aug 2012 02:50:12 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17710.html#p17710</guid>
		</item>
		<item>
			<title><![CDATA[Re: local_domains_maps in amavisd-new]]></title>
			<link>http://www.iredmail.org/forum/post17695.html#p17695</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Oops, then it&#039;s my mistake. Sorry about my misunderstood.</p><p>&quot;hit 8.292&quot; means Amavisd invokes SpamAssassin for content-based spam scanning. Just not insert mail headers.</p></blockquote></div><p>You are right, Amavisd invokes SpamAssassin and the hit 8.292 was done... But without the domain in local_domain_maps, the subject of the message is not tagged and the message is not moved to Junk folder, it&#039;s simply delivered as normal message. Is this right???</p><p>Just put the domain in local_domain_maps and the message is tagged (subject *** SPAM ***) and it is moved to Junk folder. So the iRedMailPro need to put every new domain in local_domain_maps.</p>]]></description>
			<author><![CDATA[null@example.com (ariarantes)]]></author>
			<pubDate>Fri, 17 Aug 2012 12:50:15 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17695.html#p17695</guid>
		</item>
		<item>
			<title><![CDATA[Re: local_domains_maps in amavisd-new]]></title>
			<link>http://www.iredmail.org/forum/post17685.html#p17685</link>
			<description><![CDATA[<p>Oops, then it&#039;s my mistake. Sorry about my misunderstood.</p><p>&quot;hit 8.292&quot; means Amavisd invokes SpamAssassin for content-based spam scanning. Just not insert mail headers.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Fri, 17 Aug 2012 10:32:00 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17685.html#p17685</guid>
		</item>
		<item>
			<title><![CDATA[Re: local_domains_maps in amavisd-new]]></title>
			<link>http://www.iredmail.org/forum/post17676.html#p17676</link>
			<description><![CDATA[<p>I&#039;ve tested without the domain in the local_domain_maps and the maillog shows the hit 8.292, but mail filter does not work. The message is not tagged as spam.</p><p>Aug 16 17:53:33 pardal amavis[3676]: (03676-01) Passed SPAM, LOCAL [209.85.214.50] [209.85.214.50] &lt;userx@gmail.com&gt; -&gt; &lt;contato@domain.com.br&gt;, quarantine: pLzeT0M3mIyC, Message-ID: &lt;CAAuE8BS5OsnSxU8OjZLXEC2EY0SOvf_MXxaVrz9R9TXX_JKqfw@mail.gmail.com&gt;, mail_id: pLzeT0M3mIyC, Hits: 8.292, size: 2493, queued_as: 1AD1B8162A, dkim_id=@gmail.com, 577 ms</p><p>With the domain in local_domain_maps, it works ok! The message is moved to Junk folder and the *** SPAM *** is concated in subject.</p><br /><p>Regards,</p><p>Ari</p>]]></description>
			<author><![CDATA[null@example.com (ariarantes)]]></author>
			<pubDate>Thu, 16 Aug 2012 20:58:55 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17676.html#p17676</guid>
		</item>
		<item>
			<title><![CDATA[Re: local_domains_maps in amavisd-new]]></title>
			<link>http://www.iredmail.org/forum/post17669.html#p17669</link>
			<description><![CDATA[<p>Yes. But unfortunately, i forget how to achieve this. sorry. <img src="http://www.iredmail.org/forum/img/smilies/sad.png" width="15" height="15" alt="sad" /><br />It&#039;s mentioned in this forum, you can try searching with Google. Or search Amavisd-new mailing list.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 16 Aug 2012 14:42:22 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17669.html#p17669</guid>
		</item>
		<item>
			<title><![CDATA[Re: local_domains_maps in amavisd-new]]></title>
			<link>http://www.iredmail.org/forum/post17667.html#p17667</link>
			<description><![CDATA[<p>Is it possible to query the local_domain_maps from sql?</p>]]></description>
			<author><![CDATA[null@example.com (ariarantes)]]></author>
			<pubDate>Thu, 16 Aug 2012 14:00:20 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17667.html#p17667</guid>
		</item>
		<item>
			<title><![CDATA[Re: local_domains_maps in amavisd-new]]></title>
			<link>http://www.iredmail.org/forum/post17666.html#p17666</link>
			<description><![CDATA[<p>Yes.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 16 Aug 2012 13:58:42 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17666.html#p17666</guid>
		</item>
		<item>
			<title><![CDATA[Re: local_domains_maps in amavisd-new]]></title>
			<link>http://www.iredmail.org/forum/post17665.html#p17665</link>
			<description><![CDATA[<p>Only the header is not inserted when the domain is not in local_domain_maps?</p>]]></description>
			<author><![CDATA[null@example.com (ariarantes)]]></author>
			<pubDate>Thu, 16 Aug 2012 13:45:09 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17665.html#p17665</guid>
		</item>
		<item>
			<title><![CDATA[Re: local_domains_maps in amavisd-new]]></title>
			<link>http://www.iredmail.org/forum/post17662.html#p17662</link>
			<description><![CDATA[<p>Yes.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 16 Aug 2012 13:40:25 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17662.html#p17662</guid>
		</item>
		<item>
			<title><![CDATA[Re: local_domains_maps in amavisd-new]]></title>
			<link>http://www.iredmail.org/forum/post17660.html#p17660</link>
			<description><![CDATA[<p>Does antispam work without the domain in this variable?</p>]]></description>
			<author><![CDATA[null@example.com (ariarantes)]]></author>
			<pubDate>Thu, 16 Aug 2012 13:33:11 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17660.html#p17660</guid>
		</item>
		<item>
			<title><![CDATA[Re: local_domains_maps in amavisd-new]]></title>
			<link>http://www.iredmail.org/forum/post17652.html#p17652</link>
			<description><![CDATA[<div class="quotebox"><cite>ariarantes wrote:</cite><blockquote><p>The painel is not insert the domain in this variable.</p></blockquote></div><p>Sorry, iRedAdmin-Pro won&#039;t modify files on file system. That&#039;s why new domain name was not inserted.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 16 Aug 2012 12:57:50 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17652.html#p17652</guid>
		</item>
		<item>
			<title><![CDATA[Re: local_domains_maps in amavisd-new]]></title>
			<link>http://www.iredmail.org/forum/post17649.html#p17649</link>
			<description><![CDATA[<p>Without the domain in local_domains_maps, the spamassassin is not working. The painel is not insert the domain in this variable.</p>]]></description>
			<author><![CDATA[null@example.com (ariarantes)]]></author>
			<pubDate>Thu, 16 Aug 2012 11:17:33 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17649.html#p17649</guid>
		</item>
		<item>
			<title><![CDATA[Re: local_domains_maps in amavisd-new]]></title>
			<link>http://www.iredmail.org/forum/post17635.html#p17635</link>
			<description><![CDATA[<div class="quotebox"><cite>ariarantes wrote:</cite><blockquote><p>When adding a new domain is not necessary to add the domain name in local_domains_maps in amavisd-new?</p></blockquote></div><p>It&#039;s better to list all hosted mail domains in local_domains_maps, so that Amavisd will insert mail headers for them if necessary.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 15 Aug 2012 10:09:27 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17635.html#p17635</guid>
		</item>
	</channel>
</rss>
