From 7189f5f28b933e06d056138aec1c22f901f8998b Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Thu, 14 Aug 2014 13:29:15 +0100 Subject: Improve postfix backup email section --- docs/installing/email.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'docs/installing/email.md') diff --git a/docs/installing/email.md b/docs/installing/email.md index f1164b28e..340ba90d9 100644 --- a/docs/installing/email.md +++ b/docs/installing/email.md @@ -145,12 +145,20 @@ 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/main.cf` +#### Backup request mail + +You can copy all incoming mail to Alaveteli to a backup account to a separate mailbox, just in case. + +Create a UNIX user `backupfoi` + + adduser --quiet --disabled-password \ + --gecos "Alaveteli Mail Backup" backupfoi + +Add the following line to `/etc/postfix/main.cf` recipient_bcc_maps = regexp:/etc/postfix/recipient_bcc -Create `/etc/postfix/recipient_bcc` with the following command: +Configure mail sent to an `foi+` prefixed address to be sent to the backup user: cat > /etc/postfix/recipient_bcc <