Hello, I am trying to setup dovecot sync between 2 servers and come up with this error:
Fatal: All your namespaces have a location setting. It should be empty (default
mail_location) in the namespace to be converted.
i am stuck with this as i cannot find any resolution on the web, here are my
config details:
doveconf -n
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.4
disable_plaintext_auth = no
dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
mail_plugins = " notify replication"
mail_privileged_group = mail
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 ihave
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
plugin {
autocreate = Trash
autocreate2 = Sent
autosubscribe = Trash
autosubscribe2 = Sent
mail_replica = remote:[email protected]
}
protocols = imap lmtp sieve
service aggregator {
fifo_listener replication-notify-fifo {
user = vmail
}
unix_listener replication-notify {
user = vmail
}
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
}
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
}
service replicator {
process_min_avail = 1
unix_listener replicator-doveadm {
mode = 0600
}
}
ssl = required
ssl_cert = </etc/ssl/certs/some-mx.pem
ssl_key = </etc/ssl/private/some-mx.key
userdb {
driver = prefetch
}
userdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
protocol imap {
mail_plugins = " autocreate"
}
protocol lmtp {
hostname = some-mx.com
mail_plugins = sieve
postmaster_address = [email protected]
}
cat dovecot-sql.conf
driver = pgsql
connect = host=/var/run/postgresql/ dbname=mail user=mailreader
default_pass_scheme = SHA512
password_query = SELECT email as user, password,
'/home/mailboxes/maildir/'||maildir as userdb_home, 500 as userdb_uid, 500 as
userdb_gid FROM users WHERE email = '%u'
user_query = SELECT '/home/mailboxes/maildir/'||maildir as home, 500 as uid,
500 as gid FROM users WHERE email = '%u';
Any help will be appreciated!
thanks,
__
Zbyszek
smime.p7s
Description: S/MIME cryptographic signature
