summaryrefslogtreecommitdiff
path: root/bin/hooks/03-postfix
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-12-18 14:12:58 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-12-18 14:12:58 -0500
commit4fe3beabbc1718fd8ecc72e85439ab92b8be61d3 (patch)
tree7da621a5ec5bba052bb7010a5afcadb98ac670ee /bin/hooks/03-postfix
parentdb07948255b26e83d4ca4c82965f807f83c03898 (diff)
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