[Dovecot] Problem of using dovecot as sasl implement for postfix

sosogh sosogh at 126.com
Mon May 26 09:41:50 EEST 2008


Hi list

I install postfix dovecot on my debian etch box
I install them via apt-get

I want to use dovecot to be postfix sasl implement,but i got the following error message
in the mail log:

Apr 27 21:28:39 sosogh postfix/smtpd[19776]: warning: SASL: Connect to private/auth failed: No such file or directory
Apr 27 21:28:39 sosogh postfix/smtpd[19776]: fatal: no SASL authentication mechanisms
Apr 27 21:28:40 sosogh postfix/master[19765]: warning: process /usr/lib/postfix/smtpd pid 19776 exit status 1


my configuration:

postfix:

Mail:/etc/dovecot# more /etc/postfix/main.cf
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth


Mail:/etc/dovecot# postconf  | grep mail_version
mail_version = 2.3.8


Mail:/etc/dovecot# postconf   | grep -i mail_owner
mail_owner = postfix


Mail:/etc/dovecot# ls -al /var/spool/postfix/private/
total 8
drwx------  2 postfix root    4096 2008-04-27 22:11 .
drwxr-xr-x 19 root    root    4096 2008-01-20 23:12 ..
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 anvil
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 bounce
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 bsmtp
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 defer
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 discard
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 dspam
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 error
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 ifmail
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 lmtp
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 local
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 maildrop
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 mailman
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 policy
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 proxymap
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 relay
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 rewrite
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 scache
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 scalemail-backend
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 smtp
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 tlsmgr
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 trace
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 uucp
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 verify
srw-rw-rw-  1 postfix postfix    0 2008-04-27 22:11 virtual


dovecot:

Mail:/etc/dovecot#  dovecot --version 
1.0.rc15


Mail:/etc/dovecot# dovecot -n 
# /etc/dovecot/dovecot.conf
log_path: /var/log/dovecot.log
protocols: imap imaps pop3 pop3s
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
auth default:
  mechanisms: plain login
  verbose: yes
  debug: yes
  passdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql.conf
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
    master:


Mail:/etc/dovecot# more dovecot.conf
protocols = imap imaps pop3 pop3s
auth_debug = yes
auth_verbose = yes
log_path = /var/log/dovecot.log
disable_plaintext_auth = no
auth default {
        mechanisms = plain login
        user = postfix
        passdb sql {
                args = /etc/dovecot/dovecot-sql.conf
        }
        user = root
        socket listen {
                client {
                        path = /var/spool/postfix/private/auth
                        mode = 0660
                        user = postfix
                        group = postfix
                }
        }

}

I wonder why private/auth does not exsit
    

 THANK YOU!
 BEST RGDS!


******************
  sosogh at 126.com
      2008-05-26
*******************


More information about the dovecot mailing list