diff options
-rw-r--r-- | doc/CHANGES.md | 3 | ||||
-rw-r--r-- | doc/INSTALL-exim4.md | 19 |
2 files changed, 20 insertions, 2 deletions
diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 1cb81d585..c7424c8e9 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -11,7 +11,8 @@ ## Highlighted features * Complete overhaul of design, including improved search, modern look and feel, more twitter links, etc * A banner alerts visitors from other countries to existing sites in their country, or exhorts them to make their own -* Bounce emails that result from user alerts are automatically processed and hard bouncing accounts do not continue to receive alerts +* Bounce emails that result from user alerts are automatically processed and hard bouncing accounts do not continue to receive alerts. + See the new instructions in INSTALL-exim4.md for details of how to set this up. # Version 0.3 diff --git a/doc/INSTALL-exim4.md b/doc/INSTALL-exim4.md index 6a0e1247e..0f5dda547 100644 --- a/doc/INSTALL-exim4.md +++ b/doc/INSTALL-exim4.md @@ -17,7 +17,7 @@ In `/etc/exim4/conf.d/router/04_alaveteli`: In `/etc/exim4/conf.d/transport/04_alaveteli`: alaveteli_mailin_transport: - driver = pipe + driver = pipe command = $address_pipe ${lc:$local_part} current_directory = ALAVETELI_HOME home_directory = ALAVETELI_HOME @@ -30,6 +30,23 @@ content: ^foi\\+.*: |/path/to/alaveteli/software/script/mailin +You should also configure exim to discard any messages sent to the `BLACKHOLE_PREFIX` +address, whose default value is 'do-not-reply-to-this-address'. For example, add the +following to config/aliases: + + # We use this for envelope from for some messages where we don't care about delivery + do-not-reply-to-this-address: :blackhole: + +If you want to make use of the automatic bounce-message handling, then set the `TRACK_SENDER_EMAIL` +address to be filtered through `script/handle-mail-replies`. Messages that are not bounces or +out-of-office autoreplies will be forwarded to `FORWARD_NONBOUNCE_RESPONSES_TO`. For example, +in WhatDoTheyKnow the configuration looks like this: + + raw_team: [a list of people on the team] + team: |/path/to/alaveteli/software/script/handle-mail-replies + +with `FORWARD_NONBOUNCE_RESPONSES_TO: 'raw_team@whatdotheyknow.com'` + Finally, make sure you have `dc_use_split_config='true'` in `/etc/exim4/update-exim4.conf.conf`, and execute the command `update-exim4.conf` |