Below is /etc/pam.d/dovecot I am trying to get dovecot to not require password auth if user is already logged in, using pam_alreadyloggedin module =========================================================================== #%PAM-1.0 @include common-auth @include common-account @include common-session auth sufficient pam_alreadyloggedin.so debug no_root ============================================================================= Here is debug output when I try to log in to dovecot and it fails: dovecot-auth: pam_sm_authenticate:165 Debugging output enabled dovecot-auth: pam_sm_authenticate:169 logname = "user" dovecot-auth: inutmp:261 Can't stat line "/dev/:0" dovecot-auth: pam_sm_authenticate:193 Found matching records in utmp: 0