aboutsummaryrefslogtreecommitdiffstats
path: root/docs/installing
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-08-14 13:15:12 +0100
committerLouise Crow <louise.crow@gmail.com>2014-08-14 14:54:24 +0100
commita860ad612eed6762d0de24075c95b538b8ed9f53 (patch)
tree73afb19afcb5b44c6b4642501c39b4214d843eac /docs/installing
parent4b5d063d647a32b7c1185bef7df81a5575fa36f0 (diff)
Use cat to append to /etc/postfix/master.cf
Diffstat (limited to 'docs/installing')
-rw-r--r--docs/installing/email.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/installing/email.md b/docs/installing/email.md
index d2b842e86..a7f302de6 100644
--- a/docs/installing/email.md
+++ b/docs/installing/email.md
@@ -107,11 +107,12 @@ This section shows an example of how to set up your MTA if you're using
If the Unix user that is going to
run your site is `alaveteli`, and the directory where Alaveteli is installed is
-`/var/www/alaveteli`, add the following line to
-`/etc/postfix/master.cf`:
+`/var/www/alaveteli`, create the pipe that will receive request mail:
+ cat >> /etc/postfix/master.cf <<EOF
alaveteli unix - n n - 50 pipe
flags=R user=alaveteli argv=/var/www/alaveteli/script/mailin
+ EOF
The Unix user should have write permissions on the directory where Alaveteli is installed.