<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Error: net_connect_unix(/var/run/dovecot/stats-writer) failed]]></title>
		<link>https://forum.iredmail.org/topic15113-error-netconnectunixvarrundovecotstatswriter-failed.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic15113.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Error: net_connect_unix(/var/run/dovecot/stats-writer) failed.]]></description>
		<lastBuildDate>Wed, 02 Jan 2019 13:02:05 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed]]></title>
			<link>https://forum.iredmail.org/post67042.html#p67042</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Try this: Append new settings below in /etc/dovecot/dovecot.conf, then restart dovecot service and try again.<br /></p><div class="codebox"><pre><code>service stats {
    unix_listener stats-reader {
        user = vmail
        group = vmail
        mode = 0660
    }

    unix_listener stats-writer {
        user = vmail
        group = vmail
        mode = 0660
    }
}</code></pre></div></blockquote></div><p>YES! Thank you! <br />That did the trick!</p>]]></description>
			<author><![CDATA[null@example.com (upnavigator)]]></author>
			<pubDate>Wed, 02 Jan 2019 13:02:05 +0000</pubDate>
			<guid>https://forum.iredmail.org/post67042.html#p67042</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed]]></title>
			<link>https://forum.iredmail.org/post67035.html#p67035</link>
			<description><![CDATA[<p>Try this: Append new settings below in /etc/dovecot/dovecot.conf, then restart dovecot service and try again.<br /></p><div class="codebox"><pre><code>service stats {
    unix_listener stats-reader {
        user = vmail
        group = vmail
        mode = 0660
    }

    unix_listener stats-writer {
        user = vmail
        group = vmail
        mode = 0660
    }
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 02 Jan 2019 12:23:24 +0000</pubDate>
			<guid>https://forum.iredmail.org/post67035.html#p67035</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed]]></title>
			<link>https://forum.iredmail.org/post67026.html#p67026</link>
			<description><![CDATA[<p>Hi</p><p>I am gettting same error. </p><p>System: FreeBSD 11.2<br />Dovecot: 2.3.4_3</p><p>Best regards.</p><p>Hasan Alp iNAN</p>]]></description>
			<author><![CDATA[null@example.com (hainan)]]></author>
			<pubDate>Wed, 02 Jan 2019 06:53:41 +0000</pubDate>
			<guid>https://forum.iredmail.org/post67026.html#p67026</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed]]></title>
			<link>https://forum.iredmail.org/post67021.html#p67021</link>
			<description><![CDATA[<p># ls -l /var/run/dovecot/*stat*<br />srw-------&nbsp; 1 root&nbsp; &nbsp;wheel&nbsp; &nbsp; 0 Jan&nbsp; 1 22:00 /var/run/dovecot/old-stats<br />prw-r--r--&nbsp; 1 vmail&nbsp; wheel&nbsp; &nbsp; 0 Jan&nbsp; 1 22:00 /var/run/dovecot/old-stats-mail<br />prw-------&nbsp; 1 root&nbsp; &nbsp;wheel&nbsp; &nbsp; 0 Jan&nbsp; 1 22:00 /var/run/dovecot/old-stats-user<br />srw-------&nbsp; 1 root&nbsp; &nbsp;wheel&nbsp; &nbsp; 0 Jan&nbsp; 1 22:00 /var/run/dovecot/stats-reader<br />srw-rw----&nbsp; 1 root&nbsp; &nbsp;dovecot&nbsp; 0 Jan&nbsp; 1 22:00 /var/run/dovecot/stats-writer</p>]]></description>
			<author><![CDATA[null@example.com (upnavigator)]]></author>
			<pubDate>Wed, 02 Jan 2019 00:32:25 +0000</pubDate>
			<guid>https://forum.iredmail.org/post67021.html#p67021</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed]]></title>
			<link>https://forum.iredmail.org/post67020.html#p67020</link>
			<description><![CDATA[<p>Could you please show me output of command below:<br /></p><div class="codebox"><pre><code>ls -l /var/run/dovecot/*stat*</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 02 Jan 2019 00:10:14 +0000</pubDate>
			<guid>https://forum.iredmail.org/post67020.html#p67020</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed]]></title>
			<link>https://forum.iredmail.org/post67018.html#p67018</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>- Which version of Dovecot are you running?<br />- Please show us output of command &quot;doveconf -n&quot;.</p></blockquote></div><p># 2.3.4 (0ecbaf23d): /usr/local/etc/dovecot/dovecot.conf<br /># Pigeonhole version 0.5.4 (60b0f48d)<br /># OS: FreeBSD 12.0-RELEASE amd64<br /># Hostname: mx.upnavigator.dk<br />auth_master_user_separator = *<br />auth_mechanisms = PLAIN LOGIN<br />deliver_log_format = from=%{from}, envelope_sender=%{from_envelope}, subject=%{subject}, msgid=%m, size=%{size}, %$<br />dict {<br />&nbsp; acl = mysql:/usr/local/etc/dovecot/dovecot-share-folder.conf<br />&nbsp; quotadict = mysql:/usr/local/etc/dovecot/dovecot-used-quota.conf<br />}<br />first_valid_uid = 2000<br />last_valid_uid = 2000<br />listen = * [::]<br />mail_gid = 2000<br />mail_location = maildir:%Lh/Maildir/:INDEX=%Lh/Maildir/<br />mail_plugins = quota mailbox_alias acl mail_log notify old_stats<br />mail_uid = 2000<br />managesieve_notify_capability = mailto<br />managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext<br />namespace {<br />&nbsp; inbox = yes<br />&nbsp; location =<br />&nbsp; mailbox Archive {<br />&nbsp; &nbsp; auto = no<br />&nbsp; &nbsp; special_use = \Archive<br />&nbsp; }<br />&nbsp; mailbox Archives {<br />&nbsp; &nbsp; auto = no<br />&nbsp; &nbsp; special_use = \Archive<br />&nbsp; }<br />&nbsp; mailbox &quot;Deleted Messages&quot; {<br />&nbsp; &nbsp; auto = no<br />&nbsp; &nbsp; special_use = \Trash<br />&nbsp; }<br />&nbsp; mailbox Drafts {<br />&nbsp; &nbsp; auto = subscribe<br />&nbsp; &nbsp; special_use = \Drafts<br />&nbsp; }<br />&nbsp; mailbox Junk {<br />&nbsp; &nbsp; auto = subscribe<br />&nbsp; &nbsp; special_use = \Junk<br />&nbsp; }<br />&nbsp; mailbox &quot;Junk E-mail&quot; {<br />&nbsp; &nbsp; auto = no<br />&nbsp; &nbsp; special_use = \Junk<br />&nbsp; }<br />&nbsp; mailbox Sent {<br />&nbsp; &nbsp; auto = subscribe<br />&nbsp; &nbsp; special_use = \Sent<br />&nbsp; }<br />&nbsp; mailbox &quot;Sent Items&quot; {<br />&nbsp; &nbsp; auto = no<br />&nbsp; &nbsp; special_use = \Sent<br />&nbsp; }<br />&nbsp; mailbox &quot;Sent Messages&quot; {<br />&nbsp; &nbsp; auto = no<br />&nbsp; &nbsp; special_use = \Sent<br />&nbsp; }<br />&nbsp; mailbox Spam {<br />&nbsp; &nbsp; auto = no<br />&nbsp; &nbsp; special_use = \Junk<br />&nbsp; }<br />&nbsp; mailbox Trash {<br />&nbsp; &nbsp; auto = subscribe<br />&nbsp; &nbsp; special_use = \Trash<br />&nbsp; }<br />&nbsp; prefix =<br />&nbsp; separator = /<br />&nbsp; type = private<br />}<br />namespace {<br />&nbsp; list = children<br />&nbsp; location = maildir:%%Lh/Maildir/:INDEX=%%Lh/Maildir/Shared/%%Ld/%%Ln<br />&nbsp; prefix = Shared/%%u/<br />&nbsp; separator = /<br />&nbsp; subscriptions = yes<br />&nbsp; type = shared<br />}<br />passdb {<br />&nbsp; args = /usr/local/etc/dovecot/dovecot-mysql.conf<br />&nbsp; driver = sql<br />}<br />passdb {<br />&nbsp; args = /usr/local/etc/dovecot/dovecot-master-users<br />&nbsp; driver = passwd-file<br />&nbsp; master = yes<br />}<br />plugin {<br />&nbsp; acl = vfile<br />&nbsp; acl_shared_dict = proxy::acl<br />&nbsp; mail_log_events = delete undelete expunge mailbox_delete mailbox_rename<br />&nbsp; mail_log_fields = uid box msgid size from subject<br />&nbsp; mailbox_alias_new = Sent Messages<br />&nbsp; mailbox_alias_new2 = Sent Items<br />&nbsp; mailbox_alias_old = Sent<br />&nbsp; mailbox_alias_old2 = Sent<br />&nbsp; old_stats_refresh = 30 secs<br />&nbsp; old_stats_track_cmds = yes<br />&nbsp; quota = dict:user::proxy::quotadict<br />&nbsp; quota_grace = 10%%<br />&nbsp; quota_warning = storage=100%% quota-warning 100 %u<br />&nbsp; quota_warning2 = storage=95%% quota-warning 95 %u<br />&nbsp; quota_warning3 = storage=90%% quota-warning 90 %u<br />&nbsp; quota_warning4 = storage=85%% quota-warning 85 %u<br />&nbsp; sieve = %Lh/sieve/dovecot.sieve<br />&nbsp; sieve_before = /var/vmail/sieve/dovecot.sieve<br />&nbsp; sieve_dir = %Lh/sieve<br />&nbsp; sieve_global_dir = /var/vmail/sieve<br />&nbsp; sieve_max_redirects = 30<br />}<br />protocols = pop3 imap sieve lmtp<br />service auth {<br />&nbsp; unix_listener /var/spool/postfix/private/dovecot-auth {<br />&nbsp; &nbsp; group = postfix<br />&nbsp; &nbsp; mode = 0666<br />&nbsp; &nbsp; user = postfix<br />&nbsp; }<br />&nbsp; unix_listener auth-master {<br />&nbsp; &nbsp; group = vmail<br />&nbsp; &nbsp; mode = 0666<br />&nbsp; &nbsp; user = vmail<br />&nbsp; }<br />&nbsp; unix_listener auth-userdb {<br />&nbsp; &nbsp; group = vmail<br />&nbsp; &nbsp; mode = 0660<br />&nbsp; &nbsp; user = vmail<br />&nbsp; }<br />}<br />service dict {<br />&nbsp; unix_listener dict {<br />&nbsp; &nbsp; group = vmail<br />&nbsp; &nbsp; mode = 0660<br />&nbsp; &nbsp; user = vmail<br />&nbsp; }<br />}<br />service imap-login {<br />&nbsp; process_limit = 500<br />&nbsp; service_count = 1<br />}<br />service lmtp {<br />&nbsp; executable = lmtp -L<br />&nbsp; inet_listener lmtp {<br />&nbsp; &nbsp; address = 127.0.0.1<br />&nbsp; &nbsp; port = 24<br />&nbsp; }<br />&nbsp; process_min_avail = 5<br />&nbsp; unix_listener /var/spool/postfix/private/dovecot-lmtp {<br />&nbsp; &nbsp; group = postfix<br />&nbsp; &nbsp; mode = 0600<br />&nbsp; &nbsp; user = postfix<br />&nbsp; }<br />&nbsp; user = vmail<br />}<br />service managesieve-login {<br />&nbsp; inet_listener sieve {<br />&nbsp; &nbsp; address = 127.0.0.1<br />&nbsp; &nbsp; port = 4190<br />&nbsp; }<br />}<br />service old-stats {<br />&nbsp; fifo_listener old-stats-mail {<br />&nbsp; &nbsp; mode = 0644<br />&nbsp; &nbsp; user = vmail<br />&nbsp; }<br />&nbsp; inet_listener {<br />&nbsp; &nbsp; address = 127.0.0.1<br />&nbsp; &nbsp; port = 24242<br />&nbsp; }<br />}<br />service pop3-login {<br />&nbsp; service_count = 1<br />}<br />service quota-warning {<br />&nbsp; executable = script /usr/local/bin/dovecot-quota-warning.sh<br />&nbsp; unix_listener quota-warning {<br />&nbsp; &nbsp; group = vmail<br />&nbsp; &nbsp; mode = 0660<br />&nbsp; &nbsp; user = vmail<br />&nbsp; }<br />}<br />ssl = required<br />ssl_ca = &lt;/etc/pki/tls/certs/fullchain.pem<br />ssl_cert = &lt;/etc/pki/tls/certs/cert.pem<br />ssl_cipher_list = ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5<br />ssl_dh = # hidden, use -P to show it<br />ssl_key = # hidden, use -P to show it<br />ssl_prefer_server_ciphers = yes<br />syslog_facility = local5<br />userdb {<br />&nbsp; args = /usr/local/etc/dovecot/dovecot-mysql.conf<br />&nbsp; driver = sql<br />}<br />protocol lda {<br />&nbsp; lda_mailbox_autocreate = yes<br />&nbsp; lda_mailbox_autosubscribe = yes<br />&nbsp; mail_plugins = quota mailbox_alias acl mail_log notify old_stats sieve<br />}<br />protocol lmtp {<br />&nbsp; lmtp_save_to_detail_mailbox = yes<br />&nbsp; mail_plugins = quota sieve<br />&nbsp; recipient_delimiter = +<br />}<br />protocol imap {<br />&nbsp; imap_client_workarounds = tb-extra-mailbox-sep<br />&nbsp; mail_max_userip_connections = 30<br />&nbsp; mail_plugins = quota mailbox_alias acl mail_log notify old_stats imap_quota imap_acl imap_old_stats<br />}<br />protocol pop3 {<br />&nbsp; mail_max_userip_connections = 30<br />&nbsp; mail_plugins = quota mailbox_alias acl mail_log notify old_stats<br />&nbsp; pop3_client_workarounds = outlook-no-nuls oe-ns-eoh<br />&nbsp; pop3_uidl_format = %08Xu%08Xv<br />}</p>]]></description>
			<author><![CDATA[null@example.com (upnavigator)]]></author>
			<pubDate>Wed, 02 Jan 2019 00:05:33 +0000</pubDate>
			<guid>https://forum.iredmail.org/post67018.html#p67018</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed]]></title>
			<link>https://forum.iredmail.org/post67013.html#p67013</link>
			<description><![CDATA[<p>- Which version of Dovecot are you running?<br />- Please show us output of command &quot;doveconf -n&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 01 Jan 2019 23:48:10 +0000</pubDate>
			<guid>https://forum.iredmail.org/post67013.html#p67013</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed]]></title>
			<link>https://forum.iredmail.org/post67001.html#p67001</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Try to restart Dovecot service. it should fix this issue.</p></blockquote></div><p>Didn&#039;t help. Is it an error in dovecot.conf - or where do I look?</p><p>Jan&nbsp; 1 13:24:12 mx postfix/pipe[8962]: BBB4DDEBEA: to=&lt;xxx@xxx.dk&gt;, relay=dovecot, delay=0.76, delays=0.08/0/0/0.68, dsn=2.0.0, status=sent (delivered via dovecot service (lda(xxx@xxx.dk,)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denie))</p>]]></description>
			<author><![CDATA[null@example.com (upnavigator)]]></author>
			<pubDate>Tue, 01 Jan 2019 12:26:51 +0000</pubDate>
			<guid>https://forum.iredmail.org/post67001.html#p67001</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed]]></title>
			<link>https://forum.iredmail.org/post66987.html#p66987</link>
			<description><![CDATA[<p>Try to restart Dovecot service. it should fix this issue.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 01 Jan 2019 03:58:37 +0000</pubDate>
			<guid>https://forum.iredmail.org/post66987.html#p66987</guid>
		</item>
		<item>
			<title><![CDATA[Error: net_connect_unix(/var/run/dovecot/stats-writer) failed]]></title>
			<link>https://forum.iredmail.org/post66955.html#p66955</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 0.9.9<br />- Deployed with iRedMail Easy or the downloadable installer?<br />- Linux/BSD distribution name and version: FreeBSD<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL):&nbsp; MySQL<br />- Web server (Apache or Nginx): Apache<br />- Manage mail accounts with iRedAdmin-Pro? Yes 3.0.0<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>Why do I get this error and how do I fix it?</p><p>Dec 29 18:01:18 mx postfix/pipe[67136]: 03F93D68FB: to=&lt;xx@xxx.dk&gt;, relay=dovecot, delay=0.82, delays=0.11/0.01/0/0.69, dsn=2.0.0, status=sent (delivered via dovecot service (lda(xx@xxx.dk,)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission deni))</p>]]></description>
			<author><![CDATA[null@example.com (upnavigator)]]></author>
			<pubDate>Sat, 29 Dec 2018 17:24:16 +0000</pubDate>
			<guid>https://forum.iredmail.org/post66955.html#p66955</guid>
		</item>
	</channel>
</rss>
