How to Whitelist in SpamAssassin
If you're utilizing SpamAssassin's spam filtering, you can whitelist KnowBe4 to allow our simulated phishing test emails and training notifications through to your end users.
Although there is typically not an interface for SpamAssassin, you can edit your custom SpamAssassin config file to add rules allowing KnowBe4's emails through–based on the header and IP address of the phishing tests.
Below you can see the rules you'll want to add.
NOTE: This rule set contains lines for both our US and EU IP addresses, you'll only need to include the IPs for the server where your account resides.
header __KNOWBE4_HEADER X-PHISHTEST =~ /\bKnowBe4\b/i
header __KNOWBE4_RCVD_US_001 Received =~ /\[23\.21\.109\.197\]/
header __KNOWBE4_RCVD_US_002 Received =~ /\[23\.21\.109\.212\]/
header __KNOWBE4_RCVD_US_003 Received =~ /\[192\.254\.121\.248\]/
meta __KNOWBE4_RCVD_US (__KNOWBE4_RCVD_US_001 || __KNOWBE4_RCVD_US_002 || __KNOWBE4_RCVD_US_003)
header __KNOWBE4_RCVD_EU_001 Received =~ /\[52\.49\.201\.246\]/
header __KNOWBE4_RCVD_EU_002 Received =~ /\[52\.49\.235\.189\]/
header __KNOWBE4_RCVD_EU_003 Received =~ /\[192\.254\.121\.248\]/
meta __KNOWBE4_RCVD_EU (__KNOWBE4_RCVD_EU_001 || __KNOWBE4_RCVD_EU_002 || __KNOWBE4_RCVD_EU_003)
meta KNOWBE4 (__KNOWBE4_HEADER && (__KNOWBE4_RCVD_US || __KNOWBE4_RCVD_EU))
describe KNOWBE4 Mail is from KnowBe4
score KNOWBE4 -20.0