|
Dovecot
Hello,
Now I am trying to use dovecot for sasl rather than saslauthd.
I have installed Dovecot. It is working fine for POP when I telnet to Port 110.
The postconf -a command also gives me dovecot.
[root@ ~]# postconf -a
cyrus
dovecot
However when I add smtpd_sasl_type = dovecot in the main.cf of postfix, postfix goes blank on telnet to port 25.
When I try to add dovecot SASL code in dovecot.conf it says
Error in configuration file /etc/dovecot.conf line 25: Expecting '='
----- Dovecot Configuration -----
protocols = imap pop3
imap_listen = [::]
pop3_listen = [::]
imaps_listen =
pop3s_listen =
ssl_disable = yes
login_dir = /var/run/dovecot-login
login = imap
login = pop3
mbox_locks = fcntl
#auth = default
#auth_mechanisms = plain
#auth_userdb = passwd
#auth_passdb = pam
#auth_user = root
auth default {
mechanisms = plain login
passdb pam {
}
userdb passwd {
}
user = root
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
Thanks !
ONIK
|