forgot mailstats-custom changes

This commit is contained in:
Brian Read 2025-04-10 09:17:59 +01:00
parent 89475c0aa3
commit 9dc7d3d7a1

View File

@ -257,41 +257,41 @@ sub get_CountryCodes {
} }
sub get_RBL_lists{ sub get_RBL_lists {
return ( return [
# Other Major Providers ['zen.spamhaus.org' => 'zen.spamhaus.org'], # Combines SBL, XBL, and PBL
"zen.spamhaus.org", # Combines SBL, XBL, and PBL ['bl.spamcop.net' => 'bl.spamcop.net'], # SpamCop Blocklist (user-reported spam)
'bl.spamcop.net', # SpamCop Blocklist (user-reported spam) ['cbl.abuseat.org' => 'cbl.abuseat.org'], # Composite Blocking List (bot-infected hosts)
'cbl.abuseat.org', # Composite Blocking List (bot-infected hosts) ['b.barracudacentral.org' => 'b.barracudacentral.org'], # Barracuda Reputation Blocklist
'b.barracudacentral.org', # Barracuda Reputation Blocklist ['dun.dnsrbl.net' => 'dun.dnsrbl.net'], # DNSRBL (DNS-based blacklist)
['psbl.surriel.com' => 'psbl.surriel.com'], # Passive Spam Block List (passive spam traps)
['backscatterer.org' => 'backscatterer.org'], # Backscatter/Out-of-Bounce spam sources
['dronebl.org' => 'dronebl.org'], # Drones/Proxy/DDoS sources
['dnsbl-1.uceprotect.net' => 'dnsbl-1.uceprotect.net'], # UCEPROTECT Level 1 (entry-level blocking)
['dnsbl-2.uceprotect.net' => 'dnsbl-2.uceprotect.net'] # UCEPROTECT Level 2 (more aggressive)
];
}
# Specialized Lists sub get_SBL_lists {
'dun.dnsrbl.net', # DNSRBL (DNS-based blacklist) return [
'psbl.surriel.com', # Passive Spam Block List (passive spam traps) ['sbl.spamhaus.org' => 'sbl.spamhaus.org'], # Spamhaus Blocklist
'backscatterer.org', # Backscatter/Out-of-Bounce spam sources ['xbl.spamhaus.org' => 'xbl.spamhaus.org'], # eXploits Blocklist
'dronebl.org', # Drones/Proxy/DDoS sources ['pbl.spamhaus.org' => 'pbl.spamhaus.org'], # Policy Blocklist
'dnsbl-1.uceprotect.net',# UCEPROTECT Level 1 (entry-level blocking)[User Query] ['auth.spamhaus.org' => 'auth.spamhaus.org'], # Auth Blocklist
'dnsbl-2.uceprotect.net' # UCEPROTECT Level 2 (more aggressive)[User Query] ['multi.surbl.org' => 'multi.surbl.org'], # SURBL's multi-level URI checker (domains in email content)
);} ['rhsbl.sorbs.net' => 'rhsbl.sorbs.net'] # Right-Hand Side Blocklist (domain-based, not IP-based)
];
}
sub get_SBL_list{ sub get_URIBL_lists {
return ( return [
"sbl.spamhaus.org", # Spamhaus Blocklist ['uribl.com' => 'uribl.com'], # Primary URIBL service
"xbl.spamhaus.org", # eXploits Blocklist ['multi.uribl.com' => 'multi.uribl.com'], # Combined URIBL checks
"pbl.spamhaus.org", # Policy Blocklist ['black.uribl.com' => 'black.uribl.com'], # Aggressive blocking list
"auth.spamhaus.org", # Auth Blocklist ['grey.uribl.com' => 'grey.uribl.com'], # Suspicious URI list
"multi.surbl.org", # SURBL's multi-level URI checker (domains in email content) ['white.uribl.com' => 'white.uribl.com'] # Verified safe URI list
"rhsbl.sorbs.net" # Right-Hand Side Blocklist (domain-based, not IP-based) ];
);} }
sub get_URIBL_list{
return my @uribl_lists = (
"uribl.com", # Primary URIBL service
"multi.uribl.com", # Combined URIBL checks
"black.uribl.com", # Aggressive blocking list
"grey.uribl.com", # Suspicious URI list
"white.uribl.com" # Verified safe URI list
);}
sub get_mailstat_dates { sub get_mailstat_dates {
my ($directory) = '/opt/mailstats/html'; my ($directory) = '/opt/mailstats/html';