<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Amavisd stopped]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4005.xml" />
	<updated>2012-10-13T11:56:04Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4005-amavisd-stopped.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Amavisd stopped]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18597.html#p18597" />
			<content type="html"><![CDATA[<p>Good for you :-)</p><p>if you are not dealing with the above error you can ignore these additional instructions</p><p>Thanks!</p>]]></content>
			<author>
				<name><![CDATA[mangaan]]></name>
				<uri>http://www.iredmail.org/forum/user7251.html</uri>
			</author>
			<updated>2012-10-13T11:56:04Z</updated>
			<id>http://www.iredmail.org/forum/post18597.html#p18597</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Amavisd stopped]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18596.html#p18596" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>mangaan wrote:</cite><blockquote><div class="quotebox"><cite>hebrew878 wrote:</cite><blockquote><div class="quotebox"><cite>mangaan wrote:</cite><blockquote><p>You must also re-create some directorys</p><p>mkdir /var/spool/amavisd/tmp<br />mkdir /var/spool/amavisd/db</p><p>chown amavis:amavis /var/spool/amavisd/tmp<br />chown amavis:amavis /var/spool/amavisd/db</p><p>re enable postfix amavis content filter comment out in postfix main.cf &quot;content-filter = amavis:[127.0.0.1]:10024&quot;</p><p>service start amavisd<br />service restart postfix</p><p>check if amavisd is listening:</p><p>netstat -tap |grep amavisd</p><p>check you maillog</p><p>tail -f /var/log/maillog</p><p>For me everything is working again!</p><p>Thanks!</p></blockquote></div><p>thank you very much.</p></blockquote></div><br /><p>Hi,</p><p>Unfortunately after further examine the maillog file there where still errors in my mallog :-((</p><p>postfix/qmgr[1219]: warning: connect to transport private/smtp-amavis: No such file or directory</p><p>postfix/error[1236]: 3C877BACD: to=&lt;root@xxx.domain.xx&gt;, relay=none, delay=77704, delays=77703/1.4/0/0.17, dsn=4.3.0, status=deferred (mail transport unavailable)</p><p>So after some googling I found also a solution for this error</p><p>Check these files and change them if you&#039;re dealing with the above error</p><p>Change this additional lines:</p><p>etc/postfix/main.cf</p><p>content_filter = amavis:[127.0.0.1]:10024</p><p>to this:</p><p>content_filter = smtp-amavis:[127.0.0.1]:10024</p><br /><br /><p>/etc/postfix/master.cf</p><p>-o content_filter=smtp-amavis:[127.0.0.1]:10026</p><p>to this:</p><p>-o content_filter=smtp-amavis:[127.0.0.1]:10024</p><br /><br /><p>/etc/amavisd/amavisd.conf</p><p>$inet_socket_port = [10024, 9998];</p><p>to this:</p><p>$inet_socket_port = [10024];</p><br /><br /><p>So far no more errors in the maillog</p><p>Thanks!</p></blockquote></div><p>there is no such problem with my configuration..and amavisd working again as i followed your instruction</p>]]></content>
			<author>
				<name><![CDATA[hebrew878]]></name>
				<uri>http://www.iredmail.org/forum/user31322.html</uri>
			</author>
			<updated>2012-10-13T11:39:47Z</updated>
			<id>http://www.iredmail.org/forum/post18596.html#p18596</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Amavisd stopped]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18595.html#p18595" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>hebrew878 wrote:</cite><blockquote><div class="quotebox"><cite>mangaan wrote:</cite><blockquote><div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Try:<br /></p><div class="codebox"><pre><code># amavisd genrsa /var/lib/dkim/domain.com.pem</code></pre></div></blockquote></div><p>You must also re-create some directorys</p><p>mkdir /var/spool/amavisd/tmp<br />mkdir /var/spool/amavisd/db</p><p>chown amavis:amavis /var/spool/amavisd/tmp<br />chown amavis:amavis /var/spool/amavisd/db</p><p>re enable postfix amavis content filter comment out in postfix main.cf &quot;content-filter = amavis:[127.0.0.1]:10024&quot;</p><p>service start amavisd<br />service restart postfix</p><p>check if amavisd is listening:</p><p>netstat -tap |grep amavisd</p><p>check you maillog</p><p>tail -f /var/log/maillog</p><p>For me everything is working again!</p><p>Thanks!</p></blockquote></div><p>thank you very much.</p></blockquote></div><br /><p>Hi,</p><p>Unfortunately after further examine the maillog file there where still errors in my mallog :-((</p><p>postfix/qmgr[1219]: warning: connect to transport private/smtp-amavis: No such file or directory</p><p>postfix/error[1236]: 3C877BACD: to=&lt;root@xxx.domain.xx&gt;, relay=none, delay=77704, delays=77703/1.4/0/0.17, dsn=4.3.0, status=deferred (mail transport unavailable)</p><p>So after some googling I found also a solution for this error</p><p>Check these files and change them if you&#039;re dealing with the above error</p><p>Change this additional lines:</p><p>etc/postfix/main.cf</p><p>content_filter = amavis:[127.0.0.1]:10024</p><p>to this:</p><p>content_filter = smtp-amavis:[127.0.0.1]:10024</p><br /><br /><p>/etc/postfix/master.cf</p><p>-o content_filter=smtp-amavis:[127.0.0.1]:10026</p><p>to this:</p><p>-o content_filter=smtp-amavis:[127.0.0.1]:10024</p><br /><br /><p>/etc/amavisd/amavisd.conf</p><p>$inet_socket_port = [10024, 9998];</p><p>to this:</p><p>$inet_socket_port = [10024];</p><br /><br /><p>So far no more errors in the maillog</p><p>Thanks!</p>]]></content>
			<author>
				<name><![CDATA[mangaan]]></name>
				<uri>http://www.iredmail.org/forum/user7251.html</uri>
			</author>
			<updated>2012-10-13T11:31:52Z</updated>
			<id>http://www.iredmail.org/forum/post18595.html#p18595</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Amavisd stopped]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18594.html#p18594" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>mangaan wrote:</cite><blockquote><div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Try:<br /></p><div class="codebox"><pre><code># amavisd genrsa /var/lib/dkim/domain.com.pem</code></pre></div></blockquote></div><p>You must also re-create some directorys</p><p>mkdir /var/spool/amavisd/tmp<br />mkdir /var/spool/amavisd/db</p><p>chown amavis:amavis /var/spool/amavisd/tmp<br />chown amavis:amavis /var/spool/amavisd/db</p><p>re enable postfix amavis content filter comment out in postfix main.cf &quot;content-filter = amavis:[127.0.0.1]:10024&quot;</p><p>service start amavisd<br />service restart postfix</p><p>check if amavisd is listening:</p><p>netstat -tap |grep amavisd</p><p>check you maillog</p><p>tail -f /var/log/maillog</p><p>For me everything is working again!</p><p>Thanks!</p></blockquote></div><p>thank you very much.</p>]]></content>
			<author>
				<name><![CDATA[hebrew878]]></name>
				<uri>http://www.iredmail.org/forum/user31322.html</uri>
			</author>
			<updated>2012-10-13T10:46:50Z</updated>
			<id>http://www.iredmail.org/forum/post18594.html#p18594</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Amavisd stopped]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18592.html#p18592" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Try:<br /></p><div class="codebox"><pre><code># amavisd genrsa /var/lib/dkim/domain.com.pem</code></pre></div></blockquote></div><p>You must also re-create some directorys</p><p>mkdir /var/spool/amavisd/tmp<br />mkdir /var/spool/amavisd/db</p><p>chown amavis:amavis /var/spool/amavisd/tmp<br />chown amavis:amavis /var/spool/amavisd/db</p><p>re enable postfix amavis content filter comment out in postfix main.cf &quot;content-filter = amavis:[127.0.0.1]:10024&quot;</p><p>service start amavisd<br />service restart postfix</p><p>check if amavisd is listening:</p><p>netstat -tap |grep amavisd</p><p>check you maillog</p><p>tail -f /var/log/maillog</p><p>For me everything is working again!</p><p>Thanks!</p>]]></content>
			<author>
				<name><![CDATA[mangaan]]></name>
				<uri>http://www.iredmail.org/forum/user7251.html</uri>
			</author>
			<updated>2012-10-13T10:23:58Z</updated>
			<id>http://www.iredmail.org/forum/post18592.html#p18592</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Amavisd stopped]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18589.html#p18589" />
			<content type="html"><![CDATA[<p>Try:<br /></p><div class="codebox"><pre><code># amavisd genrsa /var/lib/dkim/domain.com.pem</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-10-13T03:25:29Z</updated>
			<id>http://www.iredmail.org/forum/post18589.html#p18589</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Amavisd stopped]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18569.html#p18569" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>hebrew878 wrote:</cite><blockquote><p>how can i make amavisd run again?</p></blockquote></div><p>- Re-generate a DKIM pem file first, then update your DNS record:<br /><a href="http://code.google.com/p/iredmail/wiki/DNS_DKIM">http://code.google.com/p/iredmail/wiki/DNS_DKIM</a></p><p>- Disable amavisd cron job.</p></blockquote></div><p>No DKIM private keys declared in a config file.</p>]]></content>
			<author>
				<name><![CDATA[hebrew878]]></name>
				<uri>http://www.iredmail.org/forum/user31322.html</uri>
			</author>
			<updated>2012-10-12T05:15:08Z</updated>
			<id>http://www.iredmail.org/forum/post18569.html#p18569</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Amavisd stopped]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18562.html#p18562" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>hebrew878 wrote:</cite><blockquote><p>how can i make amavisd run again?</p></blockquote></div><p>- Re-generate a DKIM pem file first, then update your DNS record:<br /><a href="http://code.google.com/p/iredmail/wiki/DNS_DKIM">http://code.google.com/p/iredmail/wiki/DNS_DKIM</a></p><p>- Disable amavisd cron job.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-10-12T01:39:17Z</updated>
			<id>http://www.iredmail.org/forum/post18562.html#p18562</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Amavisd stopped]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18555.html#p18555" />
			<content type="html"><![CDATA[<p>how can i make amavisd run again?</p>]]></content>
			<author>
				<name><![CDATA[hebrew878]]></name>
				<uri>http://www.iredmail.org/forum/user31322.html</uri>
			</author>
			<updated>2012-10-11T14:26:47Z</updated>
			<id>http://www.iredmail.org/forum/post18555.html#p18555</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Amavisd stopped]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18554.html#p18554" />
			<content type="html"><![CDATA[<p>someone answer me plz</p>]]></content>
			<author>
				<name><![CDATA[hebrew878]]></name>
				<uri>http://www.iredmail.org/forum/user31322.html</uri>
			</author>
			<updated>2012-10-11T14:25:26Z</updated>
			<id>http://www.iredmail.org/forum/post18554.html#p18554</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Amavisd stopped]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18553.html#p18553" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>mangaan wrote:</cite><blockquote><p>none existent directory?</p></blockquote></div><p>Not exist? Could you show me output of below commands:<br /></p><div class="codebox"><pre><code># ls /var/
# ls /var/spool/amavisd/</code></pre></div></blockquote></div><p>Sure!</p><p>[root@nxtmail2 var]# ls /var/<br />cache&nbsp; clamav&nbsp; db&nbsp; empty&nbsp; games&nbsp; lib&nbsp; local&nbsp; lock&nbsp; log&nbsp; mail&nbsp; nis&nbsp; opt&nbsp; preserve&nbsp; run&nbsp; spool&nbsp; tmp&nbsp; vmail&nbsp; www&nbsp; yp<br />[root@nxtmail2 var]# ls /var/spool/amavisd<br />[root@nxtmail2 var]#</p>]]></content>
			<author>
				<name><![CDATA[mangaan]]></name>
				<uri>http://www.iredmail.org/forum/user7251.html</uri>
			</author>
			<updated>2012-10-11T14:11:51Z</updated>
			<id>http://www.iredmail.org/forum/post18553.html#p18553</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Amavisd stopped]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18552.html#p18552" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>mangaan wrote:</cite><blockquote><p>none existent directory?</p></blockquote></div><p>Not exist? Could you show me output of below commands:<br /></p><div class="codebox"><pre><code># ls /var/
# ls /var/spool/amavisd/</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-10-11T13:48:54Z</updated>
			<id>http://www.iredmail.org/forum/post18552.html#p18552</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Amavisd stopped]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18546.html#p18546" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>kislik wrote:</cite><blockquote><p>The right line for SL6/CENTOS6/RHEL6 probably is:</p><p>1&nbsp; &nbsp;5&nbsp; &nbsp;*&nbsp; &nbsp;*&nbsp; &nbsp;*&nbsp; &nbsp;find /var/spool/amavisd/quarantine/ -ctime +15 2&gt;/dev/null | xargs rm -rf {}</p></blockquote></div><p>No, not /var/spool/amavisd/quarantine/.<br />Does /var/virusmails/ exist? If yes, please use it instead.</p><p>So sorry about this issue, it&#039;s a bug in iRedMail-0.8.2, i will release a bugfix release soon.</p></blockquote></div><p>Hi ZhangHuangbin,</p><p>none existent directory?? any other quick fix suggestions<br />our mailserver is unprotected now</p><p>Regards,<br />Mangaan</p>]]></content>
			<author>
				<name><![CDATA[mangaan]]></name>
				<uri>http://www.iredmail.org/forum/user7251.html</uri>
			</author>
			<updated>2012-10-11T12:50:05Z</updated>
			<id>http://www.iredmail.org/forum/post18546.html#p18546</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Amavisd stopped]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18542.html#p18542" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>kislik wrote:</cite><blockquote><p>The right line for SL6/CENTOS6/RHEL6 probably is:</p><p>1&nbsp; &nbsp;5&nbsp; &nbsp;*&nbsp; &nbsp;*&nbsp; &nbsp;*&nbsp; &nbsp;find /var/spool/amavisd/quarantine/ -ctime +15 2&gt;/dev/null | xargs rm -rf {}</p></blockquote></div><p>No, not /var/spool/amavisd/quarantine/.<br />Does /var/virusmails/ exist? If yes, please use it instead.</p><p>So sorry about this issue, it&#039;s a bug in iRedMail-0.8.2, i will release a bugfix release soon.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-10-11T12:27:24Z</updated>
			<id>http://www.iredmail.org/forum/post18542.html#p18542</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Amavisd stopped]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18541.html#p18541" />
			<content type="html"><![CDATA[<p>Hi Kislik,</p><p>Did you test it with the new cron line?<br />before I change it on our production server<br />What about the missed key files is there a possibility to generate them again?</p><p>Thanks!<br />Mangaan</p>]]></content>
			<author>
				<name><![CDATA[mangaan]]></name>
				<uri>http://www.iredmail.org/forum/user7251.html</uri>
			</author>
			<updated>2012-10-11T11:13:47Z</updated>
			<id>http://www.iredmail.org/forum/post18541.html#p18541</id>
		</entry>
</feed>
