Loading...

dovecot@dovecot.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [Dovecot] Failing: doveadm sync <--remote host--> dsync mirror Michael Grimm Tue Feb 21 10:00:41 2012

Hi --

On 21.02.2012, at 02:02, Timo Sirainen wrote:
> On 18.2.2012, at 20.26, Michael Grimm wrote:

>> doveadm(test): Fatal: All your namespaces have a location setting. It should 
>> be empty (default mail_location) in the namespace to be converted.
> 
> Fixed: http://hg.dovecot.org/dovecot-2.1/rev/488fe9d417eb

Hmm, now I cannot clients any longer:

dovecot: master: Dovecot v20120221 (7d0d76df719f+) starting up
dovecot: imap-login: Login: user=<test>, method=PLAIN, rip=xxx.xxx.xxx.xxx, 
lip=yyy.yyy.yyy.yyy, mpid=65444, TLS
dovecot: imap(test): Error: user test: Initialization failed: mail_location not 
set and autodetection failed: Mail storage autodetection failed with 
home=/var/mail/.homedirs/test
dovecot: imap(test): Error: Invalid user settings. Refer to server log for more 
information.
[... repeated for every user clients are trying to connect ...]

I switched back immediately (production server), thus I didn't test if dsync 
might run now.

Here's the relevant part of my config:

        mail_home = /var/mail/.homedirs/%n
        mail_location = mdbox:/var/mail/.maildirs/%n

User's individual mail storage formats are fetched from userdb (sqlite3), which 
normally are mdbox, except for test which is sdbox.


Any idea what to test next?

Thanks and regards,
Michael