[Dovecot] Dovecot PAM sessions with Maildir
Sean Smitz
sean.smitz at us.fujitsu.com
Wed Aug 6 23:15:36 EEST 2008
I able to connect to the mail server with a MUA (Thunderbird) via SSL
prior to attempting to set up the session and Maildir options
/var/log/audit/audit.log
type=USER_AUTH msg=audit(1217992493.198:389): user pid=8022 uid=0
auid=10243 subj=user_u:system_r:dovecot_auth_t:s0 msg='PAM:
authentication acct="[me]" : exe="/usr/libexec/dovecot/dovecot-auth"
(hostname=::ffff:[client], addr=::ffff:[client], terminal=dovecot
res=success)'
type=USER_ACCT msg=audit(1217992493.199:390): user pid=8022 uid=0
auid=10243 subj=user_u:system_r:dovecot_auth_t:s0 msg='PAM: accounting
acct="[me]" : exe="/usr/libexec/dovecot/dovecot-auth"
(hostname=::ffff:[client], addr=::ffff:[client], terminal=dovecot
res=success)'
type=USER_START msg=audit(1217992493.199:391): user pid=8022 uid=0
auid=10243 subj=user_u:system_r:dovecot_auth_t:s0 msg='PAM: session open
acct="[me]" : exe="/usr/libexec/dovecot/dovecot-auth"
(hostname=::ffff:[client], addr=::ffff:[client], terminal=dovecot
res=failed)'
/var/log/maillog
Aug 5 23:14:37 mailserv1 dovecot: Dovecot v1.0.7 starting up
Aug 5 23:14:38 mailserv1 dovecot: auth(default): new auth connection:
pid=8014
Aug 5 23:14:38 mailserv1 dovecot: auth(default): new auth connection:
pid=8013
Aug 5 23:14:38 mailserv1 dovecot: auth(default): new auth connection:
pid=8015
Aug 5 23:14:46 mailserv1 dovecot: auth(default): new auth connection:
pid=8016
Aug 5 23:14:52 mailserv1 dovecot: auth(default): client in: AUTH
1 PLAIN service=IMAP secured lip=::ffff:[server]
rip=::ffff:[client]
Aug 5 23:14:52 mailserv1 dovecot: auth(default): client out: CONT 1
Aug 5 23:14:52 mailserv1 dovecot: auth(default): client in: CONT<hidden>
Aug 5 23:14:52 mailserv1 dovecot: auth(default):
pam([me],::ffff:[client]): lookup service=dovecot
Aug 5 23:14:52 mailserv1 dovecot: auth(default):
pam([me],::ffff:[client]): pam_open_session() failed: Cannot make/remove
an entry for the specified session
Aug 5 23:14:53 mailserv1 dovecot: auth(default): client out: FAIL
1 user=[me]
Aug 5 23:14:53 mailserv1 dovecot: auth(default): client in: AUTH
2 PLAIN service=IMAP secured lip=::ffff:[server]
rip=::ffff:[client] resp=<hidden>
Aug 5 23:14:53 mailserv1 dovecot: auth(default):
pam([me],::ffff:[client]): lookup service=dovecot
Aug 5 23:14:53 mailserv1 dovecot: auth(default):
pam([me],::ffff:[client]): pam_open_session() failed: Cannot make/remove
an entry for the specified session
Aug 5 23:14:55 mailserv1 dovecot: auth(default): client out: FAIL
2 user=[me]
Aug 5 23:14:58 mailserv1 dovecot: imap-login: Aborted login:
user=<[me]>, method=PLAIN, rip=::ffff:[client], lip=::ffff:[server], TLS
More information about the dovecot
mailing list