Submitted by timmy on Tue, 09/20/2011 - 04:43
If ldap is enabled for storing users, do i need to change the setting on dovecot?
Pop3 doesn't seem to work at the moment. Just my curiosity.
Status:
Active
If ldap is enabled for storing users, do i need to change the setting on dovecot?
Pop3 doesn't seem to work at the moment. Just my curiosity.
Comments
Submitted by andreychek on Tue, 09/20/2011 - 09:33 Comment #1
Are you able to login as those users via other means, such as FTP or SSH?
To setup LDAP, you'd need to go through this document here:
https://www.virtualmin.com/documentation/id%2Ccombining_virtualmin_and_ldap
One of the things it describes is setting up PAM -- once PAM is setup, that should in theory handle logins for Dovecot (POP3), as well as the other login mechanisms.
That is, if you can login via FTP or SSH, it should work for Dovecot (POP3) as well.
Submitted by JamieCameron on Tue, 09/20/2011 - 12:41 Comment #2
Also, make sure that your /etc/pam.d/dovecot file is setup to use LDAP, unless it is like :
#%PAM-1.0
auth required pam_nologin.so
auth include system-auth
account include system-auth
session include system-auth
In which case it will inherit from the global PAM settings.