Reply to topic
Dovecot configuration headaches...
nathacof


Joined: 24 Oct 2006
Posts: 93
Location: Bear, DE
Reply with quote
Hey guys,

I've setup Dovecot before but this time I'm unable to authenticate and I'm having a hard time figuring out why.

Code:

[root@vps ~]# dovecot -n
# /etc/dovecot.conf
log_path: /var/log/dovecot.log
info_log_path: /var/log/dovecot-info.log
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
mail_extra_groups: mail
mail_location: maildir:/var/mail/vhosts/%d/%n
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
auth default:
  mechanisms: plain login CRAM-MD5
  verbose: yes
  debug: yes
  passdb:
    driver: passwd-file
    args: /var/mail/vhosts/%d/shadow
  userdb:
    driver: passwd-file
    args: /var/mail/vhosts/%d/passwd
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: root
      group: postfix
    master:
[root@vps ~]#


Code:
[root@vps ~]# cat /var/mail/vhosts/neranjara.org/passwd
nathacof::1000:1000::/var/mail/vhosts/neranjara.org/nathacof:/bin/false::
[root@vps ~]#


Error from the logs:
Code:

[root@vps ~]# tail /var/log/dovecot-info.log
dovecot: Mar 14 14:04:15 Info: imap-login: Aborted login: user=<nathacof@neranjara.org>, method=PLAIN, rip=76.99.155.150, lip=76.12.12.17
dovecot: Mar 14 14:05:08 Info: auth(default): client in: AUTH   1       PLAIN   service=IMAP    secured lip=76.12.12.17 rip=76.99.155.150
dovecot: Mar 14 14:05:08 Info: auth(default): client out: CONT  1
dovecot: Mar 14 14:05:08 Info: auth(default): client in: CONT<hidden>
dovecot: Mar 14 14:05:08 Info: auth(default): passwd-file(nathacof@neranjara.org,76.99.155.150): unknown user
dovecot: Mar 14 14:05:08 Info: auth(default): client out: FAIL  1       user=nathacof@neranjara.org
dovecot: Mar 14 14:05:08 Info: auth(default): client in: AUTH   2       PLAIN   service=IMAP    secured lip=76.12.12.17 rip=76.99.155.150       resp=<hidden>
dovecot: Mar 14 14:05:08 Info: auth(default): passwd-file(nathacof@neranjara.org,76.99.155.150): unknown user
dovecot: Mar 14 14:05:10 Info: auth(default): client out: FAIL  2       user=nathacof@neranjara.org
dovecot: Mar 14 14:05:40 Info: imap-login: Disconnected: user=<nathacof@neranjara.org>, method=PLAIN, rip=76.99.155.150, lip=76.12.12.17, TLS
[root@vps ~]#


Code:

[root@vps ~]# ls -l /var/mail/vhosts/neranjara.org/
total 20
drwxrwxr-x 5 postfix postfix 4096 Feb 25 09:27 catch-all
drwxrwxr-x 5 postfix postfix 4096 Feb 25 09:27 nathacof
-rw-rw---- 1 postfix postfix   88 Mar 14 14:03 passwd
-rw-rw---- 1 postfix postfix   67 Feb 27 13:07 shadow
drwxrwxr-x 5 postfix postfix 4096 Feb 25 09:27 support
[root@vps ~]#


I can't seem to figure out why Dovecot isn't seeing the user in my userdb file '/var/mail/vhosts/neranjara.org/passwd'.

Any one see something I'm missing?
Dovecot configuration headaches...
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic