OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Looking to bypass blackhole lists for certain users

From: Curt LeCaptain (lecaptaincinfinitytechnology.com)
Date: Thu Feb 01 2007 - 11:03:25 CST


Here's what I'm looking at doing:

For specific addresses on the server, I'd like to have anyone be able to
send mail to them and bypass blackhole list checks. My assumption (it
may be wrong, is the following config for smtpd_recipient_restrictions

smtpd_recipient_restrictions = permit_mynetworks
        check_sender_access = hash:/etc/postfix/spamfriends <-----Line
in question
        permit_sasl_authenticated
        check_client_access hash:/etc/postfix/pop-before-smtp
        reject_unauth_pipelining
        reject_non_fqdn_hostname
        reject_non_fqdn_sender
        reject_non_fqdn_recipient
        reject_unknown_sender_domain
        reject_unknown_recipient_domain
        reject_unauth_destination
        reject_rbl_client combined.njabl.org
        reject_rbl_client bl.spamcop.net
        reject_rbl_client list.dsbl.org
        reject_rbl_client zen.spamhaus.org
        permit

My spamfriends hash table is the following:

userexample.com OK
user2example.com OK

Now, if I'm reading access(5) properly, under that hash table, if I send
mail under a rcpt to:<userexample.com>, regardless of it being on one
of my blackhole lists, it should have gone to permit, due to the fact
that I gave it an OK, or is my understanding of access(5) incorrect?

Thanks,

Curt L.