Help with envelope script.

Use this forum if you have problems with a hMailServer script, such as hMailServer WebAdmin or code in an event handler.
Post Reply
Stray_Bullet
New user
New user
Posts: 5
Joined: 2006-01-05 21:49

Help with envelope script.

Post by Stray_Bullet » 2020-06-30 04:35

I have no problem blocking specific domains. I am having a problem blocking spam from emails with oMessage.FromAddress like so... "From: "Katherine Campbell" <katherine.campbell@domainers.space>"

I can block .space domains, but not if they are in an envelope like that...

Thank you!!!

User avatar
SorenR
Senior user
Senior user
Posts: 3576
Joined: 2006-08-21 15:38
Location: Denmark

Re: Help with envelope script.

Post by SorenR » 2020-07-01 13:20

Well... A couple of hours reading for you...

It starts out by using XML and is converted to MySQL later on. Theory is the same so if XML suits you better, stick to that :mrgreen:

https://www.hmailserver.com/forum/viewt ... p?p=209774
SørenR.

“Those who don't know history are doomed to repeat it.”
― Edmund Burke

Stray_Bullet
New user
New user
Posts: 5
Joined: 2006-01-05 21:49

Re: Help with envelope script.

Post by Stray_Bullet » 2020-07-04 14:45

Yeah that was a lot of reading lol

I Just blocked the IPs in OnClientConnect. There was only 4 IP addresses sending mail from about 15+ different fake domains. All the IP addresses were from Turkey, lmao.

Post Reply