"Fábio M. Catunda"
2007-Sep-19 12:05 UTC
[Dovecot] Howto make deleted itens visible to users?
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 } namespace private { prefix = .DELETED/ separator = / location = maildir:~/Maildir/.Apagadas } namespace private { prefix = .DELETED/.EXPUNGED/ separator = / location = maildir:~/Maildir/.Apagadas/ } But neither OE nor TB shows the messages. (yes, i subscribed the ".Apagadas" maildir). Anybody can give me this little tip? Thanks a lot. []'s, Catunda! !DSPAM:46f1105715318362916074!
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.". -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070922/665dadc6/attachment-0002.bin>
"Fábio M. Catunda"
2007-Sep-22 22:28 UTC
[Dovecot] Howto make deleted itens visible to users?
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!