Did you compile Postfix to use Dovecot SASL ? Go to
http://www.postfix.org/SASL_README.html then read "Building Postfix with Dovecot SASL Support".
Make sure that you have modified dovecot.conf to suit your needs. Here's a snippet of the basic things you can configure to make Dovecot run:
Code:
:
:
# Protocols we want to be serving:
# imap imaps pop3 pop3s
#protocols = imap imaps
protocols = imap pop3
:
:
listen = *
:
disable_plaintext_auth = no
:
login_user = dovecot
:
protocol imap {
# Login executable location.
login_executable = /usr/local/libexec/dovecot/imap-login
mail_executable = /usr/local/libexec/dovecot/imap
imap_max_line_length = 65536
login_greeting_capability = yes
imap_client_workarounds = outlook-idle netscape-eoh tb-extra-mailbox-sep
}
protocol pop3 {
# Login executable location.
login_executable = /usr/local/libexec/dovecot/pop3-login
# POP3 executable location
mail_executable = /usr/local/libexec/dovecot/pop3
pop3_enable_last = yes
pop3_uidl_format = %08Xu%08Xv
pop3_logout_format = top=%t/%T, retr=%r/%R, del=%d/%m, size=%s
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
auth default {
mechanisms = plain
passdb shadow {
}
userdb passwd {
}
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0666
}
}
}
Dont forget to create a user 'dovecot'
To run dovecot, you just have to invoke 'dovecot' in the command line. That's about it.