I'm still searching but hoping someone can offer a clue-stick.

Long story short! I had a server crash suddenly and all I can get at are the files. Built a new host and copied the data and config files over, correcting ownership and permissions (hopefully) as I went.

But now I can't get logged in.

Messages in /var/log/dovecot/dovecot-info.log, without saslauthd running, are like this.

dovecot: Feb 03 08:55:46 Info: auth(default): passwd-file(raand...@aesoft-sbcs.com,66.193.34.88): no passwd file: username_format=raanders /var/mail/vhosts/aesoft-sbcs.com/passwd dovecot: Feb 03 08:55:48 Info: auth(default): client out: FAIL 1 user=raand...@aesoft-sbcs.com dovecot: Feb 03 08:55:48 Info: auth(default): client in: AUTH 2 PLAIN service=IMAP secured lip=216.64.180.226 rip=66.193.34.88 resp=AHJhYW5kZXJzQGFlc29mdC1zYmNzLmNvbQBrNnpiZTQy dovecot: Feb 03 08:55:48 Info: auth(default): passwd-file(raand...@aesoft-sbcs.com,66.193.34.88): no passwd file: username_format=raanders /var/mail/vhosts/aesoft-sbcs.com/passwd dovecot: Feb 03 08:55:50 Info: auth(default): client out: FAIL 2 user=raand...@aesoft-sbcs.com dovecot: Feb 03 08:55:54 Info: imap-login: Aborted login: user=<raand...@aesoft-sbcs.com>, method=PLAIN, rip=66.193.34.88, lip=216.64.180.226, TLS

The passwd file exists and I'm using the correct password.

dovecot -n as an attachment.

More info this is a semi-good attempt at a mail server for virtual domains. _It was working._

Any ideas as to why dovecot says the file doesn't exist?


TIA,
Rod
# 1.0.7: /etc/dovecot.conf
log_path: /var/log/dovecot/dovecot.log
info_log_path: /var/log/dovecot/dovecot-info.log
protocols: imap imaps
listen: *:143
ssl_listen: *:993
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
login_greeting_capability: yes
valid_chroot_dirs: /var/mail
first_valid_uid: 5000
last_valid_uid: 5000
first_valid_gid: 5000
last_valid_gid: 5000
mail_access_groups: mail
mail_location: maildir:~/Maildir
mail_debug: yes
maildir_copy_with_hardlinks: yes
maildir_copy_preserve_filename: yes
auth default:
  mechanisms: plain login CRAM-MD5
  default_realm: aesoft-sbcs.com
  master_user_separator: *
  verbose: yes
  debug: yes
  debug_passwords: yes
  passdb:
    driver: passwd-file
    args: /var/mail/vhosts/%d/passwd.masterusers
    pass: yes
    master: yes
  passdb:
    driver: passwd-file
    args: username_format=%n /var/mail/vhosts/%d/passwd
  userdb:
    driver: passwd-file
    args: username_format=%n /var/mail/vhosts/%d/passwd
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 432
      user: vmail
plugin:
  sieve: /var/mail/vhosts/%d/%n/dovecot.sieve

Reply via email to