The feature I want to have is a domain and email address block list. This feature is highly wanted thou the dns spam/blacklist aren’t god enough. I want to be able to block some domains and email addresses.
I’ve might be wrong here, the feature isn’t there yet? I’ve read the manual and the forum but haven’t seen the feature I want.
I think this is a god idea, any one ells that agrees or disagrees?
Note: Just have to say, I really love this application.
MOD EDIT: With hmailserver 5.4 can mostly be accomplished using new OnSMTPData event.
Trivial example:
Code: Select all
Sub OnSMTPData(oClient, oMessage)
'0: Pass OK, 1: 554 Rejected, 2: 554 Result.Message, 3: 453 Result.Message
Result.Value = 0
If oMessage.FromAddress = "spam@spammer.tld" Then Result.Value = 1
End Sub
' Note: Rejected before message received accomplishes reject desire but since after DATA command received sender might not associate with rejected to/from address vs problem sending email.