Last active
November 26, 2015 03:15
-
-
Save stevejenkins/5258f2649afd304a73b9 to your computer and use it in GitHub Desktop.
Short script for building various Postscreen whitelists and reloading the Postfix configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# Build all the Postscreen whitelists | |
/usr/local/bin/gwhitelist.sh > /etc/postfix/whitelist_gmail.cidr | |
/usr/local/bin/msftwhitelist.sh > /etc/postfix/whitelist_msft.cidr | |
/usr/local/bin/socialwhitelist.sh > /etc/postfix/whitelist_social.cidr | |
# Reload Postfix configuration | |
/usr/sbin/postfix reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment