diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-08-14 13:45:07 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-08-14 14:59:36 +0100 |
commit | efa5edccff80a2d7c53e3bc06119ebe692a61375 (patch) | |
tree | 156012a3c47f3a418bb495703199ef417bc2c889 /docs/installing/email.md | |
parent | 9ab118fd017d2ec8464a404d7b7774402ced2f4e (diff) |
Create section for discarding blackhole email
Diffstat (limited to 'docs/installing/email.md')
-rw-r--r-- | docs/installing/email.md | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/installing/email.md b/docs/installing/email.md index 4b114a68f..17dd81ecf 100644 --- a/docs/installing/email.md +++ b/docs/installing/email.md @@ -192,11 +192,17 @@ To set up recipient groups for the `postmaster@`, `team@` and `user-support@` em user-support: team EOF -You should also configure postfix 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 `/etc/aliases`: +#### Discard unwanted incoming email - # We use this for envelope from for some messages where - # we don't care about delivery - do-not-reply-to-this-address: /dev/null +Configure postfix 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`: + + cat >> /etc/aliases <<EOF + # We use this for envelope from for some messages where + # we don't care about delivery + do-not-reply-to-this-address: /dev/null + EOF + +If you have set [`BLACKHOLE_PREFIX`]({{ site.baseurl }}docs/customising/config/#blackhole_prefix) address, replace `do-not-reply-to-this-address` with the address you have configured. #### Filter incoming messages to site admin addresses |