[Dovecot] Know when a Folder is Expunged or Deleted

Alex Baule alexwbaule at gmail.com
Mon Nov 1 18:26:40 EET 2010


Hi Timo and Everyone....


There is a way to know when a folder it's been deleted ? And if this folder
is empty ?

Let's explain why...

I intercept the expunge function, to treat my files expunged, but when i
expunge a folder, this function it's not called, and my emails don't get my
treatment to be expunged.

Basically i need to do something like this:

It's empty ? No --> return OK but Dont Delete folder, because it's not
empty.
                  Yes --> Return OK and Delete the Folder to be expunged.

Tks !


More information about the dovecot mailing list