<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Amavisd PASSED but setup at D_DISCARD]]></title>
		<link>https://forum.iredmail.org/topic13147-amavisd-passed-but-setup-at-ddiscard.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic13147.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Amavisd PASSED but setup at D_DISCARD.]]></description>
		<lastBuildDate>Wed, 09 Aug 2017 12:35:54 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Amavisd PASSED but setup at D_DISCARD]]></title>
			<link>https://forum.iredmail.org/post57905.html#p57905</link>
			<description><![CDATA[<p>I have update banned_files_lover to &quot;N&quot;, and banned files are now blocked.</p><p>Thanks,</p><p>Have a nice day</p>]]></description>
			<author><![CDATA[null@example.com (grosbedos)]]></author>
			<pubDate>Wed, 09 Aug 2017 12:35:54 +0000</pubDate>
			<guid>https://forum.iredmail.org/post57905.html#p57905</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amavisd PASSED but setup at D_DISCARD]]></title>
			<link>https://forum.iredmail.org/post57889.html#p57889</link>
			<description><![CDATA[<p>Hi,</p><p>Thanks for your support.<br />I don&#039;t known that mysql have precedence over config files !</p><p>Yes i have some thing that talk about banned files :<br /></p><div class="codebox"><pre><code>MariaDB [amavisd]&gt; select * from policy\G
*************************** 1. row ***************************

          banned_files_lover: Y
          bypass_banned_checks: N
          banned_admin: NULL
          banned_rulenames: NULL

1 row in set (0.00 sec)</code></pre></div><p>So it&#039;s because i&#039;am a banned_files_lover (lol) ?</p><p>Thanks a lot.</p>]]></description>
			<author><![CDATA[null@example.com (grosbedos)]]></author>
			<pubDate>Wed, 09 Aug 2017 11:10:52 +0000</pubDate>
			<guid>https://forum.iredmail.org/post57889.html#p57889</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amavisd PASSED but setup at D_DISCARD]]></title>
			<link>https://forum.iredmail.org/post57865.html#p57865</link>
			<description><![CDATA[<p>We use global spam policy stored in SQL. Please check SQL table &quot;amavisd.policy&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 09 Aug 2017 09:55:52 +0000</pubDate>
			<guid>https://forum.iredmail.org/post57865.html#p57865</guid>
		</item>
		<item>
			<title><![CDATA[Amavisd PASSED but setup at D_DISCARD]]></title>
			<link>https://forum.iredmail.org/post57863.html#p57863</link>
			<description><![CDATA[<p>==== Required information ====<br />- iRedMail version (check /etc/iredmail-release): <br />- Linux/BSD distribution name and version: <br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): <br />- Web server (Apache or Nginx):<br />- Manage mail accounts with iRedAdmin-Pro?<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />======== Required information ====<br />- iRedMail version (check /etc/iredmail-release): 0.9.7 MARIADB edition.<br />- Linux/BSD distribution name and version: CentOS Linux release 7.3.1611 (Core)<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL<br />- Web server (Apache or Nginx): Nginx<br />- Manage mail accounts with iRedAdmin-Pro? No<br />====</p><p>Hi,</p><p>I&#039;m testing iredmail, and it&#039;s look good, but i have a problem with amavisd.</p><p>Content of the /etc/amavisd/amavisd.conf :<br /></p><div class="codebox"><pre><code># Banned
$final_banned_destiny = D_DISCARD;
$banned_files_quarantine_method = &#039;sql:&#039;;
$banned_quarantine_to = &#039;banned-quarantine&#039;;</code></pre></div><p>When i receive a mail with .bat extention, and mime application/x-msdownload, maillog contains :<br /></p><div class="codebox"><pre><code>Aug  9 08:46:53 mail amavis[2435]: (02435-03-4) Passed BANNED (application/x-msdownload,.asc,attached\\) {RelayedTaggedInbound}, [xx.xx.xx.xx]:45823 [xx.xx.xx.xx] &lt;test@test.net&gt; -&gt; &lt;me@mydomain.com&gt;, Queue-ID: A191C40ACA, Message-ID: &lt;dvs,iov,dsio,o1CoCtbTWXtZG!LS2nD0cFg==&gt;, mail_id: Ppj43x4JK2GC, Hits: 1.167, size: 1411, queued_as: 21E843F994, 10914 ms, Tests: [INVALID_MSGID=1.167,MISSING_MIME_HB_SEP=0.001,SPF_HELO_PASS=-0.001,SPF_PASS=-0.001,URIBL_BLOCKED=0.001]</code></pre></div><p>Amavis let pass the email : &quot;Passed BANNED&quot;, even if in the config file we see $final_banned_destiny = D_DISCARD;</p><p>What can i do please ?</p><p>Best regard.</p>]]></description>
			<author><![CDATA[null@example.com (grosbedos)]]></author>
			<pubDate>Wed, 09 Aug 2017 09:01:24 +0000</pubDate>
			<guid>https://forum.iredmail.org/post57863.html#p57863</guid>
		</item>
	</channel>
</rss>
