Christian Schmitz:
Return-Path: <bounce+30e748.36a6d-myem...@garena.com>
On 17.09.21 12:09, Wietse Venema wrote:
That is the envelope sennder address.
my main.cf have the following rule:
smtpd_recipient_restrictions =
check_client_access regexp:/etc/postfix/spam/rcpt_cl_isp_prohibidos,
And in the file i have the rule:
/.*mailgun\.net.*/ REJECT NO!!!, ISP spammer contact myserver
That rule does not match the envelope sender address
bounce+30e748.36a6d-myem...@garena.com
shouldn't check_client_access apply on client's hostname?
Second, your regular expression matches mailgun.net.example.com.
Third, starting a regexp with .* is pointless.
correct the proper RE should be
/\.mailgun\.net$/ REJECT ...
but for hostnames, hash matching should be faster with
.mailgun.net REJECT ...
and parent_domain_matches_subdomains not containing smtpd_access_maps
(which it should not contain)
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux is like a teepee: no Windows, no Gates and an apache inside...