[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@example.com mailbox Spamreport doveadm(user@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
On 25.4.2013, at 11.51, Oli Schacher dovecot@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@example.com mailbox Spamreport doveadm(user@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.
On Mon, 6 May 2013 17:30:51 +0300 Timo Sirainen tss@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
participants (2)
-
Oli Schacher
-
Timo Sirainen