Skip to content

Instantly share code, notes, and snippets.

@stevejenkins
Last active November 26, 2015 03:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevejenkins/5258f2649afd304a73b9 to your computer and use it in GitHub Desktop.
Save stevejenkins/5258f2649afd304a73b9 to your computer and use it in GitHub Desktop.
Short script for building various Postscreen whitelists and reloading the Postfix configuration
#! /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