Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Possible typo in http://www.postfix.org/workarounds.html

6 views
Skip to first unread message

Michael Orlitzky

unread,
Mar 8, 2013, 3:14:11 PM3/8/13
to
Is this map type (pcre) intended?

/etc/postfix/main.cf:
smtp_discard_ehlo_keyword_address_maps =
pcre:/etc/postfix/discard_ehlo_keywords

/etc/postfix/discard_ehlo_keywords:
# This is likely to be incomplete.
216.32.0.0/16 silent-discard, pipelining
213.199.0.0/16 silent-discard, pipelining
65.55.0.0/16 silent-discard pipelining
94.245.0.0/16 silent-discard pipelining

Not that this workaround is needed anymore, but sometimes it's easier to
copy/paste old solutions than think them up anew.

Wietse Venema

unread,
Mar 8, 2013, 3:22:33 PM3/8/13
to
Michael Orlitzky:
> Is this map type (pcre) intended?
>
> /etc/postfix/main.cf:
> smtp_discard_ehlo_keyword_address_maps =
> pcre:/etc/postfix/discard_ehlo_keywords
>
> /etc/postfix/discard_ehlo_keywords:
> # This is likely to be incomplete.
> 216.32.0.0/16 silent-discard, pipelining
> 213.199.0.0/16 silent-discard, pipelining
> 65.55.0.0/16 silent-discard pipelining
> 94.245.0.0/16 silent-discard pipelining

The syntax of the lookup keys suggests that this is a cidr:table.

> Not that this workaround is needed anymore, but sometimes it's easier to
> copy/paste old solutions than think them up anew.

Never underestimate the power of the sledgehammer.

Wietse

0 new messages