aboutsummaryrefslogtreecommitdiff
path: root/postfix
diff options
context:
space:
mode:
Diffstat (limited to 'postfix')
-rwxr-xr-xpostfix/update_aliases.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/postfix/update_aliases.sh b/postfix/update_aliases.sh
new file mode 100755
index 0000000..35b9ace
--- /dev/null
+++ b/postfix/update_aliases.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+postmap /etc/postfix/insiders
+postmap /etc/postfix/protected_destinations
+postalias /etc/aliases
+newaliases
+postfix reload
+