diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-08-08 10:25:43 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-08-08 10:25:43 +0100 |
commit | 164b8a53373366a58599a1dddd9302800611236a (patch) | |
tree | 151b9c33bd534df37c227fd637f960b9d85326db /docs/installing/email.md | |
parent | 793f2d3eac816012a1120dabf9639074fd3f4e06 (diff) |
Create new files with a cut-and-pasteable command
Diffstat (limited to 'docs/installing/email.md')
-rw-r--r-- | docs/installing/email.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/installing/email.md b/docs/installing/email.md index 697da009d..5cae9b772 100644 --- a/docs/installing/email.md +++ b/docs/installing/email.md @@ -61,16 +61,20 @@ and update the mydestinations line (which determines what domains this machine w 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 -content: +command: + cat > /etc/postfix/transports <<EOF /^foi.*/ alaveteli + EOF -Create `/etc/postfix/recipients` with the following content: +Create `/etc/postfix/recipients` with the following command: + cat > /etc/postfix/recipients <<EOF /^foi.*/ this-is-ignored /^postmaster@/ this-is-ignored /^user-support@/ this-is-ignored /^team@/ this-is-ignored + EOF You should also configure postfix to discard any messages sent to the [`BLACKHOLE_PREFIX`]({{ site.baseurl }}docs/customising/config/#blackhole_prefix) |