<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — dovecot: temporary failure]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4020.xml" />
	<updated>2012-10-24T19:24:24Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4020-dovecot-temporary-failure.html</id>
		<entry>
			<title type="html"><![CDATA[Re: dovecot: temporary failure]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18830.html#p18830" />
			<content type="html"><![CDATA[<p>tkank&#039;s i will try </p><br /><p> </p><div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Below is what it complains:<br /></p><div class="quotebox"><blockquote><p>Oct 14 11:03:04 deliver(xxx@domaine.com): Error: stat(<span style="color: red">//var/vmail/vmail1/domaine.com/xxx/Maildir/.dovecot.sieve</span>/tmp) failed: Not a directory</p></blockquote></div><p>So i suggest commenting out the second one for testing first:<br /></p><div class="codebox"><pre><code>  sieve: /var/vmail/sieve/%Ld/%Ln/dovecot.sieve</code></pre></div><p>Restart Dovecot to see whether it works as expected.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[mekerri]]></name>
				<uri>http://www.iredmail.org/forum/user31155.html</uri>
			</author>
			<updated>2012-10-24T19:24:24Z</updated>
			<id>http://www.iredmail.org/forum/post18830.html#p18830</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dovecot: temporary failure]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18760.html#p18760" />
			<content type="html"><![CDATA[<p>Below is what it complains:<br /></p><div class="quotebox"><blockquote><p>Oct 14 11:03:04 deliver(xxx@domaine.com): Error: stat(<span style="color: red">//var/vmail/vmail1/domaine.com/xxx/Maildir/.dovecot.sieve</span>/tmp) failed: Not a directory</p></blockquote></div><p>So i suggest commenting out the second one for testing first:<br /></p><div class="codebox"><pre><code>  sieve: /var/vmail/sieve/%Ld/%Ln/dovecot.sieve</code></pre></div><p>Restart Dovecot to see whether it works as expected.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-10-22T00:36:35Z</updated>
			<id>http://www.iredmail.org/forum/post18760.html#p18760</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dovecot: temporary failure]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18750.html#p18750" />
			<content type="html"><![CDATA[<p>Hi Zhang,</p><p>Thank&#039;s for replay.<br />Which line should I comment?&nbsp; the first one or the second one?<br /> sieve: /%Lh/sieve/dovecot.sieve<br />&nbsp; sieve: /var/vmail/sieve/%Ld/%Ln/dovecot.sieve</p><p>This this the dovecot-mysql.conf:</p><p>driver = mysql<br />default_pass_scheme = CRYPT<br />connect = host=127.0.0.1 dbname=vmail user=vmail password=xxxxxxx<br />password_query = SELECT password FROM mailbox WHERE username=&#039;%u&#039; AND active=&#039;1&#039;<br />user_query = SELECT CONCAT(mailbox.storagebasedirectory, &#039;/&#039;, mailbox.storagenode, &#039;/&#039;, mailbox.maildir) AS home, CONCAT(&#039;*:bytes=&#039;, mailbox.quota*1048576) AS quota_rule FROM&nbsp; &nbsp; &nbsp;mailbox,domain WHERE mailbox.username=&#039;%u&#039; AND mailbox.domain=&#039;%d&#039; AND mailbox.enable%Ls%Lc=1 AND mailbox.domain=domain.domain AND domain.backupmx=0 AND domain.active=1 AND&nbsp; &nbsp; &nbsp;mailbox.active=1</p><p>Thank&#039;s again for help</p>]]></content>
			<author>
				<name><![CDATA[mekerri]]></name>
				<uri>http://www.iredmail.org/forum/user31155.html</uri>
			</author>
			<updated>2012-10-21T10:20:04Z</updated>
			<id>http://www.iredmail.org/forum/post18750.html#p18750</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dovecot: temporary failure]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18714.html#p18714" />
			<content type="html"><![CDATA[<p>Looks like you have duplicate sieve settings in dovecot.conf:<br /></p><div class="codebox"><pre><code>  sieve: /%Lh/sieve/dovecot.sieve
  sieve: /var/vmail/sieve/%Ld/%Ln/dovecot.sieve</code></pre></div><p>Also, could you please paste /etc/dovecot/dovecot-mysql.conf here to help troubleshoot? Remove password before posting.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-10-20T13:05:08Z</updated>
			<id>http://www.iredmail.org/forum/post18714.html#p18714</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dovecot: temporary failure]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18677.html#p18677" />
			<content type="html"><![CDATA[<p>Hi;<br />This is my dovecot -n&nbsp; ( i have not modifiy any files after installation with iredmail..), hope have a solution</p><br /><p>log_path: /var/log/dovecot.log<br />protocols: pop3 pop3s imap imaps managesieve<br />listen(default): *<br />listen(imap): *<br />listen(pop3): *<br />listen(managesieve): 127.0.0.1:4190<br />ssl_ca_file: /etc/ssl/certs/iRedMail_CA.pem<br />ssl_cert_file: /etc/ssl/certs/iRedMail_CA.pem<br />ssl_key_file: /etc/ssl/private/iRedMail.key<br />disable_plaintext_auth: no<br />login_dir: /var/run/dovecot/login<br />login_executable(default): /usr/lib/dovecot/imap-login<br />login_executable(imap): /usr/lib/dovecot/imap-login<br />login_executable(pop3): /usr/lib/dovecot/pop3-login<br />login_executable(managesieve): /usr/lib/dovecot/managesieve-login<br />first_valid_uid: 1001<br />last_valid_uid: 1001<br />mail_uid: 1001<br />mail_gid: 1001<br />mail_location: maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/<br />mbox_write_locks: fcntl dotlock<br />mail_executable(default): /usr/lib/dovecot/imap<br />mail_executable(imap): /usr/lib/dovecot/imap<br />mail_executable(pop3): /usr/lib/dovecot/pop3<br />mail_executable(managesieve): /usr/lib/dovecot/managesieve<br />mail_process_size: 1024<br />mail_plugins(default): quota imap_quota autocreate<br />mail_plugins(imap): quota imap_quota autocreate<br />mail_plugins(pop3): quota<br />mail_plugins(managesieve): <br />mail_plugin_dir(default): /usr/lib/dovecot/modules/imap<br />mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap<br />mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3<br />mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve<br />imap_client_workarounds(default): tb-extra-mailbox-sep<br />imap_client_workarounds(imap): tb-extra-mailbox-sep<br />imap_client_workarounds(pop3): <br />imap_client_workarounds(managesieve): <br />pop3_client_workarounds(default): <br />pop3_client_workarounds(imap): <br />pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh<br />pop3_client_workarounds(managesieve): <br />namespace:<br />&nbsp; type: private<br />&nbsp; separator: /<br />&nbsp; inbox: yes<br />&nbsp; list: yes<br />&nbsp; subscriptions: yes<br />namespace:<br />&nbsp; type: shared<br />&nbsp; separator: /<br />&nbsp; prefix: Shared/%%u/<br />&nbsp; location: maildir:/%%Lh/Maildir/:INDEX=/%%Lh/Maildir/Shared/%%u<br />&nbsp; list: children<br />&nbsp; subscriptions: yes<br />lda:<br />&nbsp; postmaster_address: admin@domaine.com<br />&nbsp; auth_socket_path: /var/run/dovecot/auth-master<br />&nbsp; mail_plugins: quota sieve autocreate<br />&nbsp; sieve_global_path: /var/vmail/sieve/dovecot.sieve<br />&nbsp; log_path: /var/log/sieve.log<br />auth default:<br />&nbsp; mechanisms: plain login<br />&nbsp; default_realm: domaine.com<br />&nbsp; user: vmail<br />&nbsp; passdb:<br />&nbsp; &nbsp; driver: sql<br />&nbsp; &nbsp; args: /etc/dovecot/dovecot-mysql.conf<br />&nbsp; userdb:<br />&nbsp; &nbsp; driver: sql<br />&nbsp; &nbsp; args: /etc/dovecot/dovecot-mysql.conf<br />&nbsp; socket:<br />&nbsp; &nbsp; type: listen<br />&nbsp; &nbsp; client:<br />&nbsp; &nbsp; &nbsp; path: /var/spool/postfix/dovecot-auth<br />&nbsp; &nbsp; &nbsp; mode: 438<br />&nbsp; &nbsp; &nbsp; user: postfix<br />&nbsp; &nbsp; &nbsp; group: postfix<br />&nbsp; &nbsp; master:<br />&nbsp; &nbsp; &nbsp; path: /var/run/dovecot/auth-master<br />&nbsp; &nbsp; &nbsp; mode: 438<br />&nbsp; &nbsp; &nbsp; user: vmail<br />&nbsp; &nbsp; &nbsp; group: vmail<br />plugin:<br />&nbsp; quota_warning: storage=85%% /usr/local/bin/dovecot-quota-warning.sh 85<br />&nbsp; quota_warning2: storage=90%% /usr/local/bin/dovecot-quota-warning.sh 90<br />&nbsp; quota_warning3: storage=95%% /usr/local/bin/dovecot-quota-warning.sh 95<br />&nbsp; quota: dict:user::proxy::quotadict<br />&nbsp; quota_rule: *:storage=0<br />&nbsp; sieve_before: /var/vmail/vmail1/globalsieve.sieve<br />&nbsp; expire: Trash 7 Trash/* 7 Junk 30<br />&nbsp; expire_dict: proxy::expire<br />&nbsp; auth_socket_path: /var/run/dovecot/auth-master<br />&nbsp; sieve: /%Lh/sieve/dovecot.sieve<br />&nbsp; autocreate: INBOX<br />&nbsp; autocreate2: Sent<br />&nbsp; autocreate3: Trash<br />&nbsp; autocreate4: Drafts<br />&nbsp; autocreate5: Junk<br />&nbsp; autosubscribe: INBOX<br />&nbsp; autosubscribe2: Sent<br />&nbsp; autosubscribe3: Trash<br />&nbsp; autosubscribe4: Drafts<br />&nbsp; autosubscribe5: Junk<br />&nbsp; acl: vfile<br />&nbsp; acl_shared_dict: proxy::acl<br />&nbsp; sieve: /var/vmail/sieve/%Ld/%Ln/dovecot.sieve<br />&nbsp; sieve_dir: /var/vmail/sieve/%Ld/%Ln<br />dict:<br />&nbsp; expire: db:/var/lib/dovecot/expire/expire.db<br />&nbsp; quotadict: mysql:/etc/dovecot/dovecot-used-quota.conf<br />&nbsp; acl: mysql:/etc/dovecot/dovecot-share-folder.conf</p><br /><p>Thank&#039;s again for help</p>]]></content>
			<author>
				<name><![CDATA[mekerri]]></name>
				<uri>http://www.iredmail.org/forum/user31155.html</uri>
			</author>
			<updated>2012-10-17T11:48:04Z</updated>
			<id>http://www.iredmail.org/forum/post18677.html#p18677</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dovecot: temporary failure]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18658.html#p18658" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>mekerri wrote:</cite><blockquote><p>Oct 14 11:03:04 deliver(xxx@domaine.com): Error: stat(//var/vmail/vmail1/domaine.com/xxx/Maildir/.dovecot.sieve/tmp) failed: Not a directory</p></blockquote></div><p>dovecot.sieve should be a regular file, not a directory. There may be something wrong in your Dovecot config file. Could you please paste me output of command &quot;dovecot -n&quot; to help troubleshoot?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-10-16T14:43:30Z</updated>
			<id>http://www.iredmail.org/forum/post18658.html#p18658</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dovecot: temporary failure]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18633.html#p18633" />
			<content type="html"><![CDATA[<p>Hi;<br />This this the mail.log&nbsp; :</p><p>admin@domaine.com [x.x.x.x]; Message for xxx@domaine.com; 250: 2.0.0 Ok: queued as D927D2D20392<br />Oct 14 11:03:04 server amavis[21838]: (21838-11) Passed CLEAN, MYNETS/MYUSERS LOCAL [127.0.0.1] [127.0.0.1] &lt;admin@domain.com&gt; -&gt; &lt;xxx@domaine.com&gt;, Message-ID: &lt;e4d561d13a0d8f96d881dcde591a3aa8@usthb.dz&gt;, mail_id: yBs7fA-wAvDt, Hits: -11.899, size: 957, queued_as: 316C82D20398, 286 ms<br />Oct 14 11:03:04 machine1 postfix/smtp[24478]: D927D2D20392: to=&lt;xxx@domaine.com&gt;, relay=127.0.0.1[127.0.0.1]:10024, delay=0.36, delays=0.05/0/0/0.3, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=21838-11, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 316C82D20398)<br />Oct 14 11:03:04 machine1 postfix/pipe[24487]: 316C82D20398: to=&lt;xxx@domaine.com&gt;, relay=dovecot, delay=0.06, delays=0.01/0/0/0.05, dsn=4.3.0, status=deferred (temporary failure)</p><p>The sieve.log :</p><p>Oct 14 11:03:04 deliver(xxx@domaine.com): Error: stat(//var/vmail/vmail1/domaine.com/xxx/Maildir/.dovecot.sieve/tmp) failed: Not a directory<br />Oct 14 11:03:04 deliver(xxx@domaine.com): Error: Internal quota calculation error<br />Oct 14 11:03:04 deliver(xxx@domaine.com): Error: sieve: msgid=&lt;e4d561d13a0d8f96d881dcde591a3aa8@domaine.com&gt;: failed to store into mailbox &#039;INBOX&#039;: Internal error occurred. Refer to server log for more information. [2012-10-14 11:03:04]<br />Oct 14 11:03:04 deliver(xxx@domaine.com): Error: sieve: script /var/vmail/sieve/domaine/xxx/dovecot.sieve failed with unsuccessful implicit keep<br />Oct 14 11:09:54 deliver(xxx@domaine.com): Error: stat(//var/vmail/vmail1/domaine/xxx/Maildir/.dovecot.sieve/tmp) failed: Not a directory<br />Oct 14 11:09:54 deliver(xxx@domaine.com): Error: Internal quota calculation error<br />Oct 14 11:09:54 deliver(xxx@domaine.com): Error: sieve: msgid=&lt;e4d561d13a0d8f96d881dcde591a3aa8@domaine.com&gt;: failed to store into mailbox &#039;INBOX&#039;: Internal error occurred. Refer to server log for more information. [2012-10-14 11:09:54]</p><p>And i have only this error with a few users.<br />NB: First this user have quota=1024 MO&nbsp; and than i have increase it to 2048 MO<br />Thank&#039;s for the help</p>]]></content>
			<author>
				<name><![CDATA[mekerri]]></name>
				<uri>http://www.iredmail.org/forum/user31155.html</uri>
			</author>
			<updated>2012-10-15T10:55:40Z</updated>
			<id>http://www.iredmail.org/forum/post18633.html#p18633</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dovecot: temporary failure]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18611.html#p18611" />
			<content type="html"><![CDATA[<p>1: Please post related log in mail.log, starts with SMTP session beginning, ends with SMTP session closed.<br />2: Any related log in Dovecot log files (/var/log/dovecot.log, /var/log/sieve.log)?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-10-14T14:09:18Z</updated>
			<id>http://www.iredmail.org/forum/post18611.html#p18611</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[dovecot: temporary failure]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18604.html#p18604" />
			<content type="html"><![CDATA[<p>Hi all,<br />First sorry for my english.</p><p>Since a few days I get the following error &quot;status = deferred (temporary failure)&quot; in mail.log and this by sending messages to some users only.<br />Thank&#039;s for help.</p><br /><br /><p>==== Required information ====<br />- iRedMail version: <br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): <br />- Linux/BSD distribution name and version: <br />- Related log if you&#039;re reporting an issue: <br />====</p>]]></content>
			<author>
				<name><![CDATA[mekerri]]></name>
				<uri>http://www.iredmail.org/forum/user31155.html</uri>
			</author>
			<updated>2012-10-14T10:45:36Z</updated>
			<id>http://www.iredmail.org/forum/post18604.html#p18604</id>
		</entry>
</feed>
