aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-08-08 15:33:11 +0100
committerLouise Crow <louise.crow@gmail.com>2014-08-08 16:08:05 +0100
commit7e9dc828682335975e395e1994011df6675897bd (patch)
tree4323c09b5a92edfebb30a5b836cda4fb733a4d1d /docs
parent44ec8967fca38d9f0064e245ac82d23651b17e0b (diff)
Add backup info
Diffstat (limited to 'docs')
-rw-r--r--docs/installing/email.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/installing/email.md b/docs/installing/email.md
index d52b30823..b3514d719 100644
--- a/docs/installing/email.md
+++ b/docs/installing/email.md
@@ -148,6 +148,18 @@ command:
This means that all incoming mail that starts `foi+` will be piped to `/var/www/alaveteli/script/mailin` as specified in `/etc/postfix/master.cf` at the start of this section.
+You can copy all incoming mail to Alaveteli to a backup account to a separate mailbox, just in case. Create a UNIX user `backupfoi`, and add the following line to
+`/etc/postfix/master.cf`
+
+ recipient_bcc_maps = regexp:/etc/postfix/recipient_bcc
+
+Create `/etc/postfix/recipient_bcc` with the following command:
+
+ cat > /etc/postfix/recipient_bcc <<EOF
+ /^foi.*/ backupfoi
+ EOF
+
+
#### Define the valid recipients for your domain
Create `/etc/postfix/recipients` with the following command:
@@ -242,6 +254,7 @@ As the root user, make all these changes live with the following commands:
newaliases
postmap /etc/postfix/transports
postmap /etc/postfix/recipients
+ postmap /etc/postfix/recipient_bcc
postfix reload
#### Troubleshooting (postfix)