[Dovecot] Howto make deleted itens visible to users?

"Fábio M. Catunda" catunda at contactnet.com.br
Sun Sep 23 01:28:24 EEST 2007


Thanks for your replay Timo!

What I realy would like is to have a single folder like "Deleted 
Messages" or something else where all deleted messages go to.

But I imagine that its not possible couse a maildir cant have messages 
and folders inside it, right? So, if the user deletes an imap folder it 
must go to a different location than deleted messages. I'm not pretty 
sure about that, but I have been reading a bit and I belive that its true.

Anyway, is there a way to have all deleted messages in one folder, even 
it it have been deleted from another folder, something like:

/INBOX
/DRAFTS/
/NAGIOSWARNINGS/
        /Message1
        /Message2
        /Message3
/Deleted/

When I delete Message1 it goes to /Deleted
When I delete NAGIOSWARNINS, then Message1, Message2 and Message3 gost 
to /Deleted.
If I delete an empty folder it goes to /dev/null :-)

Thankz a lot and sorry about my poor english!

Timo Sirainen wrote:
> On Wed, 2007-09-19 at 09:05 -0300, "Fábio M. Catunda" wrote:
>   
>> Hi!
>>
>> I'm using lazy_expunge to backup that are deleted/expunged, but I would 
>> like it to be visible to the user.
>>
>> I tried something like:
>> namespace private {
>>   prefix = .EXPUNGED/
>>   separator = /
>>   location = maildir:~/Maildir/.Apagadas
>> }
>>     
>
> I guess ~/Maildir is visible in default namespace? You shouldn't do
> that. The locations should be different for each of these namespaces and
> they shouldn't be visible in other namespaces.
>
> The clients would see them under ".EXPUNGED" mailbox. You may want to
> change that prefix to something else, like "Expunged messages/". Also
> since you're using '/' separator here, you must be using '/' separator
> in your default namespace as well. If you aren't, change the separator
> in these namespaces also, and use a prefix such as "Expunged messages.".
>
>   


!DSPAM:46f596af81761392120616!



More information about the dovecot mailing list