[Dovecot] mail archiving

Nikolai K. Bochev n.bochev at grandstarco.com
Sat Oct 10 10:14:30 EEST 2009


Could you show us an example how do you do this ? I'm really intersted in such solution.

----- Original Message -----
From: "Andreas Ntaflos" <daff at dword.org>
To: dovecot at dovecot.org
Sent: Saturday, October 10, 2009 8:30:43 AM
Subject: Re: [Dovecot] mail archiving

On Friday 09 October 2009 17:18:53 dhottinger at harrisonburg.k12.va.us 
wrote:
> Im curious if anyone is archiving emails and what they are using.  I
> currently utilize sendmail/procmail/dovecot.

What exactly do you mean by archiving? 

We use Postfix and Dovecot to backup any sent and received mail for our 
users. Postfix, using sender_bcc_maps, resends any mail to the sending 
user via an address extension (i.e. mail sent by foo at example.org gets 
resent to foo+sent at example.org) and Dovecot with Sieve, using the 
sieve_before directive, filters such sent mail into a private namespace 
that is hidden from the user (Backup/sent).

Backing up received mail works very similar (ending up in 
Backup/received) but Postfix is not involved; this is a job for Sieve 
alone, again using the sieve_before directive and an appropriate script. 

So Postfix/Dovecot/Sieve. If ACLs worked a bit better in 1.2.x [1] I 
could even make the Backup namespace visible to its user and just 
ensure, via ACLs, that the user cannot delete any messages in this 
namespace. But this'll have to wait for 2.0 I believe.

Does that answer your question?

Andreas

[1] http://dovecot.org/list/dovecot/2009-September/042783.html
-- 
Andreas Ntaflos 

GPG Fingerprint: 6234 2E8E 5C81 C6CB E5EC  7E65 397C E2A8 090C A9B4


More information about the dovecot mailing list