[Dovecot] Stuck on an Error: " Connect to private/auth failed: Connection refused"
Hi All,
I've recently recompiled Postifx & Dovecot and I'm hitting an error I can't seem to chase down.
Running dovecot version 1.0.3 (dovecot -n is below)
Here's the error in my error log: Sep 10 12:58:22 lishost postfix/smtpd[13726]: xsasl_dovecot_server_create: SASL service=smtp, realm=example.com Sep 10 12:58:22 lishost postfix/smtpd[13726]: xsasl_dovecot_server_connect: Connecting Sep 10 12:58:22 lishost postfix/smtpd[13726]: warning: SASL: Connect to private/auth failed: Connection refused Sep 10 12:58:22 lishost postfix/smtpd[13726]: fatal: no SASL authentication mechanisms Sep 10 12:58:23 lishost postfix/master[13721]: warning: process /usr/libexec/postfix/smtpd pid 13726 exit status 1 Sep 10 12:58:23 lishost postfix/master[13721]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
(In case it matters I recently makde postfix like so:)
make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -I/usr/local/include/sasl -DDEF_SERVER_SASL_TYPE=\"dovecot\"' 'AUXLIBS=-L/usr/lib/mysql -lmysqlclient -lz -lm -L/usr/local/lib -lsasl2'
The permissions on that file are so: srwxr-xr-x 1 postfix postfix 0 Sep 9 14:38 /var/spool/postfix/private/auth I've tried changin those but it didn't seem to matter.
# dovecot -n # 1.0.3: /usr/local/etc/dovecot.conf protocols: imap imaps pop3 pop3s ssl_disable: yes disable_plaintext_auth: no login_dir: /usr/local/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 first_valid_uid: 101 last_valid_uid: 101 mail_extra_groups: mail mail_location: maildir:/home/vmail/%d/%u mail_debug: yes maildir_copy_with_hardlinks: yes 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_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(pop3): quota 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): outlook-idle delay-newmail imap_client_workarounds(imap): outlook-idle delay-newmail imap_client_workarounds(pop3): outlook-idle pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: mechanisms: plain login user: vmail verbose: yes debug: yes debug_passwords: yes passdb: driver: sql args: /etc/dovecot/sql.conf userdb: driver: sql args: /etc/dovecot/sql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 432 user: vmail group: mail plugin: quota: maildir:storage=10240:messages=1000 acl: vfile:/etc/dovecot/acls trash: /etc/dovecot/trash.conf
On Mon, 2007-09-10 at 14:07 -0400, Blake Carver wrote:
Sep 10 12:58:22 lishost postfix/smtpd[13726]: warning: SASL: Connect to private/auth failed: Connection refused
That usually means no-one's listening in there. Check with netstat -ln that something really is.
The permissions on that file are so: srwxr-xr-x 1 postfix postfix 0 Sep 9 14:38 /var/spool/postfix/private/auth I've tried changin those but it didn't seem to matter.
If you delete the file and restart Dovecot, does the file get created?
participants (2)
-
Blake Carver
-
Timo Sirainen