Oli Schacher
2013-Apr-25 08:51 UTC
[Dovecot] doveadm search causes replication error message
Hi # 2.2.1 (83d83f55e5c2+) / dsync replicated setup I just noticed that 'doveadm search' apparently tries to replicate mailboxes and spits out errors if a mailbox in the search query is not found: #doveadm search -u user at example.com mailbox Spamreport doveadm(user at example.com): Error: Syncing mailbox Spamreport failed: Mailbox doesn't exist: Spamreport this is especially problematic with -A searches as this causes a error message for every user which doesn't have that folder. Is this a bug or intended behaviour? Should I just 2>/dev/null these errors in doveadm scripts? Thanks Oli -- message transmitted on 100% recycled electrons
Timo Sirainen
2013-May-06 14:30 UTC
[Dovecot] doveadm search causes replication error message
On 25.4.2013, at 11.51, Oli Schacher <dovecot at lists.wgwh.ch> wrote:> # 2.2.1 (83d83f55e5c2+) / dsync replicated setup > > I just noticed that 'doveadm search' apparently tries to replicate > mailboxes and spits out errors if a mailbox in the search query is not > found: > > #doveadm search -u user at example.com mailbox Spamreport > doveadm(user at example.com): Error: Syncing mailbox Spamreport > failed: Mailbox doesn't exist: Spamreport > > this is especially problematic with -A searches as this causes a error > message for every user which doesn't have that folder. > Is this a bug or intended behaviour? Should I just 2>/dev/null these > errors in doveadm scripts?Not related to replication, but yeah, probably better to just ignore nonexistent mailboxes. Changed in hg.
Oli Schacher
2013-May-06 14:43 UTC
[Dovecot] doveadm search causes replication error message
On Mon, 6 May 2013 17:30:51 +0300 Timo Sirainen <tss at iki.fi> wrote:> > Not related to replication, but yeah, probably better to just ignore > nonexistent mailboxes. Changed in hg. >ah, sorry, I thought "Syncing mailbox" meant "dsync". Anyway, thanks for the fix! -- message transmitted on 100% recycled electrons