atom feed6 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Will pam_smb auto...
FromSent OnAttachments
dennisFeb 8, 2001 6:06 pm 
Brian CandlerFeb 9, 2001 2:05 am 
dennisFeb 9, 2001 2:37 am 
Brian CandlerFeb 9, 2001 3:36 am 
dennisFeb 9, 2001 4:38 am 
Brian CandlerFeb 9, 2001 6:20 am 
Subject:Re: [courier-users] Will pam_smb automatacally make ./Maildir ?
From:Brian Candler (B.Ca@pobox.com)
Date:Feb 9, 2001 6:20:08 am
List:net.sourceforge.lists.courier-users

On Fri, Feb 09, 2001 at 11:39:18PM +1100, dennis wrote:

OK.. So you have authldap working, authenticating against your ldap server. You add a user in your ldap server database. He also needs a email account on your qmail box. What do you do next? How does it work from here ?

I don't have a qmail box. I run exim, which invokes 'deliverquota' to delivery the mail into a Maildir. I patched deliverquota to create the Maildir if it doesn't exist (otherwise you have to pre-create the Maildir using 'maildirmake'); I believe a similar patch has made its way into the mainstream courier distribution.

When somebody logs in to read their mail using POP3 or IMAP or webmail, the authentication takes place using the information in authldaprc. One of the fields returned by the LDAP server gives the directory path to the user's Maildir.

Brian.

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net]On Behalf Of Brian Candler Sent: Friday, 9 February 2001 10:37 PM To: cour@lists.sourceforge.net Subject: Re: [courier-users] Will pam_smb automatacally make ./Maildir ?

On Fri, Feb 09, 2001 at 09:37:27PM +1100, dennis wrote:

How is it implemented as a authentication system with couier-imap then ?

I don't understand the question :-)

I don't use pam myself, I use authldap. But I can tell you that courier-imap will not create a Maildir if it is missing, it will just drop the connection. Of course, it won't even attempt to open the Maildir until the user has successfully authenticated.

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net]On Behalf Of Brian Candler Sent: Friday, 9 February 2001 9:06 PM To: cour@lists.sourceforge.net Subject: Re: [courier-users] Will pam_smb automatacally make ./Maildir ?

On Fri, Feb 09, 2001 at 01:06:56PM +1100, dennis wrote:

Does it automatically make the ./Maildir/ for the user if it's missing ?

No. It aborts (drops the TCP connection without returning any error code)