diff options
author | David Cabo <david@calibea.com> | 2011-10-13 00:31:56 +0200 |
---|---|---|
committer | David Cabo <david@calibea.com> | 2011-10-13 00:31:56 +0200 |
commit | 6b19c36f114624d7e53be8edc9ee490ecd20d0b0 (patch) | |
tree | 7741c3655fe5e3cbc90dd20a4626ac7acc1bf6b0 /doc | |
parent | 6800b9ff3fc77aa441afbdb0b0196afbdd87d8b4 (diff) | |
parent | e13127a8ebc8bf8379d92f778af5a2bb6931d80c (diff) |
Merge branch 'release/0.4' into develop
Diffstat (limited to 'doc')
-rw-r--r-- | doc/INSTALL-exim4.md | 14 | ||||
-rw-r--r-- | doc/INSTALL.md | 7 |
2 files changed, 20 insertions, 1 deletions
diff --git a/doc/INSTALL-exim4.md b/doc/INSTALL-exim4.md index 0f5dda547..d7a0be40f 100644 --- a/doc/INSTALL-exim4.md +++ b/doc/INSTALL-exim4.md @@ -5,6 +5,16 @@ In `/etc/exim4/conf.d/main/04_alaveteli_options`: ALAVETELI_HOME=/path/to/alaveteli/software ALAVETELI_USER=www-data + log_file_path=/var/log/exim4/exim-%slog-%D + log_selector=+all -retry_defer + +(The user ALAVETELI_USER should have write permissions on ALAVETELI_HOME). + +Note that the name and location of the log files created by Exim must match +what the `load-exim-logs` script expects, hence the need for the extra +`log_file_path` setting. And the `check-recent-requests-sent` scripts expects +the logs to contain the `from=<...>` envelope information, so we make the +logs more verbose with `log_selector`. In `/etc/exim4/conf.d/router/04_alaveteli`: @@ -68,3 +78,7 @@ see something like: R: alaveteli pipe for snafflerequest-234@localhost snafflerequest-234@localhost -> |/home/alaveteli/alaveteli/script/mailin transport = alaveteli_mailin_transport + +There is a great +[Exim Cheatsheet](http://bradthemad.org/tech/notes/exim_cheatsheet.php) +online that you may find useful. diff --git a/doc/INSTALL.md b/doc/INSTALL.md index f6317057e..656b96467 100644 --- a/doc/INSTALL.md +++ b/doc/INSTALL.md @@ -237,7 +237,12 @@ It is not recommended to run the website using the default Rails web server. There are various recommendations here: http://rubyonrails.org/deploy -We usually use Passenger / mod_rails. +We usually use Passenger / mod_rails. The file at `conf/httpd.conf` +contains the WhatDoTheyKnow settings. At a minimum, you should +include the following in an Apache configuration file: + + PassengerResolveSymlinksInDocumentRoot on + PassengerMaxPoolSize 6 # Recommend setting this to 3 or less on servers with 512MB RAM Under all but light loads, it is strongly recommended to run the server behind an http accelerator like Varnish. A sample varnish VCL |