sieve: active= doesn't seem to use bindir=

2021-10-05 Thread David Mandelberg
Hi, I'm trying to set up dovecot to read sieve source files from a read-only directory, and save compiled binaries to a separate directory with the bindir option. That worked when I pointed the sieve option at a single file, but I just changed it to point at a directory and added the active=

Re: sieve: active= doesn't seem to use bindir=

2021-10-05 Thread David Mandelberg
Op 05-10-2021 om 15:03 schreef dove...@ptld.com: It looks like dovecot is trying to save the compiled active script to the same directory as the source file, instead of to bindir. Am I missing something? sieve =     file:/usr/local/etc/mail/%{domain}/%{username}/sieve; active=/usr/local/etc/ma

writing Maildir subscriptions file outside of dovecot

2021-10-06 Thread David Mandelberg
Hi, Is it safe to write to the Maildir subscriptions file directly? I'm trying to figure out a way to make sure the subscriptions match the actual folders exactly. I know how to subscribe to existing mailboxes with `doveadm mailbox list` and `doveadm mailbox subscribe`, but the latter seems t

Re: writing Maildir subscriptions file outside of dovecot

2021-10-07 Thread David Mandelberg
Op 07-10-2021 om 02:33 schreef Aki Tuomi: On 06/10/2021 22:52 David Mandelberg wrote: Hi, Is it safe to write to the Maildir subscriptions file directly? I'm trying to figure out a way to make sure the subscriptions match the actual folders exactly. I know how to subscribe to exi

dsync error: Received unexpected input d != N

2021-11-02 Thread David Mandelberg
Hi, I'm trying to set up replication with dsync, and I'm getting errors like this: dsync-local(da...@mandelberg.org)<...>: Error: dsync(...): Received unexpected input d != N I tried the `doveadm -D sync` command from https://doc.dovecot.org/configuration_manual/replication/#administration

Re: dsync error: Received unexpected input d != N

2021-11-03 Thread David Mandelberg
Op 02-11-2021 om 22:43 schreef David Mandelberg: Hi, I'm trying to set up replication with dsync, and I'm getting errors like this: I figured it out :) dsync-local(da...@mandelberg.org)<...>: Error: dsync(...): Received unexpected input d != N To debug this, I changed dsy

disable sieve replication with dsync

2021-11-03 Thread David Mandelberg
Hi, I think I got dsync working for mail, but I'm getting these errors: Error: sieve: file storage: mkdir_parents_chgrp(/usr/local/etc/mail/mandelberg.org/david/sieve/tmp) failed: Read-only file system I'm managing sieve files externally, and I don't want any part of dovecot writing to them

\Noselect isn't set on namespace prefix mailbox that can't be selected

2017-08-18 Thread David Mandelberg
Hi, I tried using Nextcloud's Mail app to access my dovecot server (version: 2.2.27 (c0f36b0)), and got an error. The relevant imap log is: C: 3 LIST () "" (*) RETURN (SPECIAL-USE) ... S: * LIST () "/" Archives ... C: 6 STATUS Archives (MESSAGES) S: 6 NO Mailbox isn't selectable (0.000 + 0.000