I’ve searched for ‘SBLCSS’ on the forum but wasn’t able to find how I can whitelist domains in my MiaB installation from this Spamhaus query. I have a customer that mentioned a specific domain was blocked multiple times.
In the logs it states the following: Jul 17 00:00:00 mail postfix/smtpd[8940]: NOQUEUE: reject: RCPT from <host>[<ipv6>]: 554 5.7.1 Service unavailable; Client host [<ipv6>] blocked using zen.spamhaus.org; https://www.spamhaus.org/sbl/query/SBLCSS; from=<info@domain.tld> to=<mailbox@sample.tld> proto=ESMTP helo=<host>
How can I whitelist a specific domain? Thanks in advance!
I think it’s smtpd_recipient_restrictions, so you 'd have to figure out a way to bypass the check for an address or domain.
According to postconf(5), smtpd_relay_restrictions is processed before smtpd_recipient_restrictions, so if you follow my unsupported modification guide on blocklists:
But instead add to /etc/postfix/sender_access using OK action:
username@example.com OK
example.net OK
I thinkpostfix will accept the message for delivery.