diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-08-07 11:59:39 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-08-07 11:59:39 +0100 |
commit | 348015383667ba2dce2e2f59e0888573f638402d (patch) | |
tree | eb1a89b9fdca89eb4cfa23fc98ecfbae26cdbad8 | |
parent | 6c32dd3e753e6b94cc681399deaac8f337c9ea9e (diff) |
And add the hostname to the domains to be delivered locally.
-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 |