[Dovecot] trash plugin not doing it's job

Jan-Frode Myklebust janfrode at tanso.net
Sun Oct 21 19:45:18 EEST 2012


On Sat, Oct 20, 2012 at 3:51 PM, Daniel Parthey
<daniel.parthey at informatik.tu-chemnitz.de> wrote:
> Jan-Frode Myklebust wrote:
>> $ cat /etc/dovecot/dovecot-trash.conf.ext
>> # Spam mailbox is emptied before Trash
>> 1 INBOX.Spam
>> # Trash mailbox is emptied before Sent
>> 2 INBOX.Trash
>
> Are you sure the Trash Folder of the affected users is located below "INBOX"?
> doveadm mailbox list -u user at domain | grep -iE "trash|spam"

$ sudo doveadm mailbox list -u XXXXX at example.no
INBOX
INBOX.Drafts
INBOX.Sent
INBOX.Spam
INBOX.Trash


> Example at http://wiki2.dovecot.org/Plugins/Trash omits "INBOX."
> Have you tried INBOX/Trash as mailbox name?

No, should I, when my prefix is "INBOX." and separator is "." ?

namespace {
  hidden = no
  inbox = yes
  list = yes
  location =
  prefix = INBOX.
  separator = .
  subscriptions = yes
  type = private
}


BTW: I think it's mostly working.. as the number or quota exceeded
messages has clearly dropped since implementing it, but I do find a
few users that get quota exceeded and has lots of messages in
INBOX.Trash og INBOX.Spam..



  -jf



More information about the dovecot mailing list