Making dovecot2 authentication work (wrong pam module)

svn path=/nixos/trunk/; revision=30076
This commit is contained in:
Lluís Batlle i Rossell 2011-10-27 22:04:08 +00:00
parent 69a31a37e4
commit 035ccb8faf

View File

@ -36,13 +36,15 @@ let
user = root user = root
} }
userdb { userdb {
driver=passwd driver = passwd
} }
passdb { passdb {
driver=pam driver = pam
args = dovecot2
} }
auth_debug = yes #auth_debug = yes
auth_verbose = yes #auth_verbose = yes
#debug_log_path = /tmp/dovecot2debug.log
pop3_uidl_format = %08Xv%08Xu pop3_uidl_format = %08Xv%08Xu
@ -134,6 +136,8 @@ in
exec = "${pkgs.dovecot_2_0}/sbin/dovecot -F -c ${confFile}"; exec = "${pkgs.dovecot_2_0}/sbin/dovecot -F -c ${confFile}";
}; };
environment.systemPackages = [ pkgs.dovecot_2_0 ];
}; };
} }