Greetings,

I recently upgraded Dovecot from 1.2 to 2.0.14, for purposes of using Dsync to migrate emails from one server to another. I'm using MySQL for authentication. However I get this error message when I try to run Dsync, and after looking around for an answer, I'm at a bit of a loss:

[root@triata ~]# dsync -v -u a...@globalchangemusic.org backup ssh -p22222 vm...@xx.xxx.xx.xxx dsync -u a...@globalchangemusic.org
vm...@xx.xxx.xx.xxx's password:
dsync(vmail): Error: userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: Permission denied (euid=1001(vmail) egid=1001(vmail) missing +r perm: /var/run/dovecot/auth-userdb, euid is not dir owner) dsync(vmail): Fatal: User lookup failed: Internal error occurred. Refer to server log for more information. dsync-local(a...@globalchangemusic.org): Error: read() from worker server failed: EOF

Config as follows:

[root@triata ~]# doveconf -n
# 2.0.14: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-92.1.10.el5.xs5.0.0.39xen x86_64 CentOS release 5 (Final) ext3
auth_mechanisms = plain login
mail_home = /vmail/%d/%n/home
mail_location = maildir:/vmail/%d/%n
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date
namespace {
  inbox = yes
  location =
  prefix =
  separator = /
  type = private
}
passdb {
  args = /etc/dovecot-mysql.conf
  driver = sql
}
plugin {
  sieve = /vmail/%d/%n/sievescript
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-master {
    group = vmail
    mode = 0660
    user = vmail
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0666
    user = vmail
  }
  user = root
}
ssl_cert = </etc/ssl/triata.globalchangemultimedia.net/mailserver/smtpd.pem
ssl_key = </etc/ssl/triata.globalchangemultimedia.net/mailserver/smtpd.pem
userdb {
  driver = passwd
}
userdb {
  args = /etc/dovecot-mysql.conf
  driver = sql
}
protocol lda {
  hostname = triata.globalchangemultimedia.net
  mail_plugin_dir = /usr/lib64/dovecot/
  mail_plugins = sieve
  postmaster_address = postmas...@globalchangemultimedia.net
}




--

Reply via email to