diff options
author | 2024-08-15 17:03:17 +0100 | |
---|---|---|
committer | 2024-08-15 17:05:58 +0100 | |
commit | eb13a5a5a3e390bcc33705867069f814a6a2e698 (patch) | |
tree | 8ffdf5d2b19cc8d7316ed5da8ba260f92f60e9d4 | |
parent | Update references to the old docs url to use the new domain (diff) |
Deliver mails as maildir
Co-authored-by: Johannes Christ <[email protected]>
-rw-r--r-- | ansible/roles/postfix/templates/main.cf.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/postfix/templates/main.cf.j2 b/ansible/roles/postfix/templates/main.cf.j2 index 81f566b..e30e2ac 100644 --- a/ansible/roles/postfix/templates/main.cf.j2 +++ b/ansible/roles/postfix/templates/main.cf.j2 @@ -71,6 +71,9 @@ local_recipient_maps = transport_maps = hash:/etc/postfix/transport +# The trailing slash instructs postfix to deliver as maildir. +mail_spool_directory = /var/mail/ + mydestination = {{ postfix_mailserver_name }}, localhost, {{ postfix_destination_domains | join(', ') }} relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 |