On 25-Feb-2009, at 17:56, Jeff wrote:
> LuKreme <[email protected]> wrote on 2009-Feb-26:
>> I want to move to a 100% courier setup, but courier is currently only
>> setup for mysql/virtual users. I thought the question "How do I
>> reconfigure courier to manage the local (/home/user) users as well as
>> the virtual users" was clearly implied.
>
> You simply need to add "authpam" to the "authmodulelist=" list in
> courier-authlib's 'authdaemonrc' file. (libauthpam.so should be
> installed as
> part of the basic courier-authlib package. But you might want to
> verify that as
> well.) Assuming pam is setup on your system, that will allow
> courier-authlib to
> verify system users through pam.
>
> You can use the 'authtest' program to verify that it works. Once
> you make the
> change and restart authdaemond, then you should be able to run
> 'authtest root'
> (or any other system user) and see that it recognizes this user.
Perfect, that all worked fine, but there appears to still be one small
issue with the local users. Here's what is shows for my personal email:
Authenticated: kreme (system username: kreme)
Home Directory: /home/kreme
Maildir: (none)
Quota: (none)
The trouble is, Maildir should be Maildir/ and not (none) for the
local users.
both imapd and impad-sll have
imapd:MAILDIRPATH=Maildir
imapd-ssl:MAILDIRPATH=Maildir
And even after restarting courier-authdaemon I am unable to login to
the account remotely, but authtest looks good. Since I only have port
993 available, I don't know how to manually connect over SSL from the
commandline to see something more detailed than "The attempt to read
data from thee server failed."
/etc/pam.d/imapd:
auth required pam_unix.so no_warn
try_first_pass
and libauthpam.so is located at /usr/local/lib/courier-authlib/
libauthpam.so
--
And I was grounded while you filled the skies
I was dumbfounded by truth; you cut through lies
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users