Hello,
I'd like postscreen to have the ability to reject clients based on a regex
pattern based on their PTR records.
I use both the pregreet and the dns block feature of postfix. However it seems
that still too many spamming hostsmanage to pass postscreen and thus
overwhelming smtpd processes.
So I'd like to apply a list of regex patterns to the detected PTR record of the
smtp client host, and reject theconnection (at the postscreen level) in case of
a match. Then I may apply such patterns, eg.
/dialup-\d{1,3}-\d{1,3}-\d{1,3}\-\d{1,3}\-some.provider.net/ reject
Thanks in advance,
Albert