aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-08-18 15:57:18 +0100
committerLouise Crow <louise.crow@gmail.com>2014-08-18 15:57:43 +0100
commit1f964b3e67399ae4e9c6b522950bf7ea967cd267 (patch)
treec5608b9de45be293c404c509e7a5ae3cceec1feb /docs
parent7a7bac68f57e8800135a1513c484619245fa69b9 (diff)
Add more detail to the different parts of the delivery process in exim
Diffstat (limited to 'docs')
-rw-r--r--docs/installing/email.md13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/installing/email.md b/docs/installing/email.md
index 92980f7bb..87915315f 100644
--- a/docs/installing/email.md
+++ b/docs/installing/email.md
@@ -164,7 +164,7 @@ Setting `extract_addresses_remove_arguments` to `false` gets exim to treat the `
In this section, we'll add config to pipe incoming mail for special
Alaveteli addresses into Alaveteli, and also send them to a local backup
-mailbox, just in case. Create the `backupfoi` UNIX user, and then create `/etc/exim4/conf.d/router/04_alaveteli`:
+mailbox, just in case. Create the `backupfoi` UNIX user, and then create `/etc/exim4/conf.d/router/04_alaveteli` to specify an exim `router` for special Alaveteli addresses, which will route messages into Alaveteli using a local pipe transport:
cat > /etc/exim4/conf.d/router/04_alaveteli <<'EOF'
alaveteli_request:
@@ -174,7 +174,7 @@ mailbox, just in case. Create the `backupfoi` UNIX user, and then create `/etc/e
pipe_transport = alaveteli_mailin_transport
EOF
-Create `/etc/exim4/conf.d/transport/04_alaveteli`:
+Create `/etc/exim4/conf.d/transport/04_alaveteli`, which sets the properties of the pipe `transport` that will deliver mail to Alaveteli:
cat > /etc/exim4/conf.d/transport/04_alaveteli <<'EOF'
alaveteli_mailin_transport:
@@ -186,10 +186,11 @@ Create `/etc/exim4/conf.d/transport/04_alaveteli`:
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:
+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:
cat > /var/www/alaveteli/config/aliases <<'EOF'
^foi\\+.*: "|/var/www/alaveteli/script/mailin", backupfoi