Quote:
Originally Posted by till
The dovecot mail location is read directly from the ispconfig database. Please see dovecot-sql.conf file. The mail_location setting in dovecot.conf is not used, so do not alter it.
|
the mail_location setting must be set, or dovecot will not start..
i spent couple hours yeasterday with setting up dovecot in Ubuntu 10.04
and here is my config, may be useful for someone..
Be Aware, that Sieve settings are not included, as i was not able to set sieve correctly yet. I'm also not sure quota works as Roundcubemail doensn't show quota as it does for courier

(
Dovecot config Ubuntu 10.04:
protocols = imap imaps pop3 pop3s
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
ssl_cert_file = /etc/ssl/_.mydomain.tld/_.mydomain.tld.crt
ssl_key_file = /etc/ssl/_.mydomain.tld/_.mydomain.tld.key
mail_privileged_group = mail
## IMAP specific settings
protocol imap {
mail_executable = /usr/lib/dovecot/rawlog /usr/lib/dovecot/imap
# Support for dynamically loadable plugins. mail_plugins is a space separated
# list of plugins to load.
mail_plugins = quota
#mail_plugin_dir = /usr/lib/dovecot/modules/imap
}
## POP3 specific settings
protocol pop3 {
mail_executable = /usr/lib/dovecot/rawlog /usr/lib/dovecot/pop3
pop3_uidl_format = %08Xu%08Xv
mail_plugins = quota
}
##
## LDA specific settings
##
protocol lda {
# Address to use when sending rejection mails.
postmaster_address =
postmaster@example.com
# Hostname to use in various parts of sent mails, eg. in Message-Id.
# Default is the system's real hostname.
#hostname =
# Support for dynamically loadable plugins. mail_plugins is a space separated
# list of plugins to load.
mail_plugin_dir = /usr/lib/dovecot/modules/lda
# Binary to use for sending mails.
#sendmail_path = /usr/lib/sendmail
# UNIX socket path to master authentication server to find users.
auth_socket_path = /var/run/dovecot/auth-master
# Enabling Sieve plugin for server-side mail filtering
mail_plugins = sieve quota
}
## Authentication processes
##
# Executable location
#auth_executable = /usr/lib/dovecot/dovecot-auth
auth default {
mechanisms = plain login
passdb pam {
}
# SQL database <doc/wiki/AuthDatabase.SQL.txt>
passdb sql {
# Path for SQL configuration file
args = /etc/dovecot/dovecot-sql.conf
}
## dovecot-lda specific settings
##
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = vmail # User running Dovecot LDA
#group = vmail # Or alternatively mode 0660 + LDA user in this group
}
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
dict {
#quota = mysql:/etc/dovecot-dict-quota.conf
}
## Plugin settings
plugin {
quota = maildir
}
mail_uid = 5000
mail_gid = 5000
mail_location = maildir:/var/vmail/%d/%n/Maildir
Recent comments
1 day 18 hours ago
1 day 20 hours ago
2 days 8 hours ago
2 days 11 hours ago
2 days 15 hours ago
2 days 21 hours ago
3 days 7 hours ago
3 days 9 hours ago
3 days 17 hours ago
3 days 18 hours ago