Skip to content

Instantly share code, notes, and snippets.

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/ > /etc/postfix/whitelist_gmail.cidr
/usr/local/bin/ > /etc/postfix/whitelist_msft.cidr
/usr/local/bin/ > /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