Skip to content

r62347 fix postfix email delivery #792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions roles/postfix/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ postfix:
# ce_dev_delivery_mode is only used when is_local == true, which means you're probably using ce-dev locally. Valid modes are host, local and discard.
ce_dev_delivery_mode: "host"
message_size: 10240000
networks:
- "[::1]/128"
- "[::ffff:127.0.0.0]/104"
- 127.0.0.0/8
networks: "[::1]/128 [::ffff:127.0.0.0]/104 127.0.0.0/8"
protocols: all
relayhost: ""
transport_maps:
Expand Down
5 changes: 5 additions & 0 deletions roles/postfix/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@
loop_control:
loop_var: lock_file

- name: Create Postfix Aliases database
ansible.builtin.command:
cmd: /usr/bin/newaliases
warn: false

- name: Restart Postfix
ansible.builtin.command:
cmd: /usr/sbin/service postfix start
Expand Down