diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-08-11 18:30:45 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-08-11 18:37:11 +0100 |
commit | b8d5a377ada7e83ca96c2b8b68ebcfea67e5f887 (patch) | |
tree | 9e1f19546dfdca642a063d5d915a70775387b9a8 /docs/installing/email.md | |
parent | 66251c24c54775f74e2edbc6099ebfd8ce88539a (diff) |
Make command cut-and-pastable. Better description of options
Diffstat (limited to 'docs/installing/email.md')
-rw-r--r-- | docs/installing/email.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/installing/email.md b/docs/installing/email.md index 806b467d8..f47c0dc6a 100644 --- a/docs/installing/email.md +++ b/docs/installing/email.md @@ -134,14 +134,21 @@ Edit `/etc/exim4/update-exim4.conf.conf`. Set the following settings (use your h This final line tells exim to use the files in `/etc/exim4/conf.d` to configure itself. +#### Define general variables and logging settings +Create `/etc/exim4/conf.d/main/04_alaveteli_options` with the command: + + cat > /etc/exim4/conf.d/main/04_alaveteli_options <<'EOF' ALAVETELI_HOME=/var/www/alaveteli ALAVETELI_USER=alaveteli log_file_path=/var/log/exim4/exim-%slog-%D MAIN_LOG_SELECTOR==+all -retry_defer extract_addresses_remove_arguments=false + EOF + +This sets up `ALAVETELI_HOME` and `ALAVETELI_USER` for use in other config files, and sets up logging. The `ALAVETELI_HOME` variable should be set to the directory where Alaveteli is installed. `ALAVETELI_USER` should be the Unix user that is going to run your site. They should have write permissions on `ALAVETELI_HOME`. -The `ALAVETELI_HOME` variable should be set to the directory where Alaveteli is installed. `ALAVETELI_USER` should be the Unix user that is going to run your site. They should have write permissions on `ALAVETELI_HOME`. +Note that if you are editing an existing exim config that restricts the `untrusted_set_sender` option, you will need also to add `ALAVETELI_USER` to the `trusted_users` list in order to allow them to set the return path on outgoing mail. This option is in `/etx/exim4/conf.d/main/02_exim4-config_options` in a split config. The name and location of the log files created by Exim must match what the `load-mail-server-logs` script expects, which is why you must provide the |