Skip to content

Commit

Permalink
Add script
Browse files Browse the repository at this point in the history
  • Loading branch information
arf20 committed Dec 30, 2023
1 parent d7f8c76 commit caedd7c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ postfix
|- aliases address aliases
|- protected_destinations destionations only reachable by insiders
|- insiders insider addresses
|- update_aliases.sh script to compile aliases, insiders and protected_destinations, load them and reload postfix
dovecot
|- dovecot.conf dovecot config
gnu-mailutils
Expand Down
7 changes: 7 additions & 0 deletions postfix/update_aliases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
postmap /etc/postfix/insiders
postmap /etc/postfix/protected_destinations
postalias /etc/aliases
newaliases
postfix reload

0 comments on commit caedd7c

Please sign in to comment.