Re: [Dovecot] Recipe for admin-less restore

2012-08-26 Thread Laurent CARON

On 26/08/2012 18:47, Ralf Hildebrandt wrote:

Is there a way for setting up dovecot in such a way that a user can
jump back in time to an old mailbox state in order to retrieve his
accidentially deleted mail?


Hi,

We use snapshots for this

namespace snaps-h-2 {
  prefix = INBOX.EmailBackup.h-2.
  hidden = no
  list = yes
  inbox = no
  location = 
maildir:/home/.snapshot/hourly.0/%u/Maildir:INDEX=/var/tmp/dovecot/indexes/hourly.0/%u:CONTROL=/var/tmp/dovecot/control/hourly.0/%u

  type = private
}




[Dovecot] Accessing maildir snapshots through dovecot

2012-03-19 Thread Laurent CARON
Hi,

I'm currently having a fairly simple setup:
- users (real, not virtual) 
- Maildir storage (over NFS)
- 1 namespace

I'm currently trying to render the storage snapshots available through
dovecot (to allow my users to browse their mail history).

dovecot.conf:
namespace {
  inbox = yes
  location =
  prefix = INBOX.
  type = private
}


I did the following modifications:
dovecot.conf:
namespace snaps-h0 {
  prefix = INBOX.EmailBackup.h0.
  hidden = no
  list = yes
  inbox = no
  location = 
maildir:/home/.snapshot/hourly.0/%u/Maildir:INDEX=/var/tmp/dovecot/indexes/hourly.0/%u:CONTROL=/var/dovecot/control/hourly.0/%u
  type = private
}

Problem: 
I don't see the content of the inbox folder contained in the snapshots
(subfolders are perfectly viewed).

Do any of you have a clue on how to render it visible ?

Thanks

Laurent




Re: [Dovecot] Accessing maildir snapshots through dovecot

2012-03-19 Thread Laurent CARON

On 19/03/2012 14:57, Timo Sirainen wrote:

So the INBOX mails would be in /home/.snapshot/hourly.0/%u/Maildir/{cur|
new} directories? The INBOX should be accessible via the
INBOX.EmailBackup.h0 folder itself. If it's not, you may need to use a
newer Dovecot version.



It's not actually.

Sorry for the obvoius info I didn't give.

I'm currently using dovecot 2.0.7

Regards,

Laurent


Re: [Dovecot] Accessing maildir snapshots through dovecot

2012-03-19 Thread Laurent CARON

On 19/03/2012 15:05, Laurent CARON wrote:

On 19/03/2012 14:57, Timo Sirainen wrote:

So the INBOX mails would be in /home/.snapshot/hourly.0/%u/Maildir/{cur|
new} directories? The INBOX should be accessible via the
INBOX.EmailBackup.h0 folder itself. If it's not, you may need to use a
newer Dovecot version.



It's not actually.

Sorry for the obvoius info I didn't give.

I'm currently using dovecot 2.0.7

Regards,

Laurent


Upgrading did the trick.

Thanks


Re: [Dovecot] May Dovecot help in users education

2011-08-17 Thread Laurent CARON

On 17/08/2011 16:00, Alexandre Chapellon wrote:

Is there any way to achieve this with dovecot? Does anybody have another
idea smoothly force used to switch to TLS?


Hi,

Maybe by sending them an email with a deadline for the end of clear text 
auth support ?


If they don't amend their setup they'll be unable to retrieve their emails.

Should you want to go the nicer way, you could throttle bandwidth to 
port 110/143 provided you use those for insecure connections.





[Dovecot] Invalid cross-device link while trying to delete folder - Dovecot 2.0.7

2011-06-20 Thread Laurent CARON
Hi,

I'm having the following setup.

2 datastores mounted as:
/home/
and
/data/mail2/

I have 2 namespaces:
namespace archives-baie {
  prefix = INBOX.Extra-001.
  hidden = no
  list = yes
  inbox = no
  location = maildir:/data/mail2/%u/Maildir
  type = private
}

namespace {
  inbox = yes
  location =
  prefix = INBOX.
  type = private
}

When trying to trash some folder from the second namespace, I get the
following error in the logs:


imap(USER): Error: rename(/data/mail2/USER/Maildir/.Archives.20112,
/home/USER/Maildir/.Trash.20112) failed: Invalid cross-device link

In my config I have:
maildir_copy_with_hardlinks = no

Do you have a clue about this issue ?

Thanks


[Dovecot] Server load while using Zlib compression

2009-09-08 Thread Laurent CARON

Hi,

I wonder if some users are using this plugin on production setups.

If yes, how does it perform in terms of cpu load compared with the same 
setup without compression ?


Thanks

Laurent