On 30/09/11 16:05 -0300, francis picabia wrote: >I saw a reference in an older question to pam_lastlog. >This would be very useful for pruning out unused accounts. > >I'm using saslauthd, and it points to PAM. >In /etc/pam.d/imap I add: > >session required pam_lastlog.so silent > >This is the only entry I have for session. >Then login by imap and try last command - nothing new showing. > >Am I doing this wrong or is it not supported? saslauthd does not call pam_open_session or pam_sm_open_session, which is probably required for pam_lastlog to act. -- Dan White ---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/