Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## senderbase.org reputation check from Nicola
- ## https://metacpan.org/pod/Net::SenderBase::Results
- # '0-0' => 'version_number',
- # 1 => 'org_name',
- # 2 => 'org_daily_magnitude',
- # 3 => 'org_monthly_magnitude',
- # 4 => 'org_id',
- # 5 => 'org_category',
- # 6 => 'org_first_message',
- # 7 => 'org_domains_count',
- # 8 => 'org_ip_controlled_count',
- # 9 => 'org_ip_used_count',
- # 10 => 'org_fortune_1000',
- # 20 => 'hostname',
- # 21 => 'domain_name',
- # 22 => 'hostname_matches_ip',
- # 23 => 'domain_daily_magnitude',
- # 24 => 'domain_monthly_magnitude',
- # 25 => 'domain_first_message',
- # 26 => 'domain_rating',
- # 40 => 'ip_daily_magnitude',
- # 41 => 'ip_monthly_magnitude',
- # 43 => 'ip_average_magnitude',
- # 44 => 'ip_30_day_volume_percent',
- # 45 => 'ip_in_bonded_sender',
- # 46 => 'ip_cidr_range',
- # 47 => 'ip_blacklist_score',
- # 50 => 'ip_city',
- # 51 => 'ip_state',
- # 52 => 'ip_postal_code',
- # 53 => 'ip_country',
- # 54 => 'ip_longitude',
- # 55 => 'ip_latitude'
- # Information checks
- header __R_SB eval:check_rbl_txt('sa.senderbase.org-lastexternal','sa.senderbase.org')
- describe __R_SB IP listed in SenderBase
- tflags __R_SB net
- reuse __R_SB
- header R_SB_HOSTEQIP eval:check_rbl_sub('sa.senderbase.org-lastexternal', '22=Y')
- describe R_SB_HOSTEQIP Forward-confirmed reverse DNS (FCrDNS) succeeded
- score R_SB_HOSTEQIP -0.45
- reuse R_SB_HOSTEQIP
- # I don't need this I already use RelayCountry plugin but I might consider using this instead as the test would be done externally this way and not run on my system
- #header R_SB_IP_IT eval:check_rbl_sub('sa.senderbase.org-lastexternal', '53=IT')
- #describe R_SB_IP_IT Cisco Senderbase - last relay Italy in this case
- #score R_SB_IP_IT -0.05
- #reuse R_SB_IP_IT
- header R_SB_FORTUNE eval:check_rbl_sub('sa.senderbase.org-lastexternal', '10=Y')
- describe R_SB_FORTUNE Sender is in the Fortune 1000 and less likely to spam
- score R_SB_FORTUNE -0.80
- reuse R_SB_FORTUNE
- # Reputation checks
- header __R_SB_FR eval:check_rbl_txt('rf.senderbase.org-lastexternal','rf.senderbase.org')
- describe __R_SB_FR IP reputation of the sender at SenderBase
- tflags __R_SB_FR net
- reuse __R_SB_FR
- header R_SB_FR_N10 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^-10')
- describe R_SB_FR_N10 SenderBase Reputation is -10
- score R_SB_FR_N10 0.65
- reuse R_SB_FR_N10
- header R_SB_FR_N09 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^-9\.')
- describe R_SB_FR_N09 SenderBase Reputation is -9
- score R_SB_FR_N09 0.60
- reuse R_SB_FR_N09
- header R_SB_FR_N08 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^-8\.')
- describe R_SB_FR_N08 SenderBase Reputation is -8
- score R_SB_FR_N08 0.55
- reuse R_SB_FR_N08
- header R_SB_FR_N07 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^-7\.')
- describe R_SB_FR_N07 SenderBase Reputation is -7
- score R_SB_FR_N07 0.50
- reuse R_SB_FR_N07
- header R_SB_FR_N06 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^-6\.')
- describe R_SB_FR_N06 SenderBase Reputation is -6
- score R_SB_FR_N06 0.45
- reuse R_SB_FR_N06
- header R_SB_FR_N05 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^-5\.')
- describe R_SB_FR_N05 SenderBase Reputation is -5
- score R_SB_FR_N05 0.40
- reuse R_SB_FR_N05
- header R_SB_FR_N04 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^-4\.')
- describe R_SB_FR_N04 SenderBase Reputation is -4
- score R_SB_FR_N04 0.35
- reuse R_SB_FR_N04
- header R_SB_FR_N03 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^-3\.')
- describe R_SB_FR_N03 SenderBase Reputation is -3
- score R_SB_FR_N03 0.30
- reuse R_SB_FR_N03
- header R_SB_FR_N02 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^-2\.')
- describe R_SB_FR_N02 SenderBase Reputation is -2
- score R_SB_FR_N02 0.25
- reuse R_SB_FR_N02
- header R_SB_FR_N01 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^-1\.')
- describe R_SB_FR_N01 SenderBase Reputation is -1
- score R_SB_FR_N01 0.20
- reuse R_SB_FR_N01
- header R_SB_FR_P00 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^0\.')
- describe R_SB_FR_P00 SenderBase Reputation is 0
- score R_SB_FR_P00 0.15
- reuse R_SB_FR_P00
- header R_SB_FR_P01 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^1\.')
- describe R_SB_FR_P01 SenderBase Reputation is 1
- score R_SB_FR_P01 0.00
- reuse R_SB_FR_P01
- header R_SB_FR_P02 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^2\.')
- describe R_SB_FR_P02 SenderBase Reputation is 2
- score R_SB_FR_P02 -0.15
- reuse R_SB_FR_P02
- header R_SB_FR_P03 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^3\.')
- describe R_SB_FR_P03 SenderBase Reputation is 3
- score R_SB_FR_P03 -0.20
- reuse R_SB_FR_P03
- header R_SB_FR_P04 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^4\.')
- describe R_SB_FR_P04 SenderBase Reputation is 4
- score R_SB_FR_P04 -0.25
- reuse R_SB_FR_P04
- header R_SB_FR_P05 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^5\.')
- describe R_SB_FR_P05 SenderBase Reputation is 5
- score R_SB_FR_P05 -0.30
- reuse R_SB_FR_P05
- header R_SB_FR_P06 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^6\.')
- describe R_SB_FR_P06 SenderBase Reputation is 6
- score R_SB_FR_P06 -0.35
- reuse R_SB_FR_P06
- header R_SB_FR_P07 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^7\.')
- describe R_SB_FR_P07 SenderBase Reputation is 7
- score R_SB_FR_P07 -0.40
- reuse R_SB_FR_P07
- header R_SB_FR_P08 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^8\.')
- describe R_SB_FR_P08 SenderBase Reputation is 8
- score R_SB_FR_P08 -0.45
- reuse R_SB_FR_P08
- header R_SB_FR_P09 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^9\.')
- describe R_SB_FR_P09 SenderBase Reputation is 9
- score R_SB_FR_P09 -0.50
- reuse R_SB_FR_P09
- header R_SB_FR_P10 eval:check_rbl_sub('rf.senderbase.org-lastexternal', '^10')
- describe R_SB_FR_P10 SenderBase Reputation is 10
- score R_SB_FR_P10 -0.55
- reuse R_SB_FR_P10
- meta R_SB_FR_BLACK ( R_SB_FR_N10 || R_SB_FR_N09 || R_SB_FR_N08 || R_SB_FR_N07 || R_SB_FR_N06 )
- describe R_SB_FR_BLACK SenderBase BLACK List
- score R_SB_FR_BLACK 3.00
- meta R_SB_FR_WHITE ( R_SB_FR_P10 || R_SB_FR_P09 || R_SB_FR_P08 || R_SB_FR_P07 || R_SB_FR_P06 || R_SB_FR_P05 || R_SB_FR_P04 )
- describe R_SB_FR_WHITE SenderBase WHITE List
- score R_SB_FR_WHITE -1.50
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement