OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
access file not working as expected

From: Terry Carmen (terrycnysupport.com)
Date: Wed Oct 10 2007 - 12:08:57 CDT


I have an access file that doesn't seem to work as expected.

main.cf contains:

smtpd_sender_restrictions =check_sender_access
hash:/etc/postfix/access,reject_unknown_sender_domain

/etc/postfix/access contains:

66.165.224.0/19 REJECT Hosted on spam-friendly network
208.116.142.0/24 REJECT Spam is not accepted
208.116.222.0/24 REJECT Spam is not accepted
66.180.217.0/24 REJECT Spam is not accepted

I did "postmap access" to create access.db, but the REJECT lines don't
seem to have any effect.

Anybody have any thoughts or suggestions?

Thanks!

Terry