Sorry about the late reply. I look at the link you sent me. But I can't figure out how to make it do what I want. As far as I understand then yes I'm using PAM. I wanna create an imap group in /etc/group and only the users I add to this is to be allow access to dovecot thought IMAP. I'm sorry to say but my Linux skill are limited but growing.
Den 30/12/2010 kl. 11.09 skrev Timo Sirainen:
On Tue, 2010-12-28 at 00:15 +0100, Jacob Neergaard Pedersen wrote:
I'm trying to control access to different services on an Debian server using /etc/group. So that a user I create for FTP usage doesn't fill up my server with IMAP folders or samba garbage.
Assuming you use passdb pam, I think pam_listfile can do this: http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/sag-pam_listfile.htm...