diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-08-14 13:36:59 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-08-14 14:57:38 +0100 |
commit | a91d0e79165c5876954d5570d2b550a660e8d013 (patch) | |
tree | 73ffd0f3e7fcbc8d42394ffd8a7da38efca44658 /docs/installing/email.md | |
parent | 7189f5f28b933e06d056138aec1c22f901f8998b (diff) |
Improve clarity of sending foi+ mail to the pipe
Diffstat (limited to 'docs/installing/email.md')
-rw-r--r-- | docs/installing/email.md | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/installing/email.md b/docs/installing/email.md index 340ba90d9..a8370e3d9 100644 --- a/docs/installing/email.md +++ b/docs/installing/email.md @@ -134,17 +134,16 @@ In `/etc/postfix/main.cf` update the `mydestination` line (which determines what mydestination = example.com, localhost.localdomain, localhost -And, assuming you set -[`INCOMING_EMAIL_PREFIX`]({{ site.baseurl }}docs/customising/config/#incoming_email_prefix) -in `config/general` to "foi+", create `/etc/postfix/transports` with the following -command: +<div class="attention-box"> +This guide assumes you have set <a href="{{ site.baseurl }}docs/customising/config/#incoming_email_prefix"><code>INCOMING_EMAIL_PREFIX</code></a> to <code>foi+</code> in <code>config/general.yml</code> +</div> + +Pipe all incoming mail where the `To:` address starts with `foi+` to the `alaveteli` pipe (`/var/www/alaveteli/script/mailin`, as specified in `/etc/postfix/master.cf` at the start of this section): cat > /etc/postfix/transports <<EOF /^foi.*/ alaveteli EOF -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. - #### Backup request mail You can copy all incoming mail to Alaveteli to a backup account to a separate mailbox, just in case. |