[Dovecot] Nee assistance with migrating/copying a virtual user's maildir to another virtual user

David Varela davidv at lamontanita.coop
Thu Aug 15 17:36:11 EEST 2013


Hello,

 

I am trying to move/copy a virtual user's maildir to another virtual user
but am running into problems with dsync and doveadm.  I'm trying to move the
maildir of a user who is no longer with the company to a manager's maildir.

 

For doveadm I am using the command:

 

doveadm move -u scavenaugh at lamontanita.coop
jhenning at lamontanita.coop/INBOX/scavenaugh INBOX ALL

 

The error is:

 

doveadm(scavenaugh at lamontanita.coop): Error: user
scavenaugh at lamontanita.coop: Auth USER lookup failed

 

/var/log/dovecot.log shows:

 

passdb doesn't support lookups, can't verify user's existence

 

dovecot -n

# 2.1.6: /usr/local/etc/dovecot/dovecot.conf

# OS: FreeBSD 8.2-RELEASE i386  ufs

auth_cache_ttl = 14 mins

auth_debug = yes

auth_debug_passwords = yes

auth_mechanisms = plain gssapi login

auth_use_winbind = yes

auth_verbose = yes

auth_winbind_helper_path = /usr/local/bin/ntlm_auth

first_valid_gid = 1001

first_valid_uid = 1001

info_log_path = /var/log/dovecot_info.log

last_valid_gid = 1001

last_valid_uid = 1001

log_path = /var/log/dovecot.log

mail_debug = yes

mail_location = maildir:/usr/data/vmail/%u

mail_max_userip_connections = 30

mail_privileged_group = mail

passdb {

  args = /usr/local/etc/dovecot-ldap.conf

  driver = ldap

}

plugin {

  sieve = /usr/data/sieve-scripts/%u.sieve

}

protocols = imap pop3

service auth {

  unix_listener /var/spool/postfix/private/auth {

    group = postfix

    mode = 0660

    user = postfix

  }

  unix_listener auth-master {

    mode = 0600

  }

  user = root

}

ssl_cert = </etc/ssl/dovecot/04JAN12cert.pem

ssl_key = </etc/ssl//dovecot/04JAN12key.pem

userdb {

  args = uid=vmail gid=vmail home=/usr/data/vmail/%u

  driver = static

}

valid_chroot_dirs = /usr/data/vmail

verbose_proctitle = yes

protocol imap {

  imap_client_workarounds = delay-newmail tb-extra-mailbox-sep

}

protocol pop3 {

  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh

  pop3_uidl_format = %08Xu%08Xv

}

protocol lda {

  mail_plugins = sieve

  sendmail_path = /usr/sbin/sendmail

}

 

Your assistance is greatly appreciated.

 

David Varela



More information about the dovecot mailing list