In the mean time I've updated the SMTP-Inbound.VBS script found under Services > SMTP > Properties > Advanced SMTP
I added the following script:
Code: Select all
Blacklist=array("xyz","wang","bid","trade","date","stream","top","win","faith","loan","racing","club","shop","website","icu","ml","review","fun","best","app")
for each DomainName in Blacklist
if InStr("%SENDER%","."&DomainName&"]")>0 then
ME_ResultData="554 5.7.1 ."&DomainName&" domains not allowed to send email to this server."&Chr(13)&Chr(10)
ME_Mail=ME_Failure
Exit Function
end if
next
within the
just above the
Which works to block all emails from these TLD's but in some cases we don't want to block them entirely just mark them as spam so having the filters work correctly is a requirement.