Hi,
I would like to request pcre table support in postscreen for some fields
e.g. client_name, helo_name, etc.
For example if client is not listed on any dnsbl, but the reverse
hostname matches /\.dsl\./, the client is greylisted.
Or if client is listed on a single dnsbl and contains something like
dialup, the connection is dropped.
The option could be called something like postscreen_client_name_maps
and let users add a pcre table the way they are used to.
postscreen_client_name_maps = pcre:/etc/postfix/dslhosts
The file could contain something like:
/\.dsl\./ <score>
Additional maps could be added like, postscreen_helo_name_maps, etc.
Another postscreen check could be postscreen_helo_name_empty followed by
a score.
I haven't looked at the postscreen code yet, so I wouldn't know how hard
this is to implement. But I think it would be really usefull.
Best regards,
Jeroen Koekkoek