diff options
Diffstat (limited to 'docs/installing/email.md')
-rw-r--r-- | docs/installing/email.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/installing/email.md b/docs/installing/email.md index 05cef8a1e..e026dc006 100644 --- a/docs/installing/email.md +++ b/docs/installing/email.md @@ -48,12 +48,16 @@ run your site is `www-data`, 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 the lines: +In `/etc/postfix/main.cf`, add: transport_maps = regexp:/etc/postfix/transports local_recipient_maps = proxy:unix:passwd.byname regexp:/etc/postfix/recipients +and update the mydestinations 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 + And, assuming you set [`INCOMING_EMAIL_PREFIX`]({{ site.baseurl }}docs/customising/config/#incoming_email_prefix) in `config/general` to "foi+", create `/etc/postfix/transports` with the following |