OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Whitelisting Redux

From: Dennis Putnam (dennis.putnamaimaudit.com)
Date: Mon Apr 30 2007 - 06:16:47 CDT


I am afraid something happened to my main.cf file as my whitelisting
has stopped working. I must have inadvertently deleted something in
the file but I cannot see what. I am using blacklisting services and
one ISP, that has one legitimate emailer on it, is repeatedly getting
itself blacklisted. I am trying to whilelist that one address and it
was working fine until ... I believe the hash of my whitelist is
supposed to go in the smtpd_client_restrictions section: Here is the
relevant part of my main.cf. Can someone see what I am doing wrong?
Thanks.

smtpd_client_restrictions =
         hash:/etc/postfix/sender_whitelist
         reject_rbl_client bl.spamcop.net
         reject_rbl_client dnsbl.sorbs.net
         reject_rbl_client cbl.abuseat.org
         reject_rbl_client dnsbl.njabl.org
         check_client_access hash:/etc/postfix/smtpdreject
         permit_mynetworks
         permit

In case it matters here is my sender_whitelist file:

# This is a list of senders that will be accepted even if the server has
# been blacklisted.
#
# REMEMBER to run 'make' after changes
#
dap1bellsouth.net permit_auth_destination
open.com.au permit_auth_destination