Use tthis method to test if the SpamHaus RBL checker works as expected.
printf '%s\n' 'Received: from test.example (test.example [8.8.8.8]) by mx.example.com with ESMTP; Sun, 14 Sep 2026 11:00:00 +0200' 'From: test@example.com' 'To: test@example.com' 'Subject: ZEN test' '' 'Test' | spamassassin -D 2>&1 | grep -iE 'checking RBL zen'If your RBL chain is working you see an output similar to this: