On Thu, 11 Aug 2016 10:15:04 -0400, Bill Cole wrote:
> On 11 Aug 2016, at 6:25, Richard Klingler wrote:
> 
>> plain helo_checks won't allow regular expression for hostnames.
> 
> Why do you believe this?
> 
> I have used regexp and pcre tables for helo_checks successfully in 
> all versions of Postfix from 2.6 to 3.1. My particular patterns don't 
> catch much since the advent of postscreen, but they definitely do 
> work.

Might be due to the fact I use hash table:

check_helo_access hash:/usr/local/etc/postfix/helo_checks

So this never catches it:

/^.*\.ppp\..*$/ REJECT No email accepted from DSL users
/^.*\.dsl\..*$/ REJECT No email accepted from DSL users


cheers
richard

Reply via email to