Creating a backup of incoming mail

LuKreme kremels at kreme.com
Tue Sep 9 07:05:54 UTC 2014


> On 06 Sep 2014, at 18:20 , Will Yardley <dovecot.org at veggiechinese.net> wrote:
> 
> On Mon, Sep 01, 2014 at 09:33:52AM +0200, Patrick De Zordo wrote:
>> To backup all mail (incoming and outgoing), BCC all mails, you could
>> do the following..
> 
>> Add to your "/etc/postfix/main.cf" the following:
>> ---8<-------------------------------------------------------------------------------------
>> # Auto-Backup all mails
>> transport_maps = hash:/etc/postfix/transport
>> backuplmtp_destination_recipient_limit = 1
>> lmtp_destination_recipient_limit = 1
>> recipient_bcc_maps = pcre:/etc/postfix/backup_bcc.pcre
>> sender_bcc_maps = pcre:/etc/postfix/backup_bcc.pcre
> 
> Why not just use $always_bcc?

Does that apply to INCOMING mail? (that's what I am trying to backup)


-- 
'I warn you, dragon, the human spirit is-' They never found out what it
was, or at least what he thought it was, although possibly in the dark
hours of a sleepless night some of them might have remembered the
subsequent events and formed a pretty good and gut-churning insight, to
whit, that one of the things sometimes forgotten about the human spirit
is that while it is, in the right conditions, noble and brave and
wonderful, it is also, when you get right down to it, only human.



More information about the dovecot mailing list