[Dovecot] Keep a copy of email.

mouss mouss at ml.netoyen.net
Sun Nov 7 01:22:54 EET 2010


Le 05/11/2010 19:02, Henrique Fernandes a écrit :
> Can dovecot-lda, keep a copy of any email that it receives in a diferente
> folder ?
>
>
> Like if user at domain.com get an email. It goes to user at domain.com inbox and
> goes to other folder..diferente that his mailboxes ?
>
> I want this with all users. Can it be done ?
>
> If not, does any one have any ideia how could it be done ?
>
> We are having serius problems with backups, with this  we gona be able to at
> least save one or two days of each emails, than rotate them again.
>
> I though about using postfix always_bcc, but would be everyones emails only
> in one account.

recipient_bcc_maps = pcre:/etc/postfix/recipient_bcc.pcre

== recipient_bcc.pcre
/^(.*)@(example\.com)/    $1=$2 at bcc.example.org


>   Though in migh use sieve for filter this acount and separete
> it for each folder.. but i don't guess sieve could get a parameter from the
> email to make a filter.. or can it ?
>
> like, if email from user2 at domain.com it goes to user2 folder, but this user2
> would be variable, otherwise i have to create a sieve too bigm and would
> work i guess.
>
> Well, i am open to ideas.
>
> Thanks!
>
> []'sf.rique
>



More information about the dovecot mailing list