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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 21 May 2014, Tommy Berglund wrote:> 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. > > # 2.2.9: /etc/dovecot/dovecot.conf > # OS: Linux 3.13.0-24-generic x86_64 Ubuntu 14.04 LTS[...]> 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 > }I don't see any passdb { pam } there. Did you reloaded Dovecot? - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBU32jWHz1H7kL/d9rAQJ7VQf+I3y2s4OYncXeKYpXDfjqdCUHQOZ6bcR1 WTPNpExxyQpLyvOpGFO74pNFJNEVNn/cfV7BmuFl6+68CHauvgoQZt5Ghngl6Lgk m6XyPj2JOUkA8Sfhk/DK/o4Y3jzY5SHoHDrh7+SJ5cYawJVTYnSzWMtZD2RFW+5q tMvAwvBPu7F5TtBr5NIc8cOgr218HNXWLN7Ta/e64Uru/mVJr/+2JYtabcVTFfsG Nvp+Ii6/kcYmw3IDRyaoTJd0bzB8MAQkjodpMGqZpvlgvltpbmTj5R67v9SUgfGk nV6jQ/To9wQT+02fWejlPTMI7Az3zbd1ncFb5vQA7P/Hm1iKMCbKOw==Rvkv -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 21 May 2014, Tommy Berglund wrote:> 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. > > # 2.2.9: /etc/dovecot/dovecot.conf > # OS: Linux 3.13.0-24-generic x86_64 Ubuntu 14.04 LTS[...]> 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 > }I don't see any passdb { pam } there. Did you reloaded Dovecot? - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBU32jWHz1H7kL/d9rAQJ7VQf+I3y2s4OYncXeKYpXDfjqdCUHQOZ6bcR1 WTPNpExxyQpLyvOpGFO74pNFJNEVNn/cfV7BmuFl6+68CHauvgoQZt5Ghngl6Lgk m6XyPj2JOUkA8Sfhk/DK/o4Y3jzY5SHoHDrh7+SJ5cYawJVTYnSzWMtZD2RFW+5q tMvAwvBPu7F5TtBr5NIc8cOgr218HNXWLN7Ta/e64Uru/mVJr/+2JYtabcVTFfsG Nvp+Ii6/kcYmw3IDRyaoTJd0bzB8MAQkjodpMGqZpvlgvltpbmTj5R67v9SUgfGk nV6jQ/To9wQT+02fWejlPTMI7Az3zbd1ncFb5vQA7P/Hm1iKMCbKOw==Rvkv -----END PGP SIGNATURE-----
On Wed, 21 May 2014, Tommy Berglund wrote:> >> 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. >> >> # 2.2.9: /etc/dovecot/dovecot.conf >> # OS: Linux 3.13.0-24-generic x86_64 Ubuntu 14.04 LTS > [...] >> 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 >> } > > I don't see any passdb { pam } there. > Did you reloaded Dovecot? >No, because I have commented out "passdb {driver = pam} " in the file "/etc/dovecot/conf.d/auth-system.conf.ext" What I want is to avoid having to make changes to dovecot original files, just have all the self-configuration in local.config. I have no real users only virtual users, I do not need to check users against pam. Best regards Tommy