I re-ask again since my postscreen responds to connections with dnsbl
code 450 instead of a 5xx, with which those servers are trying to resend
the mail again and again

postfix/submission/postscreen[1724625]: NOQUEUE: reject: RCPT from
[XXX.XXX.XXX.XXX]:46994: 450 4.7.1 Service unavailable; client
[XXX.XXX.XXX.XXX] blocked using zen.spamhaus.org;
from=<laurel.trinklein-nazcar=almogavers....@shifts.top>,
to=<naz...@almogavers.net>, proto=ESMTP, helo=<mail.shifts.top>

this my conf:


postscreen_dnsbl_sites = zen.spamhaus.org=127.0.0.[2..11]*3
bl.spamcop.net swl.spamhaus.org*-4 all.bl.blocklist.de
ef2183f1b6e9b2710f1e3516bcb691b5.combined.mail.abusix.zone
postscreen_dnsbl_reply_map = texthash:/etc/postfix/postscreen_dnsbl_reply
postscreen_access_list = permit_mynetworks
cidr:/etc/postfix/trusted_ips.cidr
postscreen_greet_action = enforce
postscreen_greet_banner =
postscreen_greet_wait = 20s
postscreen_dnsbl_action = enforce
postscreen_blacklist_action = drop
postscreen_dnsbl_whitelist_threshold = -1
postscreen_dnsbl_ttl = 10m

cat /etc/postfix/postscreen_dnsbl_reply

# Secret DNSBL name           Name in postscreen(8) replies


El 8/6/2021 a las 14:42, Francesc Peñalvez escribió:
> The question may have been answered, but I don't see it. Is there a way
> to change the 4xx error from postscreen to error 5xx so that it doesn't
> retry to send the mail blocked by dnsbl
>

Attachment: smime.p7s
Description: Firma criptográfica S/MIME

Reply via email to