[Dovecot] Can't connect to auth server at /var/run/dovecot/auth-master: No such file or directory
Hello all.
Just one quick stupid question. ;-( Im try to configure Exim + Dovecot 1.1.1 on FreeBSD 7.0
Then im try to send mail in logs im see this: deliver(admin@domain.off): Jul 02 13:52:22 Error: Can't connect to auth server at /var/run/dovecot/auth-master: No such file or directory
%ls -al /var/run/dovecot/* srw-rw---- 1 exim wheel /var/run/dovecot/auth-client srw------- 1 dovecot-auth wheel /var/run/dovecot/auth-master srw------- 1 dovecot-auth dovecot-auth /var/run/dovecot/auth-worker.6512 srwxrwxrwx 1 root wheel /var/run/dovecot/dict-server -rw------- 1 root wheel /var/run/dovecot/master.pid
As im can understand im confused at Dovecot permission system. Please tell me what im must fix.
Here is my config:
%dovecot -n # 1.1.1: /usr/local/etc/dovecot.conf base_dir: /var/run/dovecot/ log_path: /var/log/dovecot/dovecot.log info_log_path: /var/log/dovecot/dovecot.log protocols: imap imaps pop3s ssl_cert_file: /usr/local/etc/certs/cert.crt ssl_key_file: /usr/local/etc/certs/cert.key ssl_cipher_list: ALL:!LOW:!SSLv2 login_dir: /var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_processes_count: 5 mail_max_userip_connections(default): 10 mail_max_userip_connections(imap): 10 mail_max_userip_connections(pop3): 3 verbose_proctitle: yes first_valid_uid: 1025 first_valid_gid: 0 mail_privileged_group: mail mail_uid: dmail mail_gid: dmail mail_location: maildir:/var/spool/dovecot/domains/%d/%n/ mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(imap): delay-newmail netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(pop3): pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: mechanisms: plain login cram-md5 digest-md5 user: dovecot-auth username_format: %Lu passdb: driver: pam passdb: driver: ldap args: /usr/local/etc/dovecot-ldap.conf userdb: driver: passwd userdb: driver: ldap args: /usr/local/etc/dovecot-ldap.conf socket: type: listen client: path: /var/run/dovecot/auth-client mode: 432 master: path: /var/run/dovecot/auth-master mode: 384 user: dovecot-auth
-- Best Regards, Proskurin Kirill
Im chmod /var/run/dovecot/auth-master to 777. And all start work well. So it is true permission problem. Please tell me what user must own tis file.
Proskurin Kirill wrote:
Hello all.
Just one quick stupid question. ;-( Im try to configure Exim + Dovecot 1.1.1 on FreeBSD 7.0
Then im try to send mail in logs im see this: deliver(admin@domain.off): Jul 02 13:52:22 Error: Can't connect to auth server at /var/run/dovecot/auth-master: No such file or directory
%ls -al /var/run/dovecot/* srw-rw---- 1 exim wheel /var/run/dovecot/auth-client srw------- 1 dovecot-auth wheel /var/run/dovecot/auth-master srw------- 1 dovecot-auth dovecot-auth /var/run/dovecot/auth-worker.6512 srwxrwxrwx 1 root wheel /var/run/dovecot/dict-server -rw------- 1 root wheel /var/run/dovecot/master.pid
As im can understand im confused at Dovecot permission system. Please tell me what im must fix.
Here is my config:
%dovecot -n # 1.1.1: /usr/local/etc/dovecot.conf base_dir: /var/run/dovecot/ log_path: /var/log/dovecot/dovecot.log info_log_path: /var/log/dovecot/dovecot.log protocols: imap imaps pop3s ssl_cert_file: /usr/local/etc/certs/cert.crt ssl_key_file: /usr/local/etc/certs/cert.key ssl_cipher_list: ALL:!LOW:!SSLv2 login_dir: /var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_processes_count: 5 mail_max_userip_connections(default): 10 mail_max_userip_connections(imap): 10 mail_max_userip_connections(pop3): 3 verbose_proctitle: yes first_valid_uid: 1025 first_valid_gid: 0 mail_privileged_group: mail mail_uid: dmail mail_gid: dmail mail_location: maildir:/var/spool/dovecot/domains/%d/%n/ mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(imap): delay-newmail netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(pop3): pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: mechanisms: plain login cram-md5 digest-md5 user: dovecot-auth username_format: %Lu passdb: driver: pam passdb: driver: ldap args: /usr/local/etc/dovecot-ldap.conf userdb: driver: passwd userdb: driver: ldap args: /usr/local/etc/dovecot-ldap.conf socket: type: listen client: path: /var/run/dovecot/auth-client mode: 432 master: path: /var/run/dovecot/auth-master mode: 384 user: dovecot-auth
On onsdagen den 2 juli 2008, Proskurin Kirill wrote:
Hello all.
Just one quick stupid question. ;-( Im try to configure Exim + Dovecot 1.1.1 on FreeBSD 7.0
Then im try to send mail in logs im see this: deliver(admin@domain.off): Jul 02 13:52:22 Error: Can't connect to auth server at /var/run/dovecot/auth-master: No such file or directory
%ls -al /var/run/dovecot/* srw-rw---- 1 exim wheel /var/run/dovecot/auth-client srw------- 1 dovecot-auth wheel /var/run/dovecot/auth-master srw------- 1 dovecot-auth dovecot-auth /var/run/dovecot/auth-worker.6512 srwxrwxrwx 1 root wheel /var/run/dovecot/dict-server -rw------- 1 root wheel /var/run/dovecot/master.pid
As im can understand im confused at Dovecot permission system. Please tell me what im must fix.
I have
srw-rw---- 1 dovecot mail 0 15 jun 19.06 auth-master
(Exim runs as group mail, i.e. exim_group = mail. Adapt accordingly.)
-- Magnus Holmgren holmgren@lysator.liu.se (No Cc of list mail needed, thanks)
"Exim is better at being younger, whereas sendmail is better for Scrabble (50 point bonus for clearing your rack)" -- Dave Evans
participants (2)
-
Magnus Holmgren
-
Proskurin Kirill