[Imap-uw] imap on Debian Linux
paul.hancock at phxlib.org
Tue Feb 5 09:30:11 PST 2008
> The ldb build definitely uses PAM.
> Most people ignore the flurry of build messages unless they have some
> problem; and if there is a problem they pass the whole mess on to me and
> say "help!"... ;-)
Ha, well, as a matter of fact I am having a problem, and was attempting to
find the solution myself before I thought to send an email to the list.
It's a good thing I did, since I am apparently barking up the wrong tree.
I am trying to get imap to post an entry into /var/log/lastlog. There is
a PAM module that does this: /lib/security/pam_lastlog.so. I have a
'session optional pam_lastlog.so' line in the /etc/pam.d/imap file, but it
does nothing. Changing the line to 'session required' makes no
I tried pam_lastlog.so in the common session file (which all PAM config
files reference), just to ensure the module was working, and indeed, cron
started updating lastlog. Imap did not, however.
I need to get a better understanding of PAM, but does imap use PAM session
hooks? That might explain why this isn't working, since we've established
that imap uses PAM.
Thanks for your help. :)
More information about the Imap-uw