OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Update: Postfix blacklist by MX or NS host

From: Alexander Skwar (listenalexander.skwar.name)
Date: Fri Sep 19 2003 - 14:42:10 CDT


Noel Jones wrote:

> this is just shorthand we use here on the list. I don't think this is part
> of official documentation anywhere. *in context* it seems pretty clear to
> most people.

Well, if you're a native speaker, it might be somewhat clear. Anyhow,
glad you had your fun, "at least" you eventually helped me ;)

Now I've got this in main.cf:

smtpd_helo_restrictions =
 reject_unknown_sender_domain
 warn_if_reject check_helo_mx_access hash:/etc/postfix/mx_access
 warn_if_reject check_helo_mx_access hash:/etc/postfix/mx_access.cidr

roothetzner:/etc/postfix# cat /etc/postfix/mx_access.cidr-2.0
0 reject mail server in broadcast network
10 reject mail server in RFC 1918 private network
127 reject mail server in loopback network
169.254 reject mail server in link local network
172.16 reject mail server in RFC 1918 private network
172.17 reject mail server in RFC 1918 private network
[.....]

Now, when I try to receive a mail, I get the following error:

Sep 19 21:43:19 hetzner postfix/smtpd[6053]: warning: unknown smtpd
restriction: "check_helo_mx_access"

Do I understand this right? The patch (somehow) did not work?

Alexander Skwar
--
-> Keine Kopien senden - ich lese die Listen in denen ich schreibe! <-
  -> Do not CC me on replies - I read the list in which I write! <-