<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — SQL error message when apply amavisd on 1.4.0]]></title>
		<link>https://forum.iredmail.org/topic1728-sql-error-message-when-apply-amavisd-on-140.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic1728.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in SQL error message when apply amavisd on 1.4.0.]]></description>
		<lastBuildDate>Mon, 07 Mar 2011 01:54:04 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SQL error message when apply amavisd on 1.4.0]]></title>
			<link>https://forum.iredmail.org/post8104.html#p8104</link>
			<description><![CDATA[<p>I found the problem was the old version of amavisd.&nbsp; After I upgraded to the latest ired version, the problem gone.</p>]]></description>
			<author><![CDATA[null@example.com (bongdotcom)]]></author>
			<pubDate>Mon, 07 Mar 2011 01:54:04 +0000</pubDate>
			<guid>https://forum.iredmail.org/post8104.html#p8104</guid>
		</item>
		<item>
			<title><![CDATA[Re: SQL error message when apply amavisd on 1.4.0]]></title>
			<link>https://forum.iredmail.org/post8096.html#p8096</link>
			<description><![CDATA[<p>After compare your SQL structure with iRedMail default one (please do it yourself next time, don&#039;t be a lazy man), i found one difference:</p><div class="quotebox"><cite>bongdotcom wrote:</cite><blockquote><p># YOURS<br />mysql&gt; desc msgrcpt;<br />+---------------+---------------------+------+-----+---------+-------+<br />| Field         | Type                | Null | Key | Default | Extra |<br />+---------------+---------------------+------+-----+---------+-------+<br />| partition_tag | int(11)             | <span style="color:red">NO</span>   |     | 0       |       |</p></blockquote></div><p>This is iRedMail default structure:<br /></p><div class="quotebox"><blockquote><p>mysql&gt; desc msgrcpt;<br />+---------------+---------------------+------+-----+---------+-------+<br />| Field&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Type&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | Null | Key | Default | Extra |<br />+---------------+---------------------+------+-----+---------+-------+<br />| partition_tag | int(11)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| <span style="color:red">YES</span>&nbsp; |&nbsp; &nbsp; &nbsp;| 0&nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;|</p></blockquote></div><p>Could you please change it to &#039;YES&#039; with below SQL command and monitor amavisd log?<br /></p><div class="codebox"><pre><code>$ mysql -uroot -p
mysql&gt; USE amavisd;
mysql&gt; ALTER TABLE msgrcpt MODIFY partition_tag INTEGER NULL DEFAULT 0;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 06 Mar 2011 16:56:17 +0000</pubDate>
			<guid>https://forum.iredmail.org/post8096.html#p8096</guid>
		</item>
		<item>
			<title><![CDATA[Re: SQL error message when apply amavisd on 1.4.0]]></title>
			<link>https://forum.iredmail.org/post8094.html#p8094</link>
			<description><![CDATA[<p>no, i didn&#039;t do anything additional.&nbsp; Just follow the tutorial.</p>]]></description>
			<author><![CDATA[null@example.com (bongdotcom)]]></author>
			<pubDate>Sun, 06 Mar 2011 16:16:23 +0000</pubDate>
			<guid>https://forum.iredmail.org/post8094.html#p8094</guid>
		</item>
		<item>
			<title><![CDATA[Re: SQL error message when apply amavisd on 1.4.0]]></title>
			<link>https://forum.iredmail.org/post8093.html#p8093</link>
			<description><![CDATA[<p>Did you change or add other settings in Amavisd?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 06 Mar 2011 15:59:36 +0000</pubDate>
			<guid>https://forum.iredmail.org/post8093.html#p8093</guid>
		</item>
		<item>
			<title><![CDATA[Re: SQL error message when apply amavisd on 1.4.0]]></title>
			<link>https://forum.iredmail.org/post8087.html#p8087</link>
			<description><![CDATA[<p>I used the same script to import to the MYSQL.&nbsp; Below is the desc of my amavisd db.</p><p>mysql&gt; show tables;<br />+-------------------+<br />| Tables_in_amavisd |<br />+-------------------+<br />| maddr&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| <br />| mailaddr&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| msgrcpt&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| <br />| msgs&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| policy&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| quarantine&nbsp; &nbsp; &nbsp; &nbsp; | <br />| users&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| <br />| wblist&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />+-------------------+</p><br /><p>mysql&gt; desc maddr;<br />+---------------+---------------------+------+-----+---------+----------------+<br />| Field&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Type&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | Null | Key | Default | Extra&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br />+---------------+---------------------+------+-----+---------+----------------+<br />| partition_tag | int(11)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| YES&nbsp; | MUL | 0&nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| id&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | bigint(20) unsigned | NO&nbsp; &nbsp;| PRI | NULL&nbsp; &nbsp; | auto_increment | <br />| email&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| varbinary(255)&nbsp; &nbsp; &nbsp; | NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| domain&nbsp; &nbsp; &nbsp; &nbsp; | varchar(255)&nbsp; &nbsp; &nbsp; &nbsp; | NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />+---------------+---------------------+------+-----+---------+----------------+<br />4 rows in set (0.00 sec)</p><br /><p>mysql&gt; desc mailaddr;<br />+----------+------------------+------+-----+---------+----------------+<br />| Field&nbsp; &nbsp; | Type&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Null | Key | Default | Extra&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br />+----------+------------------+------+-----+---------+----------------+<br />| id&nbsp; &nbsp; &nbsp; &nbsp;| int(10) unsigned | NO&nbsp; &nbsp;| PRI | NULL&nbsp; &nbsp; | auto_increment | <br />| priority | int(11)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;| 7&nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| email&nbsp; &nbsp; | varbinary(255)&nbsp; &nbsp;| NO&nbsp; &nbsp;| UNI | NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />+----------+------------------+------+-----+---------+----------------+</p><p>mysql&gt; desc msgrcpt<br />&nbsp; &nbsp; -&gt; ;<br />+---------------+---------------------+------+-----+---------+-------+<br />| Field&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Type&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | Null | Key | Default | Extra |<br />+---------------+---------------------+------+-----+---------+-------+<br />| partition_tag | int(11)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;| 0&nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />| mail_id&nbsp; &nbsp; &nbsp; &nbsp;| varbinary(16)&nbsp; &nbsp; &nbsp; &nbsp;| NO&nbsp; &nbsp;| MUL | NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| rseqnum&nbsp; &nbsp; &nbsp; &nbsp;| int(11)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;| 0&nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />| rid&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| bigint(20) unsigned | NO&nbsp; &nbsp;| MUL | NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| is_local&nbsp; &nbsp; &nbsp; | char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />| content&nbsp; &nbsp; &nbsp; &nbsp;| char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />| ds&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| rs&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| bl&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| YES&nbsp; |&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />| wl&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| YES&nbsp; |&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />| bspam_level&nbsp; &nbsp;| float&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| smtp_resp&nbsp; &nbsp; &nbsp;| varchar(255)&nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />+---------------+---------------------+------+-----+---------+-------+<br />12 rows in set (0.00 sec)</p><p>mysql&gt; desc msgs;<br />+---------------+---------------------+------+-----+---------+-------+<br />| Field&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Type&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | Null | Key | Default | Extra |<br />+---------------+---------------------+------+-----+---------+-------+<br />| partition_tag | int(11)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| NO&nbsp; &nbsp;| PRI | 0&nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />| mail_id&nbsp; &nbsp; &nbsp; &nbsp;| varbinary(16)&nbsp; &nbsp; &nbsp; &nbsp;| NO&nbsp; &nbsp;| PRI | NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| secret_id&nbsp; &nbsp; &nbsp;| varbinary(16)&nbsp; &nbsp; &nbsp; &nbsp;| YES&nbsp; |&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />| am_id&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| varchar(20)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| time_num&nbsp; &nbsp; &nbsp; | int(10) unsigned&nbsp; &nbsp; | NO&nbsp; &nbsp;| MUL | NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| time_iso&nbsp; &nbsp; &nbsp; | char(16)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| sid&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| bigint(20) unsigned | NO&nbsp; &nbsp;| MUL | NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| policy&nbsp; &nbsp; &nbsp; &nbsp; | varchar(255)&nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />| client_addr&nbsp; &nbsp;| varchar(255)&nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />| size&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | int(10) unsigned&nbsp; &nbsp; | NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| originating&nbsp; &nbsp;| char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />| content&nbsp; &nbsp; &nbsp; &nbsp;| char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| quar_type&nbsp; &nbsp; &nbsp;| char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| quar_loc&nbsp; &nbsp; &nbsp; | varbinary(255)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />| dsn_sent&nbsp; &nbsp; &nbsp; | char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| spam_level&nbsp; &nbsp; | float&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| message_id&nbsp; &nbsp; | varchar(255)&nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; | MUL |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />| from_addr&nbsp; &nbsp; &nbsp;| varchar(255)&nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />| subject&nbsp; &nbsp; &nbsp; &nbsp;| varchar(255)&nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| <br />| host&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | varchar(255)&nbsp; &nbsp; &nbsp; &nbsp; | NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />+---------------+---------------------+------+-----+---------+-------+<br />20 rows in set (0.00 sec)</p><br /><p>mysql&gt; desc policy;<br />+------------------------------+------------------+------+-----+---------+----------------+<br />| Field&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | Type&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Null | Key | Default | Extra&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br />+------------------------------+------------------+------+-----+---------+----------------+<br />| id&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| int(10) unsigned | NO&nbsp; &nbsp;| PRI | NULL&nbsp; &nbsp; | auto_increment | <br />| policy_name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | varchar(32)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| virus_lover&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| spam_lover&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| banned_files_lover&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| bad_header_lover&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| bypass_virus_checks&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| bypass_spam_checks&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| bypass_banned_checks&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| bypass_header_checks&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| spam_modifies_subj&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| virus_quarantine_to&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| spam_quarantine_to&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| banned_quarantine_to&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| bad_header_quarantine_to&nbsp; &nbsp; &nbsp;| varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| clean_quarantine_to&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| other_quarantine_to&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| spam_tag_level&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| float&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| spam_tag2_level&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | float&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| spam_kill_level&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | float&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| spam_dsn_cutoff_level&nbsp; &nbsp; &nbsp; &nbsp; | float&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| spam_quarantine_cutoff_level | float&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| addr_extension_virus&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| addr_extension_spam&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| addr_extension_banned&nbsp; &nbsp; &nbsp; &nbsp; | varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| addr_extension_bad_header&nbsp; &nbsp; | varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| warnvirusrecip&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| warnbannedrecip&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| warnbadhrecip&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | char(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| newvirus_admin&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| virus_admin&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| banned_admin&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| bad_header_admin&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| spam_admin&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| spam_subject_tag&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| spam_subject_tag2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| message_size_limit&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| int(11)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| banned_rulenames&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| varchar(64)&nbsp; &nbsp; &nbsp; | YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />+------------------------------+------------------+------+-----+---------+----------------+<br />38 rows in set (0.00 sec)</p><p>mysql&gt; desc quarantine;+---------------+------------------+------+-----+---------+-------+| Field&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Type&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Null | Key | Default | Extra |+---------------+------------------+------+-----+---------+-------+| partition_tag | int(11)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | NO&nbsp; &nbsp;| PRI | 0&nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp;| | mail_id&nbsp; &nbsp; &nbsp; &nbsp;| varbinary(16)&nbsp; &nbsp; | NO&nbsp; &nbsp;| PRI | NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| chunk_ind&nbsp; &nbsp; &nbsp;| int(10) unsigned | NO&nbsp; &nbsp;| PRI | NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| mail_text&nbsp; &nbsp; &nbsp;| blob&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />+---------------+------------------+------+-----+---------+-------+<br />4 rows in set (0.00 sec)</p><p>mysql&gt; desc users;<br />+-----------+------------------+------+-----+---------+----------------+<br />| Field&nbsp; &nbsp; &nbsp;| Type&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Null | Key | Default | Extra&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br />+-----------+------------------+------+-----+---------+----------------+<br />| id&nbsp; &nbsp; &nbsp; &nbsp; | int(10) unsigned | NO&nbsp; &nbsp;| PRI | NULL&nbsp; &nbsp; | auto_increment | <br />| priority&nbsp; | int(11)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;| 7&nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| policy_id | int(10) unsigned | NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;| 1&nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| email&nbsp; &nbsp; &nbsp;| varbinary(255)&nbsp; &nbsp;| NO&nbsp; &nbsp;| UNI | NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />| fullname&nbsp; | varchar(255)&nbsp; &nbsp; &nbsp;| YES&nbsp; |&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | <br />+-----------+------------------+------+-----+---------+----------------+<br />5 rows in set (0.00 sec)</p><br /><p>mysql&gt; desc wblist;<br />+-------+------------------+------+-----+---------+-------+<br />| Field | Type&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Null | Key | Default | Extra |<br />+-------+------------------+------+-----+---------+-------+<br />| rid&nbsp; &nbsp;| int(10) unsigned | NO&nbsp; &nbsp;| PRI | NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| sid&nbsp; &nbsp;| int(10) unsigned | NO&nbsp; &nbsp;| PRI | NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />| wb&nbsp; &nbsp; | varchar(10)&nbsp; &nbsp; &nbsp; | NO&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;| NULL&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;| <br />+-------+------------------+------+-----+---------+-------+<br />3 rows in set (0.00 sec)</p>]]></description>
			<author><![CDATA[null@example.com (bongdotcom)]]></author>
			<pubDate>Sun, 06 Mar 2011 14:40:44 +0000</pubDate>
			<guid>https://forum.iredmail.org/post8087.html#p8087</guid>
		</item>
		<item>
			<title><![CDATA[Re: SQL error message when apply amavisd on 1.4.0]]></title>
			<link>https://forum.iredmail.org/post8085.html#p8085</link>
			<description><![CDATA[<p>Could you please check SQL structure against this file?<br /><a href="http://iredmail.googlecode.com/hg/iRedMail/samples/amavisd.mysql">http://iredmail.googlecode.com/hg/iRedM … visd.mysql</a></p><p>I didn&#039;t receive same issue report before, so i&#039;m confused why it happened and what you did with this Amavisd + MySQL integration.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 06 Mar 2011 14:10:09 +0000</pubDate>
			<guid>https://forum.iredmail.org/post8085.html#p8085</guid>
		</item>
		<item>
			<title><![CDATA[Re: SQL error message when apply amavisd on 1.4.0]]></title>
			<link>https://forum.iredmail.org/post8083.html#p8083</link>
			<description><![CDATA[<p>More reference</p><p>Mar&nbsp; 6 13:59:24 264644-web2 amavis[4552]: (04552-22) (!!)TROUBLE in check_mail: penpals_check FAILED: sql exec: err=1052, 23000, DBD::mysql::st execute failed: Column &#039;content&#039; in where clause is ambiguous at (eval 99) line 166.</p>]]></description>
			<author><![CDATA[null@example.com (bongdotcom)]]></author>
			<pubDate>Sun, 06 Mar 2011 14:01:38 +0000</pubDate>
			<guid>https://forum.iredmail.org/post8083.html#p8083</guid>
		</item>
		<item>
			<title><![CDATA[Re: SQL error message when apply amavisd on 1.4.0]]></title>
			<link>https://forum.iredmail.org/post8082.html#p8082</link>
			<description><![CDATA[<p>Thanks.&nbsp; It fixed the duplicated problem but it got another failed message.</p><p>Mar&nbsp; 6 13:58:03 264644-web2 postfix/smtp[30170]: 98E73693C732: to=&lt;EMAIL ADDRESS&gt;, relay=127.0.0.1[127.0.0.1]:10024, delay=3.8, delays=2.2/0/0/1.5, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=04556-19, penpals_check FAILED: sql exec: err=1052, 23000, DBD::mysql::st execute failed: Column &#039;content&#039; in where clause is ambiguous at (eval 99) line 166. (in reply to end of DATA command))</p>]]></description>
			<author><![CDATA[null@example.com (bongdotcom)]]></author>
			<pubDate>Sun, 06 Mar 2011 13:59:40 +0000</pubDate>
			<guid>https://forum.iredmail.org/post8082.html#p8082</guid>
		</item>
		<item>
			<title><![CDATA[Re: SQL error message when apply amavisd on 1.4.0]]></title>
			<link>https://forum.iredmail.org/post8079.html#p8079</link>
			<description><![CDATA[<p>Fixed on Feb 18:<br /><a href="http://www.iredmail.org/forum/topic1677-solve-amavisd-duplicate-entry-issue.html">http://www.iredmail.org/forum/topic1677 … issue.html</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 06 Mar 2011 10:33:49 +0000</pubDate>
			<guid>https://forum.iredmail.org/post8079.html#p8079</guid>
		</item>
		<item>
			<title><![CDATA[SQL error message when apply amavisd on 1.4.0]]></title>
			<link>https://forum.iredmail.org/post8078.html#p8078</link>
			<description><![CDATA[<p>Hi, </p><p>I found the error message when i apply amavisd new setting.&nbsp; Please help.&nbsp; Thanks.</p><p>Mar&nbsp; 6 09:00:45 264644-web2 amavis[15820]: (15820-01) (!)WARN save_info_final: sql exec: err=1062, 23000, DBD::mysql::st execute failed: Duplicate entry &#039;0-VB8vDrcEpIZk-0&#039; for key 1 at (eval 99) line 166, &lt;GEN41&gt; line 206.<br />Mar&nbsp; 6 09:00:45 264644-web2 amavis[15820]: (15820-01) (!!)ERROR sql_storage: too many retries on storing final, info not saved</p>]]></description>
			<author><![CDATA[null@example.com (bongdotcom)]]></author>
			<pubDate>Sun, 06 Mar 2011 09:12:59 +0000</pubDate>
			<guid>https://forum.iredmail.org/post8078.html#p8078</guid>
		</item>
	</channel>
</rss>
