postfix-users May 2014 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: RE: Whitelisting individual addresses with postsc

RE: Whitelisting individual addresses with postscreen

From: Marius Gologan <marius.gologan_at_nospam>
Date: Wed May 14 2014 - 15:21:42 GMT
To: "'D'Arcy J.M. Cain'" <darcy@Vex.Net>, <postfix-users@postfix.org>

This should help you discover most (not all) IP ranges in cidr format:
host -t txt outlook.com | tr " " '\n' | awk '/\./' | sed
"s/include:\|ip4://g" | sort -u | grep -i "[a-z]" | while read record; do
host -t txt $record ; done | tr ' ' '\n' | awk -F ":" '/[0-9]*\.[0-9]/
{print $2"\tpermit"}' | sort -u

-----Original Message-----
From: owner-postfix-users@postfix.org
[mailto:owner-postfix-users@postfix.org] On Behalf Of D'Arcy J.M. Cain
Sent: Wednesday, May 14, 2014 5:59 PM
To: postfix-users@postfix.org
Subject: Whitelisting individual addresses with postscreen

It looks like hotmail is on two DNSBLs and postscreen is blocking
them. I would like to offer my users a way to whitelist individual
addresses but it looks like I can only whitelist CIDR blocks. Is
that the case or do I have another option?

Cheers.

-- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy_at_Vex.Net VoIP: sip:darcy@Vex.Net