[Dovecot] mail archiving

Andreas Ntaflos daff at dword.org
Sat Oct 10 08:30:43 EEST 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://dovecot.org/pipermail/dovecot/attachments/20091010/98833881/attachment.bin 


More information about the dovecot mailing list