OSEC

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

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Sun Oct 02 2005 - 00:20:57 CDT


On Sun, Oct 02, 2005 at 12:11:01AM -0400, Bernard Barton wrote:

> 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?

    0. http://www.postfix.org/SMTPD_ACCESS_README.html

    1. http://www.postfix.org/postconf.5.html#smtpd_client_restrictions

    2. http://www.postfix.org/postconf.5.html#check_client_access

    3. man 5 access

    4. http://www.postfix.org/access.5.html

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.