Dies ist eine alte Version des Dokuments!
Dovecot unter Debian 5.0 als IMAP-Server einrichten:
# aptitude install dovecot-imapd
# vi /etc/dovecot/dovecot.conf
[...]
protocol imap {
listen = 127.0.0.1
ssl_listen = *
# vi /etc/dovecot/dovecot.conf [...] disable_plaintext_auth = yes
# vi /etc/dovecot/dovecot.conf [...] mail_location = maildir:%h/Maildir
# mkdir /etc/dovecot/ssl # chmod 700 /etc/dovecot/ssl # chown root:root /etc/dovecot/ssl
# cp mail.disorganized.de.cert mail.disorganized.de.key /etc/dovecot/ssl # chmod 444 /etc/dovecot/ssl/mail.disorganized.de.cert # chown root:root ssl/mail.disorganized.de.cert # chmod 400 /etc/dovecot/ssl/mail.disorganized.de.key # chown root:root /etc/dovecot/ssl/mail.disorganized.de.key
# vi /etc/dovecot/dovecot.conf [...] ssl_cert_file = /etc/dovecot/ssl/mail.disorganized.de.cert ssl_key_file = /etc/dovecot/ssl/mail.disorganized.de.key
# vi /etc/dovecot/dovecot.conf
[...]
auth default {
[...]
# passwd-like file with specified location
# <doc/wiki/AuthDatabase.PasswdFile.txt>
passdb passwd-file {
# Path for passwd-file
args = /etc/exim4/passwd
}
[...]
# PAM authentication. Preferred nowadays by most systems.
#passdb pam {
#}
[...]
# System users (NSS, /etc/passwd, or similiar). In many systems nowadays this
#userdb passwd {
#}
[...]
# User to use for the process. This user needs access to only user and
[...]
user = Debian-exim