diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-08-18 12:36:04 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-08-18 16:36:21 +0100 |
commit | f5c7433963b86f54aaefc5051637ced2affa4ca2 (patch) | |
tree | f515f98121a5f947b1e847f4c2d7458aa8e60373 /docs/installing/email.md | |
parent | fc11a8258c062d5e3e65ca3644c0610e57cde83a (diff) |
Create exim section for unwanted email
Diffstat (limited to 'docs/installing/email.md')
-rw-r--r-- | docs/installing/email.md | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/installing/email.md b/docs/installing/email.md index 56131a2d8..c5bfba130 100644 --- a/docs/installing/email.md +++ b/docs/installing/email.md @@ -223,14 +223,17 @@ To set up recipient groups for the `team@` and `user-support@` email addresses a team: user@example.com, otheruser@example.com user-support: team -You should also configure exim to discard any messages sent to the -[`BLACKHOLE_PREFIX`]({{ site.baseurl }}docs/customising/config/#blackhole_prefix) -address, whose default value is -`do-not-reply-to-this-address`. For example, add the following to -`config/aliases`: +#### Discard unwanted incoming email + +Configure exim to discard any messages sent to the [`BLACKHOLE_PREFIX`]({{ site.baseurl }}docs/customising/config/#blackhole_prefix) address, whose default value is `do-not-reply-to-this-address` - # We use this for envelope from for some messages where we don't care about delivery + cat >> /var/www/alaveteli/config/aliases <<EOF + # We use this for envelope from for some messages where + # we don't care about delivery do-not-reply-to-this-address: :blackhole: + EOF + +_Note:_ Replace `/var/www/alaveteli` with the correct path to alaveteli if required. #### Filter incoming messages to admin addresses |