aboutsummaryrefslogtreecommitdiffstats
path: root/docs/installing
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-07-07 18:31:20 +0100
committerLouise Crow <louise.crow@gmail.com>2014-08-07 11:50:29 +0100
commit8d1df82daef7cecd399329312d14e76bd648381c (patch)
treef00a72534406222b8e312255ca1fc1fb5d2ef428 /docs/installing
parent9d02a4277cca1e896f5a2c6e79bf645f0f8d5bf3 (diff)
Get rid of ALAVETELI_USER and ALAVETELI_HOME
It's not clear whether they are actual variables (they aren't).
Diffstat (limited to 'docs/installing')
-rw-r--r--docs/installing/email.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/installing/email.md b/docs/installing/email.md
index a7e1693de..fb8ce8a29 100644
--- a/docs/installing/email.md
+++ b/docs/installing/email.md
@@ -30,12 +30,15 @@ Install postfix.
In the install options, select the default configuration `Internet Site` and set the hostname to your sitename.
-In `/etc/postfix/master.cf`:
+Now configure Postfix. For example, if the Unix user that is going to
+run your site is `www-data`, and the directory where Alaveteli is installed is
+`/var/www/alaveteli`, add the following line to
+`/etc/postfix/master.cf`:
alaveteli unix - n n - 50 pipe
- flags=R user=ALAVETELI_USER argv=ALAVETELI_HOME/script/mailin
+ flags=R user=www-data argv=/var/www/alaveteli/script/mailin
-The user ALAVETELI_USER should have write permissions on ALAVETELI_HOME.
+The Unix user should have write permissions on the directory where Alaveteli is installed.
In `/etc/postfix/main.cf`: