[Dovecot] Fatal: All your namespaces have a location setting.

Zbyszek Żółkiewski zbyszek at onefellow.com
Tue Feb 11 22:56:48 UTC 2014


Hello again, 

i am making progress, and now my servers synchronise correctly but… only inbox (cur) is synced. Folders are not synchronised (although creation and deletion of folders is replicated). 

Any idea?

__
Zbyszek Żółkiewski

On 11 Feb 2014, at 21:46, Zbyszek Żółkiewski <zbyszek at onefellow.com> wrote:

> ok i have solved that by adding:
> 
> mail_location = maildir:/home/mailboxes/maildir/%n/Maildir
> 
> seems like error gone.
> 
> __
> Zbyszek Żółkiewski
> 
> On 11 Feb 2014, at 15:16, Zbyszek Żółkiewski <zbyszek at onefellow.com> wrote:
> 
>> 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:vmail at some-mx2.com
>> }
>> 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 = postmaster at some-mx.com
>> }
>> 
>> 
>> 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
>> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4891 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140211/a79a5da2/attachment.p7s>


More information about the dovecot mailing list