Dave's Brain

Browse - Computer Tips - How do I keep a backup copy of all mail sent by my Postfix server?

Date: 2008nov12
Keywords: backup
Product: postfix

Q.  How do I keep a backup copy of all mail sent by my Postfix server?

A.  There are several ways but this seems like the easiest:

As root create a new user:

useradd mail_backup
Edit the /etc/postfix/main.cf to have:
always_bcc = mail_backup
Restart postfix:
systemctl restart postfix

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.