Search found 3582 matches

by SorenR
2020-03-04 19:19
Forum: Scripting
Topic: Move emails to top of the queue based on certain priority header flags
Replies: 66
Views: 23350

Re: Move emails to top of the queue based on certain priority header flags

From my undertanding on your outline no NEW file is created on the server and no NEW mail message is inserted into the queue. It always works with the original .eml file? Set oMail = CreateObject("hMailServer.Message") strFilename = oMail.Filename This will create a new blank email with the filenam...
by SorenR
2020-03-04 18:11
Forum: Scripting
Topic: Move emails to top of the queue based on certain priority header flags
Replies: 66
Views: 23350

Re: Move emails to top of the queue based on certain priority header flags

Going back over "old" code can sometimes be challenging ;-) Set oMail = CreateObject("hMailServer.Message") strFilename = oMail.Filename create a new blank email. oFSO.CopyFile column(5), strFilename, True copies the email in queue to the newly created email. oMail.RefreshContent reload the newly cr...
by SorenR
2020-03-04 04:12
Forum: General discussions
Topic: prohibit blind copying on server
Replies: 4
Views: 2554

Re: prohibit blind copying on server

BCC is simple... The object oMessage.Recipients(i).Address (i = 0 to oMessage.Recipients.Count-1) contains the list of recipient(s) this particular email is addressed to, it can be 1 or multiple recipients. "Envelope" Recipients can be found as "RCPT TO:" in the SMTP log. IF the list of recpient(s) ...
by SorenR
2020-03-03 19:31
Forum: General discussions
Topic: Block IPs
Replies: 265
Views: 66097

Re: Block IPs

To make this VERY short.... IF you have REQUIRE AUTH on SMTP local-to-local or local-to-external then DisableAUTHList=25 means you CANNOT use port 25 TO SEND email, the AUTH command simply do not work anymore. Your server WILL be able to receive emails on port 25 from your friends as they are extern...
by SorenR
2020-03-02 02:40
Forum: Development & alpha discussions
Topic: Removing x86 support in 5.7
Replies: 29
Views: 13726

Re: Removing x86 support in 5.7

Ideally there would be some scripts to migrate messages, databases and settings to a new machine. That would help most of the "old guard" migrate off old x86 Windows into new x64 Windows. However, a description of the procedure will also do. For me, the tricky part is "-Backup hamailserver selectin...
by SorenR
2020-03-01 17:03
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

That example I returned only the result that hmailserver uses internally, eg: PASS, FAIL and NEUTRAL in SpamTestSPF.cpp i created a helper function to parse enum value to string etc. etc. Ah... I figured that much but you are avoiding the real question :mrgreen: How do I use the function/class/name...
by SorenR
2020-03-01 00:29
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

@mikernet Can you upgrade to latest beta? (5.6.8 - Build 2494) If so, i can supply you a custom build that reports SPF test result to narrow down the possible problem "DEBUG" 6364 "2020-02-27 08:12:36.599" "Spam test: SpamTestHeloHost, Score: 0" "DEBUG" 6364 "2020-02-27 08:12:36.661" "Spam test: Sp...
by SorenR
2020-02-29 23:49
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 158
Views: 33984

Re: Corona Virus

Image
by SorenR
2020-02-29 16:54
Forum: General discussions
Topic: Grey Listing Appears Bypassed Coming From MX Backup Server
Replies: 7
Views: 3360

Re: Grey Listing Appears Bypassed Coming From MX Backup Server

Perhaps some explanation to part of the code... How to find the original sender. We assume BackupMX identify as "backup-mx.post.tele.dk" The headers we are focusing on are... Received: from backup-mx.post.tele.dk (backup-mx2.post.tele.dk [80.160.77.115]) by MX.MYDOMAIN.TLD ; Sat, 15 Jun 2019 22:17:5...
by SorenR
2020-02-29 16:24
Forum: General discussions
Topic: Grey Listing Appears Bypassed Coming From MX Backup Server
Replies: 7
Views: 3360

Re: Grey Listing Appears Bypassed Coming From MX Backup Server

Take it from someone who have used a BackupMX for 10+ years... I recently switched ISP so now I don't have one anymore. BackupMX and Greylisting DO NOT MIX! For as long as I can remember my BackupMX'es (3 IP's in a round-robin setup) has been on the Whitelist list under Greylisting. As for the other...
by SorenR
2020-02-28 12:06
Forum: General discussions
Topic: DKIM not working correctly
Replies: 19
Views: 8244

Re: DKIM not working correctly

Weird, i've pinpointed the location that returns this error, it located here and @ line 580 in DKIM.cpp If i have read it correctly, at line 566 TXT records are checked, and obviously it find those otherwise that error would have been displayed if (results.size() == 0) { /* 3. If the query for the ...
by SorenR
2020-02-26 22:41
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

Nevermind, I see how a DNS trace could help - there are a lot more results than just pass/fail/neutral. Hmm... The SPF checker should probably emit the actual SPF result into the debug log during the check to help narrow things down. That said, given the limitations of hMailServer SPF testing, I'm ...
by SorenR
2020-02-26 02:05
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

Hmm... I believe it MAY reuse SPF result if available but I can't be sure. Found this in SpamProtection.cpp // Check if the SPF test has succeeded. If so, maybe we should not do if (Configuration::Instance()->GetAntiSpamConfiguration().GetBypassGreyListingOnSPFSuccess()) { for(std::shared_ptr<SpamTe...
by SorenR
2020-02-25 22:20
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

mikernet wrote:
2020-02-25 21:37
It says "SpamTestSPF, Score: 0" which presumably means it passed SPF testing, yet it still greylists it? Am I missing something?
Do you have "Use SPF" test active under Anti-spam?
by SorenR
2020-02-25 15:47
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

I get that ... I have not been really deep into the rmspf.cpp code but is that not the way it works? It would seem a complete waste of time and cpu cycles to continue to the end and if that is the case then we have a different problem with SPF ... Most likely Off-topic... I myself am a bit curious ...
by SorenR
2020-02-25 14:26
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

Anything wrong with that? It appears that only 2 of 10 lookups are used. If we assume the evaluation is performed (top down) the same way hMailServer is doing it (still need to see a WireShark trace of the DNS data exchange) then the "_spf.salesforce.com" record is not even queried thus the macro i...
by SorenR
2020-02-25 13:59
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

RvdH wrote:
2020-02-25 13:53
https://vamsoft.com/support/tools/spf-policy-tester seems to stop processing once a match (pass result) is found, and therefor is not expanding/walking all spf record values
Anything wrong with that?
by SorenR
2020-02-25 13:56
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

I don't think I've ever had a problem with HELO not being used before. I would be surprised if a legit mail sender would rely on that behavior. Would that not completely eliminate the purpose of SPF anyway? The basic test in the link you provided which does not use HELO passes fine though. It would...
by SorenR
2020-02-25 12:39
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

Came across this site https://vamsoft.com/support/tools/spf-policy-tester Click on the "advanced" tab and use these data from the forum. Sender IP Address: 40.107.223.80 Sender Address: XXXXXXX@olg.ca HELO/EHLO Domain: NAM11-DM6-obe.outbound.protection.outlook.com Yes, RFC says that if sender is not...
by SorenR
2020-02-24 17:19
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

I'm afraid we will have to rework - or look for an alternative SPF Lookup solution. It appears the author of the current solution (Roger Moser) is no longer serving the e-mail and conferencing needs of sincere followers of His Divine Grace A.C. Bhaktivedanta Swami Prabhupada ... ISKCON ... commonly ...
by SorenR
2020-02-23 20:45
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

mikernet wrote:
2020-02-23 20:33
I'm working on a debug trace but that won't happen until Monday. The problem 100% exists that something in the VALID olg.ca SPF record is causing hMailServer to fail the SPF check though.
Wireshark ?? I believe you should be able to filter "dns.spf" ...
by SorenR
2020-02-23 18:13
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

OK, researching I can see that the RFCs have changed in 2014, and there is a new version of the spf testing library used in hMailserver I've created a GitHub issue, and will do a pull request. Don't know how long or if that will be implemented https://github.com/hmailserver/hmailserver/issues/314 T...
by SorenR
2020-02-22 21:31
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

Well.... http://www.pamho.net/source/RMSPF112.TXT I did spend some time comparing the original 1.10 and the 1.10 from hMailServer - Martin made a lot of changes to the code. So far everything just blaze past my GreyListing with SPF so clearly something is off ... Until it is confirmed and verified t...
by SorenR
2020-02-22 18:55
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

Attached files compile on my 5.6.8 and seems not to crash when run... 8) The question should be if it validates SPF records properly :) PS... What does your .24 version cover ??? SURBL ??? :wink: Yup, its the altered SURBL regex Well... I do not have sufficient traffic to test that. Sometimes when ...
by SorenR
2020-02-22 18:17
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

RvdH wrote:
2020-02-22 18:11
I noticed mattg placed a pull request in github... I dunno if that is tested code or if he simply replaced the libs without building/testing
It's not.....

Attached files compile on my 5.6.8 and seems not to crash when run... 8)

PS... What does your .24 version cover ??? SURBL ??? :wink:
by SorenR
2020-02-22 14:14
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 46140

Re: SPF not working correctly

Upgrading an existing library to a newer version shouldn't be too hard. We will see. I compared the original 1.10 library and the library from hMailServer 5.6.8 ... - First of all the #define's and the #include's in RMSPF.C has been changed by Martin. - There are massive codechanges from about line...
by SorenR
2020-02-18 18:32
Forum: SpamAssassin implementation discussions
Topic: SA Forwarding
Replies: 14
Views: 7722

Re: SA Forwarding

On my server I have a user SPAM@mydomain.tld and I have two levels of SPAM handling... "Light SPAM (Rule 1)" the user is allowed to see but "serious SPAM (Rule 2)" never reaches the user. Rule 1: IF Custom header field "X-hMailServer-LoopCount" < 1 AND Custom header field "X-hMailServer-Reason-Score...
by SorenR
2020-02-18 15:36
Forum: General discussions
Topic: Requested action not taken: mailbox unavailable or not local.
Replies: 9
Views: 4616

Re: Requested action not taken: mailbox unavailable or not local.

Worldwide DNS-Server updates/changed on the Public Internet can take up to 72h. Nah ... Perhaps if you create a totally new domain and your domain hoster is an ass ... When I create a new FQDN on my existing domain or change the IP address it takes 30 seconds for Google to find it. I use a US based...
by SorenR
2020-02-17 16:55
Forum: Scripting
Topic: Script not blocking all domain in the array
Replies: 13
Views: 5166

Re: Script not blocking all domain in the array

OnAcceptMessage should fire between antivirus and rules You may want to revisit this... ' hMailServer Triggers Sub OnClientConnect(oClient) End Sub Sub OnClientLogon(oClient) '<< A bit special, for POP/IMAP it comes after OnClientConnect(). For SMTP it comes after OnHELO() End Sub Sub OnHELO(oClien...
by SorenR
2020-02-16 14:08
Forum: Scripting
Topic: Script not blocking all domain in the array
Replies: 13
Views: 5166

Re: Script not blocking all domain in the array

Sub OnAcceptMessage(oClient, oMessage) Dim strRegEx strRegEx = "(\@126\.com)|" &_ "(\@163\.com)|" &_ "(\@aliyun\.com)|" &_ "(\@googlegroups\.com|)" &_ "(\@emailsrvr\.com)" With CreateObject("VBScript.RegExp") .Pattern = strRegEx .Global = False .MultiLine = True .IgnoreCase = True If .Test(oMessage...
by SorenR
2020-02-15 15:11
Forum: General discussions
Topic: Block IPs
Replies: 265
Views: 66097

Re: Block IPs

eliassal wrote:
2020-02-15 14:36
But why the phpwebadmin worked without this driver, it talks to sql as well, no?
No, it uses DCOM to the hMailServer application.
by SorenR
2020-02-07 17:05
Forum: General discussions
Topic: hmail with roundcube
Replies: 8
Views: 5682

Re: hmail with roundcube

I use nginx and php on my hMailserver and I had only uncomment this "com.allow_dcom = true" in php.ini. Copy required files to your www catalog. There is instruction in config.inc.dist in all plugins I made. Oh AND !!! Do remember to add the IP address of your Roundcube server to the "hm_rc*.php" f...
by SorenR
2020-02-07 04:22
Forum: General discussions
Topic: hmail with roundcube
Replies: 8
Views: 5682

Re: hmail with roundcube

mattg wrote:
2020-02-07 04:19
SorenR wrote:
2020-02-07 03:48
You WILL need to install the Webportal for hMailServer on the Windows box. It WILL NOT need Internet access but it WILL need permission granted for the Roundcube Server.
Where do I find this 'Webportal for hMailServer'
Er... It's the PHPWebAdmin that comes with hMailServer. :wink:
by SorenR
2020-02-07 04:20
Forum: General discussions
Topic: hmail with roundcube
Replies: 8
Views: 5682

Re: hmail with roundcube

..a little help from Andreas Tunberg (I do not know if he is the brother of Greta ... ) tunis 78 Perhaps he is Greta's father :mrgreen: I do think that this may be our regular 'tunis' The one and only. Found this... password changer for hMailserver using Tunis' "remote_hm" stuff on Unix. https://ww...
by SorenR
2020-02-07 03:48
Forum: General discussions
Topic: hmail with roundcube
Replies: 8
Views: 5682

Re: hmail with roundcube

Well, actually YOU CAN run Roundcube on a 'nix box and hMailServer on a Win box... I do it with a little help from Andreas Tunberg (I do not know if he is the brother of Greta ... ) https://github.com/tunis78 You WILL need to install the Webportal for hMailServer on the Windows box. It WILL NOT need...
by SorenR
2020-02-07 03:09
Forum: Scripting
Topic: Block attack based on Greeting not having effect
Replies: 28
Views: 7873

Re: Block attack based on Greeting not having effect

Got another idea... would I be correct in assuming that any valid greeting needs to have a period somewhere? If so, is there a REGEX that matches a string with a period explicitly missing? ' ' Validate HELO/EHLO greeting ' Const strFQDN = "^(?=^.{1,254}$)(^(?:(?!\.|-)([a-z0-9\-\*]{1,63}|([a-z0-9\-]...
by SorenR
2020-02-06 22:28
Forum: Scripting
Topic: Problem with AutoBan
Replies: 18
Views: 6099

Re: Problem with AutoBan

Function Disconnect(sIPAddress) Dim strCommand, intWindowStyle, bWaitOnReturn strCommand = "C:\PROGRA~2\hMailServer\Events\Disconnect.exe " & sIPAddress intWindowStyle = 0 bWaitOnReturn = True With CreateObject("WScript.Shell") .Run strCommand, intWindowStyle, bWaitOnReturn EventLog.Write(strComman...
by SorenR
2020-02-06 15:00
Forum: Scripting
Topic: Problem with AutoBan
Replies: 18
Views: 6099

Re: Problem with AutoBan

adrianmihai83 wrote:
2020-02-06 11:33
Not working... :(

Thanks SorenR for the suggestion.
Maybe change "True" to "False" so that the script does not wait for the shell command to finish. You have a problem with the "disconnect.exe"...
by SorenR
2020-02-05 23:54
Forum: Scripting
Topic: Problem with AutoBan
Replies: 18
Views: 6099

Re: Problem with AutoBan

Try this, it's using 8DOT3 directory name to avoid the spaces. From a CMD prompt do "dir /X" to list 8DOT3 names. Function Disconnect(sIPAddress) EventLog.Write("Entered disconnect...") With CreateObject("WScript.Shell") .Run "C:\PROGRA~2\hMailServer\Events\Disconnect.exe " & sIPAddress, 0, True 'RE...
by SorenR
2020-02-05 22:14
Forum: Scripting
Topic: Problem with AutoBan
Replies: 18
Views: 6099

Re: Problem with AutoBan

You are missing this...

Code: Select all

    Function Wait(sec)
        With CreateObject("WScript.Shell")
            .Run "powershell Start-Sleep -Milliseconds " & Int(sec * 1000), 0, True
        End With
    End Function
by SorenR
2020-02-04 02:10
Forum: General discussions
Topic: Message sorting
Replies: 1
Views: 3183

Re: Message sorting

I am looking for best solution to set up hMailServer. We have one Google account. There are emails forwarded from more domains (domain1.com, domain2.com, domain3.com, …). Every user has email address with more domain (user1@domain1.com, user1@domain2.com, user1@domain3.com, …). Every user should ha...
by SorenR
2020-02-02 04:40
Forum: General discussions
Topic: Add warning to emails
Replies: 35
Views: 14140

Re: Add warning to emails

The HTML warning you should insert a "begin"-comment and an "end"-comment to give you some boundries so you can nuke whatever is between them. With CreateObject("VBScript.RegExp") .Pattern = "(WARNING[\s\S]*EndOfWarning[\r\n]*)" .Global = False .MultiLine = False .IgnoreCase = False oMessage.Body = ...
by SorenR
2020-01-29 18:42
Forum: General discussions
Topic: URL send to SURBL
Replies: 24
Views: 9486

Re: URL send to SURBL

OK, as it seems BOOST needs some weird extra escaping But i would say, using a regex like: (?:https?:\\/\\/)([^\\?&><\\[\\(#\\\\ \\\"'\\/\\)\\]]*) would solve the issues, see example here: https://regexr.com/4t4ap Could the X-Spam-Report (bad) formatting also be caused by a malformed regex? It appe...
by SorenR
2020-01-28 17:03
Forum: General discussions
Topic: WIn Server 2012 R2 Updates causing hMailServer to go 100% CPU
Replies: 99
Views: 21347

Re: WIn Server 2012 R2 Updates causing hMailServer to go 100% CPU

The sub was never intended to identify the criteria. The criteria is the IF statement in the rule, not the subject matter examined. So yes, the criteria was indeed identified by identifying the rule that was triggered. :mrgreen: cri·te·ri·on (krī-tîr′ē-ən) n. pl. cri·te·ri·a (-tîr′ē-ə) or cri·te·ri...
by SorenR
2020-01-28 16:44
Forum: General discussions
Topic: WIn Server 2012 R2 Updates causing hMailServer to go 100% CPU
Replies: 99
Views: 21347

Re: WIn Server 2012 R2 Updates causing hMailServer to go 100% CPU

Thanks for the input. However, I repeat, Soren's sub only seems to identify the rule NOT the criteria. The sub was never intended to identify the criteria. Having said that ... IF the criteria is met then the rule is performed so that should indicate some form of knowledge about the criteria. It's ...
by SorenR
2020-01-28 16:03
Forum: General discussions
Topic: URL send to SURBL
Replies: 24
Views: 9486

Re: URL send to SURBL

RvdH wrote:
2020-01-28 13:47
What HMS version?

I think te regex used to detect URL's for SURBL checking is faulty,
https://github.com/hmailserver/hmailser ... BL.cpp#L43

Or does BOOST use some weird/custom regex?
https://www.regular-expressions.info/boost.html
by SorenR
2020-01-27 22:11
Forum: General discussions
Topic: Problem with second server
Replies: 4
Views: 2674

Re: Problem with second server

Thanks for your answers... after some tests. I need create routes on both servers, because I cannot send messages from one to other. If local users of Server 2 use Server 1 as SMTP, need authentication. I was thinking about to create a script to review messages on Server 1 and evaluate if has recip...
by SorenR
2020-01-27 16:55
Forum: General discussions
Topic: test onbound port
Replies: 36
Views: 11874

Re: test onbound port

I want to send and receive emails from outside so I definitely need it, right? I added inbound and onbound rules in Firewall with 25 port and others like 993, 465, 110, 143 etc. ISP - do you mean Azure in my case? Outbound rules ??? Like: SMTP Receive: remote (any port > 1023) -> local (port 25) SM...
by SorenR
2020-01-27 16:25
Forum: General discussions
Topic: test onbound port
Replies: 36
Views: 11874

Re: test onbound port

hello, guys so is this test (in Diagnostics) really important? because it's only one (excluding backup test) that I can't pass. what is the problem and how to fix it if necessary? Test: Test outbound port SMTP relayer not in use. Attempting mail.hmailserver.com:25... Trying to connect to host mail....
by SorenR
2020-01-27 16:06
Forum: General discussions
Topic: Problem with second server
Replies: 4
Views: 2674

Re: Problem with second server

The theoretical setup is as follows: MX "axme.inc" -> Server 1 Server 1 domain: "acme.inc" Account 1: "road.runner@acme.inc" Account 2: "daffy.duck@acme.inc" Route "acme.inc" -> Server 2 Server 2 domain: "acme.inc" Account 1: "wile.e.cyote@acme.inc" Account 2: "elmer.fudd@acme.inc" Incoming relays: ...
by SorenR
2020-01-22 22:23
Forum: User-submitted tutorials
Topic: Step by step LetsEncrypt WinSimple
Replies: 66
Views: 54146

Re: Step by step LetsEncrypt WinSimple

I use this https://github.com/Neilpang/acme.sh from my NAS.

It is tested on Windows (cygwin with curl, openssl and crontab included).

https://kb.virtubox.net/knowledgebase/h ... -sh-nginx/
by SorenR
2020-01-20 19:53
Forum: User contributed hMailServer 5 scripts
Topic: Reject on Spamhaus DBL
Replies: 13
Views: 5421

Re: Reject on Spamhaus DBL

Uce-protect hit on a few Amazon ses IPs, which then were rejected. I later found out Amazon ses is perennially blacklisted by uce protect. The are plenty of spammers on Amazon ses, but plenty of non spammers too. Unfortunately i can't know if these were spam or ham since i did not receive the messa...
by SorenR
2020-01-20 19:20
Forum: General discussions
Topic: WIn Server 2012 R2 Updates causing hMailServer to go 100% CPU
Replies: 99
Views: 21347

Re: WIn Server 2012 R2 Updates causing hMailServer to go 100% CPU

What do you mean "accessible" ?? Can be read when triggered / notified of rule engagement. Not created / deleted / altered. I don't know if such a notification exists. Rule action "Run function" rulexyzfinished Sub rulexyzfinished() Call SMS(palinka,"I've done XYZ") End Sub Keine Hexerei nur Behänd...
by SorenR
2020-01-20 17:52
Forum: General discussions
Topic: WIn Server 2012 R2 Updates causing hMailServer to go 100% CPU
Replies: 99
Views: 21347

Re: WIn Server 2012 R2 Updates causing hMailServer to go 100% CPU

Palinka, sorry if I misread, but didn't you say that onHelo could not provide rule criteria id because that had not yet been started? If you hacve another method to obtain the criteria (not rule) id when triggered, could you please provide an example? Maybe I'm the one that misunderstood. If you me...
by SorenR
2020-01-19 01:17
Forum: Scripting
Topic: Session number as object?
Replies: 15
Views: 4833

Re: Session number as object?

What I mean is, I need a unique identifier. oMessage.id is unique https://www.hmailserver.com/documentation/latest/?page=com_object_message Yes but it only exist in oMessage AFTER the message is received. Hmm... Comparing the logs from 5.4.2 (my initial development for ThreadID) and the logs from 5...
by SorenR
2020-01-18 23:47
Forum: Scripting
Topic: Session number as object?
Replies: 15
Views: 4833

Re: Session number as object?

A2: Threads are reused from email to email but an active thread is 1 (one) email from start to finish. If by session # you mean the second column in the log file then a thread can utilize multiple sessions during one conversation. Datatransfer, virus check, spam check all have different session # w...
by SorenR
2020-01-18 23:36
Forum: Scripting
Topic: Session number as object?
Replies: 15
Views: 4833

Re: Session number as object?

Q: Is this available to non-custom-compiled hmailserver 5.7.0? A: Nope... It's mine! You are free to use it however. Q: Does ThreadID reset after restart? What I mean is, I need a unique identifier. A: Yes but it is not unique. Q: Is it directly comparable to session #? Does any thread ID overlap an...
by SorenR
2020-01-18 23:18
Forum: Scripting
Topic: Block attack based on Greeting not having effect
Replies: 28
Views: 7873

Re: Block attack based on Greeting not having effect

Today I've seen this: "SMTPD" 4420 119 "2020-01-18 15:39:30.541" "223.71.167.164" "RECEIVED: EHLO []" How would I add an empty EHLO to the regEx String? ^$ Empty regex string. :D Would not pickup "[]". Wrong... The brackets are NOT added by hMailServer. The RFC says brackets are ONLY used with addr...