OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Postfix /etc/postfix/access not working?

From: Bernard Barton (bfb21comcast.net)
Date: Sat Oct 01 2005 - 23:11:01 CDT


Just switched to postfix and I must say, after using
sendmail for several years, postfix is far superior.
Now, I copied my sendmail "access" file to the
/etc/postfix directory, and ran:

   postmap /etc/postfix/access

I have numerous entries like this in the access file:

219.136 ERROR: "550 WE REJECT SPAM FROM CHINA!!!"
58.33 ERROR: "550 WE REJECT SPAM FROM CHINA!!!"
58.34 ERROR: "550 WE REJECT SPAM FROM CHINA!!!"

These are the first two octets of an IP address.
I'm wondering if this format is compatible with
postfix? The reason I ask is that I'm still receiving
email from the 219.136 network, which should
be rejected. Here are a couple of header snippets:

Received: from myfairladyfans.com (unknown [219.136.225.160])
    by mydomain.com (Postfix) with SMTP id BB7FA1787E3
    for <bfbmydomain.com>; Thu, 29 Sep 2005 06:14:40 -040

Received: from darksites.com (unknown [219.136.141.141])
    by mydomain.com (Postfix) with SMTP id 6EE551787D7
    for <bfbmydomain.com>; Sat, 1 Oct 2005 20:42:34 -0400

Why am I still receiving email from 219.136.225.160 and
219.136.141.141, when I'm rejecting 219.136 in the access
file?

-Thanks