diff options
Diffstat (limited to 'docs/installing')
-rw-r--r-- | docs/installing/email.md | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/docs/installing/email.md b/docs/installing/email.md index a7f302de6..f1164b28e 100644 --- a/docs/installing/email.md +++ b/docs/installing/email.md @@ -116,18 +116,21 @@ run your site is `alaveteli`, and the directory where Alaveteli is installed is The Unix user should have write permissions on the directory where Alaveteli is installed. -In `/etc/postfix/main.cf`, add: +Configure postfix to accept messages for local delivery where +recipients are: + - defined by a regular expression in `/etc/postfix/transports` + - local UNIX accounts + - local aliases specified as regular expressions in `/etc/postfix/recipients` + +<!-- Comment to enable markdown to render code fence under list --> + + cat >> /etc/postfix/main.cf <<EOF transport_maps = regexp:/etc/postfix/transports local_recipient_maps = proxy:unix:passwd.byname regexp:/etc/postfix/recipients + EOF -This tells postfix to accept messages for local delivery where -recipients are either defined by a regular expression in -`/etc/postfix/transports`, are local UNIX accounts or are local aliases -specified as regular expressions in `/etc/postfix/recipients`. Also -update the `mydestination` line (which determines what domains this -machine will deliver locally) - add your domain, not `example.com`, to -the beginning of the list: +In `/etc/postfix/main.cf` update the `mydestination` line (which determines what domains this machine will deliver locally). Add your domain, not `example.com`, to the beginning of the list: mydestination = example.com, localhost.localdomain, localhost |