Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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