diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-08-14 13:15:12 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-08-14 14:54:24 +0100 |
commit | a860ad612eed6762d0de24075c95b538b8ed9f53 (patch) | |
tree | 73afb19afcb5b44c6b4642501c39b4214d843eac | |
parent | 4b5d063d647a32b7c1185bef7df81a5575fa36f0 (diff) |
Use cat to append to /etc/postfix/master.cf
-rw-r--r-- | docs/installing/email.md | 5 |
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. |