I am looking for something that is similar to replication, but without a second server. I currently have a system setup using postfix bcc to write out copies of all email, but what I would rather do is just have all the mail written to /usr/local/virtual/%u/Maildir and also to /backup/usr/local/virtual/%u/Maildir (for example) as this will make restoring messages much simpler.
-- Gods don't like people not doing much work. People who aren't busy all the time might start to think.
On 12 Jul 2019, at 16:15, @lbutlr via dovecot <dovecot@dovecot.org> wrote:
I am looking for something that is similar to replication, but without a second server. I currently have a system setup using postfix bcc to write out copies of all email, but what I would rather do is just have all the mail written to /usr/local/virtual/%u/Maildir and also to /backup/usr/local/virtual/%u/Maildir (for example) as this will make restoring messages much simpler.
Note: doveadm backup is not a solution because it replicates the current state of the mailstore, what I need is a separate backup that is not altered by user’s screwing things up or accidentally deleting mail.
Certainly, a way to expire older mails from the backup would be great, but the crucial “feature” is that the backup doesn’t delete any mails based on user action.
-- And I was grounded while you filled the skies I was dumbfounded by truth; you cut through lies
On 12 Jul 2019, at 16:15, @lbutlr via dovecot <dovecot@dovecot.org> wrote:
I am looking for something that is similar to replication, but without a second server. I currently have a system setup using postfix bcc to write out copies of all email, but what I would rather do is just have all the mail written to /usr/local/virtual/%u/Maildir and also to /backup/usr/local/virtual/%u/Maildir (for example) as this will make restoring messages much simpler.
Any ideas on how to do this?
A sort of copy on save function.
-- From deep inside the tears that I'm forced to cry From deep inside the pain I--I chose to hide
participants (1)
-
@lbutlr