[Dovecot] unknown user now logged - but auth works (Re: auth-login crash with cram-md5 (plain works) on unknown user)

Charlie Allom charlie at rubberduck.com
Mon Apr 16 17:46:21 EEST 2007


more info with auth_debug=yes

==> /var/log/dovecot.info <==
dovecot: 2007-04-16 14:44:22 Info: Dovecot v1.0.rc32 starting up
dovecot: 2007-04-16 14:44:27 Info: auth(default): client in: AUTH       
1      CRAM-MD5 service=IMAP    secured lip=19.3.2.6 rip=19.8.5.23
dovecot: 2007-04-16 14:44:27 Info: auth(default): client out: CONT      
1      
PDg4Mjk2NzU1NTQwNjg1MTkuMTE3NjczNDY2N0BtYWlsLnBsYXlsb3VkZXIuY29tPg==
dovecot: 2007-04-16 14:44:27 Info: auth(default): client in: 
CONT<hidden>
dovecot: 2007-04-16 14:44:27 Info: auth(default): 
ldap(yeled,19.8.5.23): pass search: base=ou=users,dc=playlouder,dc=com 
scope=subtree filter=(&(objectClass=CourierMailAccount)(uid=yeled)) 
fields=uid,userPassword
dovecot: 2007-04-16 14:44:27 Info: auth(default): 
ldap(yeled,19.8.5.23): result: uid(user)=yeled 
userPassword(password)=<hidden>
dovecot: 2007-04-16 14:44:27 Info: auth(default): client out: OK        
1      user=yeled
dovecot: 2007-04-16 14:44:27 Info: auth(default): master in: REQUEST    
1      3880     1
dovecot: 2007-04-16 14:44:27 Info: auth(default): 
passwd(yeled,19.8.5.23): lookup
dovecot: 2007-04-16 14:44:27 Info: auth(default): 
passwd(yeled,19.8.5.23): unknown user
dovecot: 2007-04-16 14:44:27 Info: auth(default): 
ldap(yeled,19.8.5.23): user search: base=ou=users,dc=playlouder,dc=com 
scope=subtree filter=(&(objectClass=CourierMailAccount)(uid=yeled)) 
fields=homeDirectory,uidNumber,gidNumber
dovecot: 2007-04-16 14:44:27 Info: auth(default): master out: USER      
1      yeled    home=/home/y/yeled      gid=5000        uid=5000
dovecot: 2007-04-16 14:44:27 Info: IMAP(yeled): Effective uid=5000, 
gid=5000, home=/home/y/yeled
dovecot: 2007-04-16 14:44:27 Info: IMAP(yeled): maildir: 
data=/home/y/yeled/Maildir
dovecot: 2007-04-16 14:44:27 Info: IMAP(yeled): maildir: 
root=/home/y/yeled/Maildir, index=/home/y/yeled/Maildir, control=, 
inbox=
dovecot: 2007-04-16 14:44:27 Info: imap-login: Login: user=<yeled>, 
method=CRAM-MD5, rip=19.8.5.23, lip=19.3.2.6, TLS

dovecot -n:

# /usr/local/etc/dovecot.conf
log_path: /var/log/dovecot.log
info_log_path: /var/log/dovecot.info
log_timestamp: %Y-%m-%d %H:%M:%S 
protocols: imap pop3
ssl_cert_file: /etc/ssl/certs/mail.playlouder.com.pem
ssl_key_file: /etc/ssl/private/mail.playlouder.com.key
disable_plaintext_auth: no
verbose_ssl: yes
login_dir: /usr/local/var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
login_greeting: mail.playlouder.com ready.
login_greeting_capability(default): yes
login_greeting_capability(imap): yes
login_greeting_capability(pop3): no
verbose_proctitle: yes
first_valid_uid: 5000
last_valid_uid: 5000
first_valid_gid: 5000
last_valid_gid: 5000
mail_extra_groups: mail
default_mail_env: maildir:~/Maildir
mail_location: maildir:~/Maildir
mail_debug: yes
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
imap_client_workarounds(default): outlook-idle netscape-eoh 
delay-newmail
imap_client_workarounds(imap): outlook-idle netscape-eoh delay-newmail
imap_client_workarounds(pop3): outlook-idle
pop3_uidl_format(default): 
pop3_uidl_format(imap): 
pop3_uidl_format(pop3): %v-%u
pop3_client_workarounds(default): 
pop3_client_workarounds(imap): 
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
  mechanisms: plain login digest-md5 cram-md5 apop
  verbose: yes
  passdb:
    driver: ldap
    args: /usr/etc/dovecot-ldap.conf
  userdb:
    driver: passwd
  userdb:
    driver: ldap
    args: /usr/etc/dovecot-ldap.conf
  socket:
    type: listen
    client:
    master:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix

-- 
 hail eris
 http://rubberduck.com/


More information about the dovecot mailing list