[Dovecot] v1.1.beta11 quota plugin and dict server
Hello,
when dovecot is started, it prints the following error to the console: ILoading modules from directory: /usr/local/dovecot/lib/dovecot/imap IModule loaded: /usr/local/dovecot/lib/dovecot/imap/lib10_quota_plugin.so IEffective uid=65534, gid=65534, home= Idict quota: user = dump-capability, uri = proxy:/var/run/dovecot/dict-server:quotadict Enet_connect_unix(/var/run/dovecot/dict-server) failed: Connection refused
It seems that problem is that dict server is not started yet. Later everything seems to be OK, so it is more cosmetic issue.
My dovecot -n: # 1.1.beta11: /usr/local/dovecot/etc/dovecot.conf base_dir: /var/run/dovecot/ syslog_facility: local0 protocols: pop3 imap ssl_cert_file: /etc/postfix/mail-cert.pem ssl_key_file: /etc/postfix/mail-key.pem disable_plaintext_auth: no verbose_ssl: yes login_dir: /var/run/dovecot/login login_executable(default): /usr/local/dovecot/libexec/dovecot/imap-login login_executable(imap): /usr/local/dovecot/libexec/dovecot/imap-login login_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3-login login_greeting: Server. login_process_per_connection: no verbose_proctitle: yes mail_uid: 95 mail_gid: 95 mail_location: maildir:~/Maildir mail_debug: yes fsync_disable: yes mail_executable(default): /usr/local/dovecot/libexec/dovecot/imap mail_executable(imap): /usr/local/dovecot/libexec/dovecot/imap mail_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3 mail_plugins: quota mail_plugin_dir(default): /usr/local/dovecot/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/dovecot/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/dovecot/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail imap_client_workarounds(imap): delay-newmail imap_client_workarounds(pop3): pop3_enable_last(default): no pop3_enable_last(imap): no pop3_enable_last(pop3): yes pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: mechanisms: plain login digest-md5 cram-md5 apop user: doveauth verbose: yes passdb: driver: sql args: /usr/local/dovecot/etc/dovecot-sql.conf userdb: driver: prefetch userdb: driver: sql args: /usr/local/dovecot/etc/dovecot-sql.conf socket: type: listen client: path: /var/spool/postfix/private/auth user: postfix group: postfix master: path: /var/run/dovecot/auth-master user: vmail group: vmail plugin: quota: dict:::proxy:/var/run/dovecot/dict-server:quotadict dict: quotadict: mysql:/usr/local/dovecot/etc/dovecot-sql-dict-quota.conf
Regards, Arvids
it seems that it is not only cosmetic issue - IMAP server does not list QUOTA in capabilities and also does not recognize GETQUOTAROOT command, although other quota operations are working(imap process changes quota values in dictionary).
Regards, Arvids
On Friday 14 December 2007 14:57:40 arvids wrote:
Hello,
when dovecot is started, it prints the following error to the console: ILoading modules from directory: /usr/local/dovecot/lib/dovecot/imap IModule loaded: /usr/local/dovecot/lib/dovecot/imap/lib10_quota_plugin.so IEffective uid=65534, gid=65534, home= Idict quota: user = dump-capability, uri = proxy:/var/run/dovecot/dict-server:quotadict Enet_connect_unix(/var/run/dovecot/dict-server) failed: Connection refused
It seems that problem is that dict server is not started yet. Later everything seems to be OK, so it is more cosmetic issue.
My dovecot -n: # 1.1.beta11: /usr/local/dovecot/etc/dovecot.conf base_dir: /var/run/dovecot/ syslog_facility: local0 protocols: pop3 imap ssl_cert_file: /etc/postfix/mail-cert.pem ssl_key_file: /etc/postfix/mail-key.pem disable_plaintext_auth: no verbose_ssl: yes login_dir: /var/run/dovecot/login login_executable(default): /usr/local/dovecot/libexec/dovecot/imap-login login_executable(imap): /usr/local/dovecot/libexec/dovecot/imap-login login_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3-login login_greeting: Server. login_process_per_connection: no verbose_proctitle: yes mail_uid: 95 mail_gid: 95 mail_location: maildir:~/Maildir mail_debug: yes fsync_disable: yes mail_executable(default): /usr/local/dovecot/libexec/dovecot/imap mail_executable(imap): /usr/local/dovecot/libexec/dovecot/imap mail_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3 mail_plugins: quota mail_plugin_dir(default): /usr/local/dovecot/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/dovecot/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/dovecot/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail imap_client_workarounds(imap): delay-newmail imap_client_workarounds(pop3): pop3_enable_last(default): no pop3_enable_last(imap): no pop3_enable_last(pop3): yes pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: mechanisms: plain login digest-md5 cram-md5 apop user: doveauth verbose: yes passdb: driver: sql args: /usr/local/dovecot/etc/dovecot-sql.conf userdb: driver: prefetch userdb: driver: sql args: /usr/local/dovecot/etc/dovecot-sql.conf socket: type: listen client: path: /var/spool/postfix/private/auth user: postfix group: postfix master: path: /var/run/dovecot/auth-master user: vmail group: vmail plugin: quota: dict:::proxy:/var/run/dovecot/dict-server:quotadict dict: quotadict: mysql:/usr/local/dovecot/etc/dovecot-sql-dict-quota.conf
Regards, Arvids
On Friday 14 December 2007 15:38:07 arvids wrote:
it seems that it is not only cosmetic issue - IMAP server does not list QUOTA in capabilities and also does not recognize GETQUOTAROOT command, although other quota operations are working(imap process changes quota values in dictionary).
forget about this, I had not loaded imap_quota plugin, that's why QUOTA was not in capabilities and GETQUOTAROOT command did not work. But the issue with 'Enet_connect_unix(/var/run/dovecot/dict-server) failed: Connection refused' still persists.
Regards, Arvids
On 2007-12-14 14:57:40 +0200, arvids wrote:
when dovecot is started, it prints the following error to the console: ILoading modules from directory: /usr/local/dovecot/lib/dovecot/imap IModule loaded: /usr/local/dovecot/lib/dovecot/imap/lib10_quota_plugin.so IEffective uid=65534, gid=65534, home= Idict quota: user = dump-capability, uri = proxy:/var/run/dovecot/dict-server:quotadict Enet_connect_unix(/var/run/dovecot/dict-server) failed: Connection refused
you have not configured the dict server. just a dict client.
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
On Friday 14 December 2007 16:20:41 Marcus Rueckert wrote:
On 2007-12-14 14:57:40 +0200, arvids wrote:
when dovecot is started, it prints the following error to the console: ILoading modules from directory: /usr/local/dovecot/lib/dovecot/imap IModule loaded: /usr/local/dovecot/lib/dovecot/imap/lib10_quota_plugin.so IEffective uid=65534, gid=65534, home= Idict quota: user = dump-capability, uri = proxy:/var/run/dovecot/dict-server:quotadict Enet_connect_unix(/var/run/dovecot/dict-server) failed: Connection refused
you have not configured the dict server. just a dict client.
darix
I have: dict { quotadict = mysql:/usr/local/dovecot/etc/dovecot-sql-dict-quota.conf }
And dict server works, just when the dovecot starts, dict server is not started yet.
Regards, Arvids
On Fri, 2007-12-14 at 14:57 +0200, arvids wrote:
Enet_connect_unix(/var/run/dovecot/dict-server) failed: Connection refused
participants (3)
-
arvids
-
Marcus Rueckert
-
Timo Sirainen