Search found 26 matches

by adrianmihai83
2020-02-09 15:32
Forum: Scripting
Topic: Problem with AutoBan
Replies: 18
Views: 16865

Re: Problem with AutoBan

Thanks @RvdH for the suggestion, this was the solution:
F2934C38-20CF-4894-A48D-3531AC741A91.jpeg
by adrianmihai83
2020-02-07 23:01
Forum: Scripting
Topic: Problem with AutoBan
Replies: 18
Views: 16865

Re: Problem with AutoBan

@SorenR, still the same, copy pasted your function, thought that maybe there is something spelled wrong in my function, but the same function is working on another server... same Windows 2008 R2, same version of hMailServer... This is odd @mattg, as I said, I am on the latest RvdH build - 5.6.8, the...
by adrianmihai83
2020-02-06 22:11
Forum: Scripting
Topic: Problem with AutoBan
Replies: 18
Views: 16865

Re: Problem with AutoBan

mattg, autoban entries are set at priority 20, my localhost is never banned SorenR, I tried the following thing just to be sure that problem comes from disconnect. 1. telnet from another computer to the mail server 2. in cmd, ran Disconnect.exe to see all connections 3. tried Disconnect.exe Ip_Addre...
by adrianmihai83
2020-02-06 12:54
Forum: Scripting
Topic: Problem with AutoBan
Replies: 18
Views: 16865

Re: Problem with AutoBan

Thanks mattg, but that was not the problem, localhost has priority 80. The problem is with the disconnect function from the script, after calling it a couple of times and failing, hMailServer freezes.
by adrianmihai83
2020-02-06 11:33
Forum: Scripting
Topic: Problem with AutoBan
Replies: 18
Views: 16865

Re: Problem with AutoBan

Not working... :(

Thanks SorenR for the suggestion.
by adrianmihai83
2020-02-05 23:26
Forum: Scripting
Topic: Problem with AutoBan
Replies: 18
Views: 16865

Re: Problem with AutoBan

I do have the wait function inside my script, just did not put it in the first place: ' Function Wait - https://www.hmailserver.com/forum/viewtopic.php?p=212052 Function Wait(sec) With CreateObject("WScript.Shell") .Run "timeout /T " & Int(sec), 0, True ' Windows 7/2003/2008 or later ' .Run "sleep -...
by adrianmihai83
2020-02-05 21:27
Forum: Scripting
Topic: Problem with AutoBan
Replies: 18
Views: 16865

Re: Problem with AutoBan

Some more insight, there is a problem with Disconnect function. I disabled the disconnect function and the script went to AutoBan and added the ip to IpRanges. My Disconnect function is: ' Function Disconnect - http://hmailserver.com/forum/viewtopic.php?f=7&t=34058 ' Download disconnect.exe from: ht...
by adrianmihai83
2020-02-05 20:11
Forum: Scripting
Topic: Problem with AutoBan
Replies: 18
Views: 16865

Problem with AutoBan

I am facing the following problem when trying to add to IpRanges some ip's. I have the latest RvdH build. On short, the part for autoban is: Private Const ADMIN = "Administrator" Private Const PASSWORD = "my-password" Private Const TEMPDIR = "C:\Program Files (x86)\hMailServer\Temp" ' Function LockF...
by adrianmihai83
2020-01-18 23:48
Forum: General discussions
Topic: Adding rejected IP's by DNS Blacklists to IpRanges or Firewall
Replies: 5
Views: 3928

Re: Adding rejected IP's by DNS Blacklists to IpRanges or Firewall

RvdH, thank you for your answer.

I can confirm that server is not acting as an open relay, none of the accounts have been hacked and in Ip Ranges -> internet I have SMTP authentication for local to local.
by adrianmihai83
2020-01-18 23:44
Forum: Scripting
Topic: Firewall Ban
Replies: 173
Views: 394620

Re: Firewall Ban

Just a little inconsistency:

in hmsFirewallBan.ps1 you create table hm_fwban and in EventHandlers.vbs you add to table hm_FWBan

Edit: also, there is no field countrycode
by adrianmihai83
2020-01-18 21:55
Forum: General discussions
Topic: Adding rejected IP's by DNS Blacklists to IpRanges or Firewall
Replies: 5
Views: 3928

Re: Adding rejected IP's by DNS Blacklists to IpRanges or Firewall

Exactly what I was doing right now :)

Thank you for your hard work! Will keep you posted.

Regards,
Adrian
by adrianmihai83
2020-01-18 20:16
Forum: General discussions
Topic: Adding rejected IP's by DNS Blacklists to IpRanges or Firewall
Replies: 5
Views: 3928

Adding rejected IP's by DNS Blacklists to IpRanges or Firewall

Dear group, I am running the modified version of hMailServer by @RvdH with a script that bans IP's based on "X-hMailServer-Reason-Score" flag, adds a wait of 15 seconds to SMTP connections and also limits the users to the number of emails that they can send daily. In the last 2 days I have experienc...
by adrianmihai83
2018-02-19 17:27
Forum: General discussions
Topic: Just another "Cannot send only to Gmail" topic
Replies: 12
Views: 9143

Re: Just another "Cannot send only to Gmail" topic

I said that I will come back, didn’t I? :) This is just my experience with this problem, now marked as solved :) 0. Make sure that none of your accounts pasword has been breached and you are not sending spam without your will 1. Implement all of Gmail bulk email good practices and make sure that you...
by adrianmihai83
2018-01-30 21:57
Forum: User-submitted tutorials
Topic: HOW TO run Clamwin and have a ClamAV system SERVICE
Replies: 257
Views: 589485

Re: HOW TO run Clamwin and have a ClamAV system SERVICE

True, clamav + sanesecurity >>> microsoft essentials

I'm not a big fan of Microsoft but I learn as things evolve, thank you again

edit: I've told you that I read line by line :) but this, i think, it has to go into the tutorial

edit2: no, there is no email monitor in Essentials
by adrianmihai83
2018-01-30 21:41
Forum: User-submitted tutorials
Topic: HOW TO run Clamwin and have a ClamAV system SERVICE
Replies: 257
Views: 589485

Re: HOW TO run Clamwin and have a ClamAV system SERVICE

you are a hero!!!

it worked... will see next how to take on this

edit: seems that excluding clamd.exe process from Security Esentials does not work
by adrianmihai83
2018-01-30 20:57
Forum: User-submitted tutorials
Topic: HOW TO run Clamwin and have a ClamAV system SERVICE
Replies: 257
Views: 589485

Re: HOW TO run Clamwin and have a ClamAV system SERVICE

I will go again line by line... Clamd service is running, I see it in task manager and in services.msc that it is started. Just now did turn off firewall completely and restarted, but when pressing test I get the same error. I was using clamWin 0.9.1 to scan emails and the only difference is that I ...
by adrianmihai83
2018-01-30 20:11
Forum: User-submitted tutorials
Topic: HOW TO run Clamwin and have a ClamAV system SERVICE
Replies: 257
Views: 589485

Re: HOW TO run Clamwin and have a ClamAV system SERVICE

Is there something I'm missing? This is what I get when pressing test: Screen Shot 2018-01-30 at 18.28.26.png clamd service is running, it is allowed through firewall and clamd.conf is: TCPAddr 127.0.0.1 TCPSocket 3310 MaxThreads 2 LogFile C:\Program Files (x86)\ClamWin\bin\clamd.log DatabaseDirecto...
by adrianmihai83
2018-01-30 13:06
Forum: Scripting
Topic: If SPAM add IP to blacklist or IP-Ranges ?
Replies: 7
Views: 6831

Re: If SPAM add IP to blacklist or IP-Ranges ?

Lookup function, and code is complete :) Function Lookup(strRegEx, strMatch) With CreateObject("VBScript.RegExp") .Global = False .Pattern = strRegEx .IgnoreCase = True If .Test(strMatch) Then Lookup = True Else Lookup = False End If End With End Function This is my favorite "go to" script.
by adrianmihai83
2018-01-28 16:09
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 526
Views: 606408

Re: Sub OnHELO(oClient) progress?

Well, seams like I cannot edit my previous post. Like a breeze, just replacing 4 files and I am up and running and things look ok. Script is basically SorenR's version: Sub OnClientConnect(oClient) If(Left(oClient.IPAddress, 8) = "127.0.0.") Then Exit Sub ' Webmail should not wait If(Left(oClient.IP...
by adrianmihai83
2018-01-28 12:15
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 526
Views: 606408

Re: Sub OnHELO(oClient) progress?

Thank you, downloading RavdH latest version right away :). Autoban from SorenR is simply brilliant, will search for examples of OnHELLO sub to call autoban, saw a couple of topics here with different implementations, I can only say thanks for all of you that put hard work into making and maintaining...
by adrianmihai83
2018-01-28 11:13
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 526
Views: 606408

Re: Sub OnHELO(oClient) progress?

Arrived here after searching for ylmf-pc attack and OnHELLO implementation. I am interested in using a version of SorenR script detailed here: https://www.hmailserver.com/forum/viewtopic.php?t=30271#p189317 and here: https://www.hmailserver.com/forum/viewtopic.php?f=2&t=30965&p=193666&hilit=AutoBan#...
by adrianmihai83
2018-01-27 14:11
Forum: General discussions
Topic: Just another "Cannot send only to Gmail" topic
Replies: 12
Views: 9143

Re: Just another "Cannot send only to Gmail" topic

In my experience, going with a strict approach regarding spf record did not bring any benefit, marking as soft fail and let the receiver decide was the way to go in order to prevent some cases. I have modified it to strict right now and will see how this goes over the next week. I am not looking for...
by adrianmihai83
2018-01-27 12:47
Forum: General discussions
Topic: Just another "Cannot send only to Gmail" topic
Replies: 12
Views: 9143

Re: Just another "Cannot send only to Gmail" topic

@mattg, thanks man, I understood this from the beginning, it's ok, posted here just to hear others experience... in a constructive way and I thank you for that @jimimaseye, I know that it is not directed to me and I know that there are a lot of topics regarding this problem. That was what I said, in...
by adrianmihai83
2018-01-27 10:41
Forum: General discussions
Topic: Just another "Cannot send only to Gmail" topic
Replies: 12
Views: 9143

Re: Just another "Cannot send only to Gmail" topic

As I said before, in the last week I researched this and went every route that there is, and YES, I did read the article in full, MORE THAN ONCE. 0. Did ask them, no answer 1. Set 2. Set 3. Ip is static 4. No blacklist 5. Read the details from the bounce message and in the link provided and the refe...
by adrianmihai83
2018-01-27 07:12
Forum: General discussions
Topic: Just another "Cannot send only to Gmail" topic
Replies: 12
Views: 9143

Re: Just another "Cannot send only to Gmail" topic

@mattg, thanks for the tip, I forgot to mention that it is already verified since 18th of January 004E9C59-DA02-4BE5-8BDA-5F57FCBFF5CD.jpeg @jimimaseye, first thing I did was to contact goooglevthrough this form: https://support.google.com/mail/contact/msgdelivery After one week I don’t have any fee...
by adrianmihai83
2018-01-26 19:04
Forum: General discussions
Topic: Just another "Cannot send only to Gmail" topic
Replies: 12
Views: 9143

Just another "Cannot send only to Gmail" topic

Dear all, Well, I did search for results about this before posting here, also contacted Google via the contact form and provided every detail possible. I have checked that I have MX, PTR, SPF, DKIM, DMARC setup correctly: https://intodns.com/fsgaz.ro https://mxtoolbox.com/domain/fsgaz.ro/ Problem is...