> -----Ursprüngliche Nachricht----- > Von: dovecot [mailto:dovecot-boun...@dovecot.org] Im Auftrag von James > TD Smith > Gesendet: Donnerstag, 5. Juni 2014 18:29 > An: dovecot@dovecot.org > Betreff: Re: [Dovecot] General questions about TCP replication with dsync > > On 2014-06-05 17:39:26(+0200), Patrick De Zordo wrote: > > > > > > 2. Question (much more important): > > > > > > > > > > > > We are using sieve scripts for our users, they are replicated > > > > > > to the replica-host but this errors appears in logs on every > > > > > > synchronized > > > message: > > > > > > > > > > > > ---8<--------------------------------------------------------- > > > > > > ---- > > > > > > --------- > > > > > > dsync-server(em...@example.com): Error: Failed to access > > > > > > mailbox > > > > > > dovecot/sieve: Internal error occurred. Refer to server log > > > > > > for more information. > > > > > > > > > > > > dsync-server(em...@example.com): Error: > > > > > > stat(/var/vmail/example.com/email/.dovecot.sieve/tmp) failed: > > > > > > Not a directory > > > > > > > > > > > > ---8<--------------------------------------------------------- > > > > > > ---- > > > > > > --------- > > > > > > > > > > > > So what’s going on there? > > > > > > > > > > > > This is strange and should not be, right? > > > > > > > > > > > > Any hints? > > > > > > It looks like it thinks the .dovecot.sieve file should be a Maildir. > > > Are you using the Maildir++ format for your mail stores? That uses > > > "." as a separator for mailbox names. You might want to try changing > > > the "sieve" config option from ".dovecot.sieve" to something which > > > doesn't contain dots and rename the files to match. > > > > > > > I'm using "/" as separator ("separator = /" in configuration).. > > SO it shouldn't be the problem.. > > That parameter controls how the mailbox names are presented over IMAP, > not how they are stored on disk. If you run "doveadm mailbox list -u > em...@example.com" > you'll get a list like > > INBOX > Sent > Drafts > MailingLists/dovecot > > etc, but if you look in /var/vmail/example.com/email you'll see something > like > > cur/ > new/ > tmp/ > .Sent/ > .Drafts/ > .MailingList.dovecot/ > > If you add LAYOUT=fs to the mail_location option it will store the mailboxes > as a directory hierarchy. You'll need to convert all the mailboxes to the new > layout, changing the sieve file name will be much less work. >
Absolutely TRUE! In http://wiki2.dovecot.org/Pigeonhole/ManageSieve/Configuration there is this little very small paragraph: " . Note: It is not wise to place this link inside your mail store, as it may be mistaken for a mail folder. Inside a maildir for instance, the default .dovecot.sieve would show up as phantom folder /dovecot/sieve in your IMAP tree." But in the example configuration they use "sieve = ~/.dovecot.sieve", well probably no one is using Maildir? ;-) DAMN! A day full of researches because of this little error.. Well thank you very much for pointing me on the right way! > http://wiki2.dovecot.org/MailLocation/Maildir > > > Is your sync up and running? With sieve scripts? > > Yes, my sync works. I don't use sieve though. > > James > > -- > }-<James TD Smith>-<email/ahktenz...@mohorovi.cc>-{