[Dovecot] Dovecot pam
Tommy Berglund
tommy at fam-berglund.eu
Wed May 21 18:35:24 UTC 2014
Hello!
How can I disable passdb { driver = pam }
in /etc/dovecot/conf.d/auth-system.conf.ext
from file /etc/dovecot/local.conf.
I have postfix and dovecot set up to only use virtual users.
I'd rather do all the configuration in local.conf if possible.
My doveconf-n
# 2.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 3.13.0-24-generic x86_64 Ubuntu 14.04 LTS
auth_failure_delay = 5 secs
auth_mechanisms = plain login cram-md5
listen = *
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_home = /var/vmail/%d/%n
mail_location = mdbox:~/
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave
namespace inbox {
inbox = yes
location =
mailbox Drafts {
auto = subscribe
special_use = \Drafts
}
mailbox Junk {
auto = subscribe
special_use = \Junk
}
mailbox Sent {
auto = subscribe
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
auto = subscribe
special_use = \Trash
}
prefix =
}
passdb {
args = scheme=cram-md5 /etc/dovecot/passwd
driver = passwd-file
}
plugin {
sieve = /vmail/%d/%n/.dovecot.sieve
sieve_dir = /vmail/%d/%n/sieve
sieve_global_path = /vmail/dovecot/sieve/default.sieve
}
protocols = imap lmtp sieve
service auth {
executable = /usr/lib/dovecot/auth
unix_listener /var/spool/postfix/private/auth-client {
group = postfix
mode = 0660
user = postfix
}
user = root
}
service imap-login {
inet_listener imaps {
port = 993
ssl = yes
}
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
}
user = vmail
}
ssl_cert = </etc/dovecot/dovecot.pem
ssl_key = </etc/dovecot/private/dovecot.pem
userdb {
driver = passwd
}
userdb {
args = /etc/dovecot/users
driver = passwd-file
}
protocol lmtp {
mail_plugins = sieve
postmaster_address = postmaster at localhost
}
Best regards
More information about the dovecot
mailing list