summaryrefslogtreecommitdiff
path: root/bin/hooks/03-postfix
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hooks/03-postfix')
-rw-r--r--bin/hooks/03-postfix5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/hooks/03-postfix b/bin/hooks/03-postfix
new file mode 100644
index 0000000..2c12c4e
--- /dev/null
+++ b/bin/hooks/03-postfix
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+/lib/parabola-hackers/postfix-generate-virtual-map > /etc/postfix/virtual-hackers
+postmap hash:/etc/postfix/virtual-hackers
+systemctl reload postfix.service