aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mail/handlers
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-03-05 19:12:02 +0800
committerAaron LI <aly@aaronly.me>2018-03-14 11:35:08 +0800
commit1614b15bd4fd8faa60a54f7d0d4a917c332734f5 (patch)
tree2bac8c602ac5c3adc31357412ae249802e7e284e /roles/mail/handlers
parent399fdb75308c5350d12e0c7c744ac7224b8b0386 (diff)
downloadansible-dfly-vps-1614b15bd4fd8faa60a54f7d0d4a917c332734f5.tar.bz2
mail/aliases: forward root's mails
Diffstat (limited to 'roles/mail/handlers')
-rw-r--r--roles/mail/handlers/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/mail/handlers/main.yml b/roles/mail/handlers/main.yml
index a164e26..3bb1f53 100644
--- a/roles/mail/handlers/main.yml
+++ b/roles/mail/handlers/main.yml
@@ -1,3 +1,6 @@
---
- name: reload-opendkim
command: rcreload milter-opendkim
+
+- name: update-aliases
+ command: postalias /etc/mail/aliases