From 842bd85d87262ace3f7b79bad8c7e37303bf6bee Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Mon, 18 Aug 2014 12:23:59 +0100 Subject: Consistency with postfix guide --- docs/installing/email.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'docs/installing/email.md') diff --git a/docs/installing/email.md b/docs/installing/email.md index e443ed1bb..775e45ffa 100644 --- a/docs/installing/email.md +++ b/docs/installing/email.md @@ -203,17 +203,18 @@ Create `/etc/exim4/conf.d/transport/04_alaveteli`, which sets the properties of group = ALAVETELI_USER EOF -And, assuming you set [`INCOMING_EMAIL_PREFIX`]({{ site.baseurl }}docs/customising/config/#incoming_email_prefix) in your config at -`config/general.yml` to "foi+", create `config/aliases` with the -following command. This defines the special addresses that the `router` -and `transport` will apply to with a regular expression. It also defines -the pipe command to be used: + +
+ This guide assumes you have set INCOMING_EMAIL_PREFIX to foi+ in config/general.yml +
+ +Create the `config/aliases` file that the `alaveteli_request` exim `router` sources. This pipes mail from the special address to `script/mailin` and the `backupfoi` user. cat > /var/www/alaveteli/config/aliases <<'EOF' ^foi\\+.*: "|/var/www/alaveteli/script/mailin", backupfoi EOF -That's assuming that Alaveteli is running from `/var/www/alaveteli`. If it isn't, substitute the path it is running from. +_Note:_ Replace `/var/www/alaveteli` with the correct path to alaveteli if required. #### Set up your contact email recipient groups -- cgit v1.2.3