Loading ...
Sorry, an error occurred while loading the content.
 

Pattern matching for DNS[BW]L lookup results

Expand Messages
  • Wietse Venema
    postfix-2.8-20101126 implements pattern matching for DNSB/WL results. For example, reject_rbl_client example.com=127.0.0.[2,4,6..8] rejects clients when the
    Message 1 of 2 , Nov 26, 2010
      postfix-2.8-20101126 implements pattern matching for DNSB/WL results.

      For example, "reject_rbl_client example.com=127.0.0.[2,4,6..8]"
      rejects clients when the lookup result is 127.0.0.2, 127.0.0.4,
      127.0.0.6, 127.0.0.7, or 127.0.0.8. This is the same result as
      with "postscreen_dnsbl_sites = example.com=127.0.0.[2,4,6..8]".

      More precisely, An IPv4 address pattern has four fields separated
      by ".". Each field is either a decimal number, or a sequence inside
      "[]" that contains one or more comma-separated decimal numbers or
      number..number ranges.

      This syntax can be extended in the future, for example [!1,2,3]
      would match all but 1,2 or 3 when the need arises.

      Wietse
    • Wietse Venema
      ... BTW, The wildcard support works for postscreen(8) and smtpd(8). I forgot to update the postconf(5) entry for postscreen s postscreen_dnsbl_sites parameter,
      Message 2 of 2 , Nov 30, 2010
        Wietse Venema:
        > postfix-2.8-20101126 implements pattern matching for DNSB/WL results.
        >
        > For example, "reject_rbl_client example.com=127.0.0.[2,4,6..8]"
        > rejects clients when the lookup result is 127.0.0.2, 127.0.0.4,
        > 127.0.0.6, 127.0.0.7, or 127.0.0.8. This is the same result as
        > with "postscreen_dnsbl_sites = example.com=127.0.0.[2,4,6..8]".
        >
        > More precisely, An IPv4 address pattern has four fields separated
        > by ".". Each field is either a decimal number, or a sequence inside
        > "[]" that contains one or more comma-separated decimal numbers or
        > number..number ranges.

        BTW, The wildcard support works for postscreen(8) and smtpd(8).
        I forgot to update the postconf(5) entry for postscreen's
        postscreen_dnsbl_sites parameter, and realized that omission after
        uploading postfix-2.8-20101130 today. Fixed in the next release.

        Wietse
      Your message has been successfully submitted and would be delivered to recipients shortly.