[Dovecot] Problem of using dovecot as sasl implement for postfix
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@126.com 2008-05-26
sosogh wrote:
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:
[snip] 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
did you start dovecot?
mouss HI:
Thank you for your hint
I checked the dovecot log,found the following errors
dovecot: Apr 23 02:27:45 Info: Dovecot v1.0.rc15 starting up dovecot: Apr 23 02:27:46 Error: Auth process died too early - shutting down dovecot: Apr 23 02:27:46 Error: auth(default): You'll need to add at least one userdb dovecot: Apr 23 02:27:46 Error: child 3146 (auth) returned error 89
and then I added userdb sql { args = /etc/dovecot/dovecot-sql.conf } into block of auth default{}
And now dovecot has started
THANK YOU! BEST RGDS!
sosogh@126.com 2008-05-26
发件人:mouss 发送日期:2008-05-26 15:50:00 收件人: 抄送:dovecot 主题:Re: [Dovecot] Problem of using dovecot as sasl implement for postfix
sosogh wrote:
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:
[snip] 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
did you start dovecot?
__________ NOD32 3130 (20080526) Information __________
This message was checked by NOD32 antivirus system. http://www.eset.com
sosogh wrote:
mouss HI:
Thank you for your hint
I checked the dovecot log,found the following errors
dovecot: Apr 23 02:27:45 Info: Dovecot v1.0.rc15 starting up dovecot: Apr 23 02:27:46 Error: Auth process died too early - shutting down dovecot: Apr 23 02:27:46 Error: auth(default): You'll need to add at least one userdb dovecot: Apr 23 02:27:46 Error: child 3146 (auth) returned error 89
and then I added userdb sql { args = /etc/dovecot/dovecot-sql.conf } into block of auth default{}
And now dovecot has started
THANK YOU!
so is everything running fine?
participants (2)
-
mouss
-
sosogh