Search found 3191 matches

by SorenR
2019-05-07 13:12
Forum: General discussions
Topic: Masquerade
Replies: 14
Views: 1001

Re: Masquerade

Thank you that seems to have cured the issue with the scripts not running. However, I am now seeing messages corrupted by the time they get to Outlook (flow is appliance -> hMailServer->Office 365->Outlook). It looks like they are being truncated - I got a large email that Outlook left in Base64 en...
by SorenR
2019-05-07 12:54
Forum: Scripting
Topic: Move emails to top of the queue based on certain priority header flags
Replies: 45
Views: 3306

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

It appears that the "Send Now" button in the Delivery Queue window resets delivery time for the specific oMessage.ID and then restarts the delivery engine. private void menuItemSendNow_Click(object sender, EventArgs e) { WaitCursor waitCursor = new WaitCursor(); hMailServer.DeliveryQueue deliveryQue...
by SorenR
2019-05-07 12:33
Forum: Scripting
Topic: Saving oMessage in OnAcceptMessage to Get MessageID
Replies: 10
Views: 1125

Re: Saving oMessage in OnAcceptMessage to Get MessageID

I found this in the code base below. The Message ID is not available in the OnAcceptMessage, however if you hit .Save like it shows below, will that assign an ID to the message so we can send it out for delivery right away. PLEASE SOMEONE CONFIRM! [Test] public void TestAddTextDuringSending() { hMa...
by SorenR
2019-05-07 10:58
Forum: Scripting
Topic: VBScript Regex to Grab Status Code and Test If 500 or higher.
Replies: 9
Views: 999

Re: VBScript Regex to Grab Status Code and Test If 500 or higher.

cblaze22 wrote:
2019-05-07 06:54
Missing

Code: Select all

regex.MultiLine = True
of course it does... sorry.
by SorenR
2019-05-06 16:55
Forum: User-submitted tutorials
Topic: Hardening hMailServer - The ongoing saga!
Replies: 48
Views: 4975

Re: Hardening hMailServer - The ongoing saga!

palinka wrote:
2019-05-06 14:01

As far as I'm concerned, HELO = IP is spam even if its presented in brackets per the "code".
The HELO check for [IPv4], [IPv6] or FQDN is to satisfy RFC, not anti-SPAM. It will however filter out various bots using malformed FQDN or simple IP greetings.
by SorenR
2019-05-06 16:38
Forum: Scripting
Topic: VBScript Regex to Grab Status Code and Test If 500 or higher.
Replies: 9
Views: 999

Re: VBScript Regex to Grab Status Code and Test If 500 or higher.

Sub OnDeliveryFailed(oMessage, sRecipient, sErrorMessage) Dim regex, matches, match, strResult, sURL Set regex = New RegExp regex.IgnoreCase = True regex.Pattern = "^(?:.*Remote server replied:\s)([0-9]{3})(?:\s.*)$" Set matches = regex.Execute(sErrorMessage) If matches.Count >= 1 Then Set match = ...
by SorenR
2019-05-06 14:06
Forum: Scripting
Topic: VBScript Regex to Grab Status Code and Test If 500 or higher.
Replies: 9
Views: 999

Re: VBScript Regex to Grab Status Code and Test If 500 or higher.

I need a VBScript to Grab Status Code and Test If 500 or higher. I can do this in .NET no problem but VBScript syntax is a little harder for me. The pattern is below but how would i test the string below to grab the 421, then do an IF statement on it (statusCode >= 500)? ^.*Remote server replied: (...
by SorenR
2019-05-06 11:59
Forum: User-submitted tutorials
Topic: Hardening hMailServer - The ongoing saga!
Replies: 48
Views: 4975

Re: Hardening hMailServer - The ongoing saga!

Todays flavor :mrgreen: Disclaimer. Not all variables are declared in the sample code.... Line 583 is Dim... Sub OnHELO(oClient) Dim oXML : Set oXML = LoadXML(XMLDATA) Line 667 is the Dim... Sub OnAcceptMessage(oClient, oMessage) Dim oXML : Set oXML = LoadXML(XMLDATA) No longer needed. When you rem...
by SorenR
2019-05-05 22:33
Forum: Off-topic discussions
Topic: Mozilla has trashed firefox again
Replies: 11
Views: 1401

Re: Mozilla has trashed firefox again

I noticed yesterday i cant install new addons at all. Any Addon install attemp generates a error. It should be some sort of security bug I am told.. I woke up to it yesterday and I'm on ESR version on Windows XP so I thought they had done something to old versions so I removed all my add-on's :roll...
by SorenR
2019-05-05 22:27
Forum: User-submitted tutorials
Topic: Hardening hMailServer - The ongoing saga!
Replies: 48
Views: 4975

Re: Hardening hMailServer - The ongoing saga!

OK, now that everything is running smoothly, I have a couple of questions. I don't understand this one. OnAcceptMessage ' Banned sender via Backup-MX ? If (Left(oClient.IPAddress, 10) = "80.160.77.") Then If isBanned(oMessage) Then Result.Value = 2 Result.Message = "5.7.1 CODE08 The SMTP service on...
by SorenR
2019-05-05 10:19
Forum: User-submitted tutorials
Topic: Hardening hMailServer - The ongoing saga!
Replies: 48
Views: 4975

Re: Hardening hMailServer - The ongoing saga!

the helo check is RFC compliant and it's not "just" an IP, it has to be [ip] in square brackets. if you want to be completely anal then oclient.ipaddress must match ip address in oclient.helo 😎
by SorenR
2019-05-04 21:11
Forum: User-submitted tutorials
Topic: Hardening hMailServer - The ongoing saga!
Replies: 48
Views: 4975

Re: Hardening hMailServer - The ongoing saga!

Anyways... It has all been slightly changed in the meantime :oops: My EventHandlers.vbs is not static code for very long. I find other ways to do the same stuff quicker or with less ressources :mrgreen: I know. And im always 3 generations in the past. :mrgreen: Todays flavor :mrgreen: Disclaimer. N...
by SorenR
2019-05-04 20:15
Forum: User-submitted tutorials
Topic: Hardening hMailServer - The ongoing saga!
Replies: 48
Views: 4975

Re: Hardening hMailServer - The ongoing saga!

Anyways... It has all been slightly changed in the meantime :oops:

My EventHandlers.vbs is not static code for very long. I find other ways to do the same stuff quicker or with less ressources :mrgreen:
by SorenR
2019-05-04 20:12
Forum: User-submitted tutorials
Topic: Hardening hMailServer - The ongoing saga!
Replies: 48
Views: 4975

Re: Hardening hMailServer - The ongoing saga!

Function LoadXML(XMLFile) Dim oApp : Set oApp = CreateObject("hMailServer.Application") Call oApp.Authenticate(ADMIN, PASSWORD) Dim oXML : Set oXML = CreateObject("MSXML2.DOMDocument") <=== YOU ARE MISSING THIS !! oXML.Load(oApp.Settings.Directories.EventDirectory & "\" & XMLFile) If oXML.parseErro...
by SorenR
2019-05-03 12:58
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 197
Views: 42888

Re: Sub OnHELO(oClient) progress?

I have tried killing a perfectly fine and functioning hMailServer with a (in my humble opinion) innocent script... It ocurred totally random from anywhere between 30 minutes and 8 hours. I used the "include" function to add code to the body (not functions or subroutines) of EventHandlers.vbs. It was...
by SorenR
2019-05-03 12:45
Forum: Scripting
Topic: trigger an event when an email is SENT
Replies: 21
Views: 1615

Re: trigger an event when an email is SENT

The thing is that I can copy mail to a sent folder without actually sending the mail, I can also turn off adding to a a sent folder in my mail client, or changing the folder. My various mail clients all use a different 'sent' folder each by default, so I have a sent from my iphone, sent form deskto...
by SorenR
2019-05-03 07:42
Forum: Scripting
Topic: trigger an event when an email is SENT
Replies: 21
Views: 1615

Re: trigger an event when an email is SENT

Yes you keep saying that, but why? What is the use case? I'm thinking vbscript OnAcceptMessage() and check for oMessage.FromAddress = user@domain and then do stuff to/with email ...OR... global rule if from = xxxx then forward copy to "carboncopy@mydomain.tld" and have an account rule run function ...
by SorenR
2019-05-02 16:24
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 197
Views: 42888

Re: Sub OnHELO(oClient) progress?

OnClientConnect only support Result.Value = 1 and it should show as "SENT: 554 Rejected" in your SMTP log. I never saw this before. I just checked my old logs for a few randomly and that message never showed up, but the connection was definitely dropped. Searched logs back to 2011... Aparently it o...
by SorenR
2019-05-02 16:12
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 197
Views: 42888

Re: Sub OnHELO(oClient) progress?

oy vey! Sorry for hijacking the thread with my poor scripting! :oops: But that explains everything. So It should be like this instead? If connection from "good" country, go ahead and process; if from "bad" country, disconnect. I reversed your script for reasons I wrote in the other thread. strBase ...
by SorenR
2019-05-02 14:39
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 197
Views: 42888

Re: Sub OnHELO(oClient) progress?

Found the code...

If it's the last ting that goes on in "Sub OnClientConnect(oClient)" then the "Exit Sub" is not needed...

Oh and...

Code: Select all

   strBase = "^(US|CA|GB|BE|DK|FR|GR|GL|IS|IE|IT|LI|NO|PL|PT|RO|SK|SI|ES|SE)$"
by SorenR
2019-05-02 14:28
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 197
Views: 42888

Re: Sub OnHELO(oClient) progress?

OnClientConnect only support Result.Value = 1 and it should show as "SENT: 554 Rejected" in your SMTP log. Using the 20 second delay will mostly result in the "caller" disconnecting if "caller" is not a normal mailserver. BOT's make money, time is money and the 20 second delay will cause them to lo...
by SorenR
2019-05-02 14:01
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 197
Views: 42888

Re: Sub OnHELO(oClient) progress?

OnClientConnect only support Result.Value = 1 and it should show as "SENT: 554 Rejected" in your SMTP log. Using the 20 second delay will mostly result in the "caller" disconnecting if "caller" is not a normal mailserver. BOT's make money, time is money and the 20 second delay will cause them to loo...
by SorenR
2019-05-02 13:56
Forum: Feature requests
Topic: Feature Reguest: Log Transaction Sequence Number
Replies: 11
Views: 4818

Re: Feature Reguest: Log Transaction Sequence Number

palinka wrote:
2019-05-02 13:30
👍
Now you just need Ruud to implement it :mrgreen:
by SorenR
2019-05-02 13:31
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 197
Views: 42888

Re: Sub OnHELO(oClient) progress?

I got it too... It's perfectly normal, I just don't see them in my log as I don't do "debug" :mrgreen: AND... Sub OnClientConnect(oClient) IS default hMailServer! "DEBUG" 2312 "2019-05-02 12:37:29.134" "Creating session 2941" "SMTPD" 2312 2941 "2019-05-02 12:37:29.134" "185.130.56.208" "SENT: 220 m...
by SorenR
2019-05-02 13:23
Forum: Feature requests
Topic: Feature Reguest: Log Transaction Sequence Number
Replies: 11
Views: 4818

Re: Feature Reguest: Log Transaction Sequence Number

palinka wrote:
2019-05-02 13:09
Session number for log entries would be extremely useful.
Session numbers, that's what I thought too... at first... It's the thread ID you need - to crossreference multiple logfiles :wink:

https://www.hmailserver.com/forum/viewt ... lit=thread
by SorenR
2019-05-02 13:19
Forum: Scripting
Topic: trigger an event when an email is SENT
Replies: 21
Views: 1615

Re: trigger an event when an email is SENT

Hmm... This is like me driving to town on weekends... I'll be running all the red lights and not using my turn signals - I'm not coming to town to watch the coloured lights and it's nobody's business where I'm going... :roll:
by SorenR
2019-05-02 13:12
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 197
Views: 42888

Re: Sub OnHELO(oClient) progress?

Ok, but that doesn't explain why the OnClientConnect event was ignored. OnClientConnect is nothing what comes from official hMailServer code. It must been inserted by RdvH. Bottom line is, before the first SMTP Command token is even processed, ASIO is allready in charge, it even happends before TLS...
by SorenR
2019-05-02 10:04
Forum: Scripting
Topic: trigger an event when an email is SENT
Replies: 21
Views: 1615

Re: trigger an event when an email is SENT

naren wrote:
2019-05-02 09:21
this event will be active for all the users.
Do you need to modify the message before delivery or is it only for reference?
by SorenR
2019-05-02 09:18
Forum: Feature requests
Topic: User mailbox editing
Replies: 41
Views: 28197

Re: User mailbox editing

In Denmark an email marked "private" is regarded legally private regardless of who owns the server it is on. As a rule the employer can ONLY read your emails IF you have been informed at employment start or during job renegotiation. Tracking calls/emails/mms/sms etc. is only allowed if justified for...
by SorenR
2019-05-02 09:04
Forum: Scripting
Topic: exclude original email body in reply email
Replies: 5
Views: 727

Re: exclude original email body in reply email

naren wrote:
2019-05-02 06:12
currently we are using Mozilla Thunderbird.

Is there any other client which supports my scenario ?
Don't use TB myself but according to Google... "Click on Account name/Veiw Settings for this Account/Compsition and Addressing/uncheck the auto quote feature" ??
by SorenR
2019-05-02 08:58
Forum: Scripting
Topic: trigger an event when an email is SENT
Replies: 21
Views: 1615

Re: trigger an event when an email is SENT

we would require to read the SENT message_id to continue our implementation. Can you please let us know how proceed further on this ? Are your clients required to authenticate with the server to send emails? Is this "event" active for all users or only single domains? Accessing a "sent mail" is rea...
by SorenR
2019-05-02 08:41
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 197
Views: 42888

Re: Sub OnHELO(oClient) progress?

Are you using the 20 second delay? That would certainly account for most of the "The write operation failed"... I am a bit worried about this though... "The write operation failed. Bytes transferred: 0 Remote IP: 127.0.0.1, Session: 569, Code: 10054, Message: An existing connection was forcibly clos...
by SorenR
2019-04-29 13:54
Forum: General discussions
Topic: fake "mail from"
Replies: 27
Views: 4732

Re: fake "mail from"

couldn't you just Internet IP range - allow only from external to local without AUTH 127.0.0.1 to 127.0.0.1 - allow with AUTH (local to local, local to external, and external to local) 10.4.1.0 to 10.4.1.255 - allow with AUTH (local to local, local to external, and external to local) 70.205.7.178 t...
by SorenR
2019-04-27 22:59
Forum: General discussions
Topic: Block spoofed mail
Replies: 26
Views: 6967

Re: Block spoofed mail

I did play with it some time ago ... It's functioning proof-of-concept ... Meaning It could probably be shorter code ;-) Function Impersonator <boolean> will check oClient.Username against oMessage.FromAddress, oMessage.From and email header "Reply-To" ... It will also check if a valid alias is used...
by SorenR
2019-04-27 13:16
Forum: Development & alpha discussions
Topic: hMailServer 5.7.0 64-Bit (LTS) - April Release with OpenSSL 1.0.2r update
Replies: 38
Views: 4106

Re: hMailServer 5.7.0 64-Bit (LTS) - April Release with OpenSSL 1.0.2r update

Just a thought... If it is a VM ... a binary representation of a computer ... it can be copied and loaded somewhere else ... electronically ... or?
by SorenR
2019-04-27 12:43
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 197
Views: 42888

Re: Sub OnHELO(oClient) progress?

OK, total Github NOOB question here.... 1: I downloaded version 5.4.2-B1964 2: I modified code and compiled 3: Original Master is modified ... How the h**l do I get my fork updated with current changes? 4: Can someone give me the 5 minute "how to" peptalk? My changes are not that many or complex so ...
by SorenR
2019-04-25 14:56
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 197
Views: 42888

Re: Sub OnHELO(oClient) progress?

Dravion seems to be well into the project with (what appears to be) a working 64bit version with up-to-date SSL code.

Image
by SorenR
2019-04-25 14:37
Forum: Scripting
Topic: VBScript formatting date/time
Replies: 4
Views: 798

Re: VBScript formatting date/time

Our idea was to create a converted array from a datetime value and prepare the results in a way we need it in the scripts. Once the array was created, it is easy to build the necessary strings. Function GetTimeArray(ts, iDecimals) Dim a(6), n, iSeconds, iMilliseconds If iDecimals < 0 Then iDecimals...
by SorenR
2019-04-25 02:02
Forum: Scripting
Topic: VBScript formatting date/time
Replies: 4
Views: 798

VBScript formatting date/time

Function sprintf(sFmt, aData) Dim g_oSB Set g_oSB = CreateObject("System.Text.StringBuilder") g_oSB.AppendFormat_4 sFmt, (aData) sprintf = g_oSB.ToString() g_oSB.Length = 0 Set g_oSB = Nothing End Function WScript.Echo "sprintf 24H format =>", sprintf( "{0:yyyy-MM-dd HH:mm:ss}", Array(Date())) WScr...
by SorenR
2019-04-22 15:00
Forum: General discussions
Topic: 5.4.7 - delivery expired (message too old) [default] '[errno 60] Operation timed out'
Replies: 6
Views: 1482

Re: 5.4.7 - delivery expired (message too old) [default] '[errno 60] Operation timed out'

Make sure you use a reputeable NTP service for your server. If your time is out-of-sync some servers may respond this way.
by SorenR
2019-04-22 14:47
Forum: General discussions
Topic: "Severity: 2 (High), Code: HM4208" and "Severity: 1 (Critical), Code: HM5519"
Replies: 7
Views: 841

Re: "Severity: 2 (High), Code: HM4208" and "Severity: 1 (Critical), Code: HM5519"

Forgot to ask... Is this an account rule or a system rule calling the script?
by SorenR
2019-04-22 14:41
Forum: General discussions
Topic: "Severity: 2 (High), Code: HM4208" and "Severity: 1 (Critical), Code: HM5519"
Replies: 7
Views: 841

Re: "Severity: 2 (High), Code: HM4208" and "Severity: 1 (Critical), Code: HM5519"

Mattg: The timestamp was deliberate as I want the same timestamp in both fields. With two calls to NOW(), they could be different. There is NO difference in NOW() if issued in same SQL statement, I know from experience. You are correct that in normal circumstances VBScript/Windows will destroy obje...
by SorenR
2019-04-22 11:29
Forum: General discussions
Topic: "Severity: 2 (High), Code: HM4208" and "Severity: 1 (Critical), Code: HM5519"
Replies: 7
Views: 841

Re: "Severity: 2 (High), Code: HM4208" and "Severity: 1 (Critical), Code: HM5519"

I modified your script a bit. - Changed "+" to "&" as I have seen problems with that before. - Fixed your RegEx - you are mixing two different coding styles. - Added some error checks on open DB and changed your SQL statement so it should not produce an error if key exists. - Moved "CurrentTime()" t...
by SorenR
2019-04-20 09:38
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 197
Views: 42888

Re: Sub OnHELO(oClient) progress?

ras07 wrote:
2019-04-20 04:00
Is it possible to tell OnHELO to reply with an SMTP code other than 542? I'm thinking that 421 might be useful, probably others ...
Result.Value = 3 will send errorcode 453 ... if it follows my initial code.
by SorenR
2019-04-17 23:15
Forum: General discussions
Topic: Public IMAP Folder don't show moved messages
Replies: 15
Views: 1741

Re: Public IMAP Folder don't show moved messages

The short version (NOT to be performed by hand!): // Goes through all mailboxes and sets the foldercurrentuid to the latest message uid. SELECT messagefolderid, MAX(messageuid) as messageuid FROM hm_messages GROUP BY messagefolderid; Calculate messageFolderID as 64 bit integer based on field message...
by SorenR
2019-04-17 19:07
Forum: General discussions
Topic: Lego: Windows-based auto-renewal of Let's Encrypt certs, including wildcards
Replies: 6
Views: 1090

Re: Lego: Windows-based auto-renewal of Let's Encrypt certs, including wildcards

Is it compatible for those of us running Windows DNS server (not 'bind')? [Entered by mobile. Excuse my spelling.] Can you do a split horizon with MS DNS? As I read it Lego needs to play with the public DNS to add some stuff to it. Lego... I have fond memories of my kids playing with Lego all over ...
by SorenR
2019-04-15 12:17
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 29
Views: 3014

Re: hMailServer.Message Object

Again Unsure how this could be sent from another hmailserver machine though unless you install hmailadmin on another LAN machine as SorenR has done I don't believe for a second that being able to send from your server without AUTH, or even from a known LAN install when you have specifically allowed...
by SorenR
2019-04-14 22:59
Forum: General discussions
Topic: messageflags column of hm_messages table
Replies: 11
Views: 882

Re: messageflags column of hm_messages table

Perhaps this works better... intFlag = 97 'Test for each flag If intFlag AND 1 Then Wscript.Echo " - Message has been read" If intFlag AND 2 Then Wscript.Echo " - Message is marked for deletion" If intFlag AND 4 Then Wscript.Echo " - Message has been flagged" If intFlag AND 8 Then Wscript.Echo " - M...
by SorenR
2019-04-14 22:23
Forum: General discussions
Topic: messageflags column of hm_messages table
Replies: 11
Views: 882

Re: messageflags column of hm_messages table

You are not a programmer, eh? I am a VB.NET & C# application developer. I understood binary part 0 1 1 0 0 0 0 = 2 + 4 = 6 1 0 0 1 0 0 1 = 1 + 8 + 64 = 73 Can you elaborate table you showed below binary part. :wink: S D F A D R V e e l n r e i e l a s a c r n e g w f e u t g e t n s ( e e r t R d d...
by SorenR
2019-04-14 22:04
Forum: General discussions
Topic: messageflags column of hm_messages table
Replies: 11
Views: 882

Re: messageflags column of hm_messages table

Convert to binary, much simpler. SorenR , can you explain how would it be much simpler in binary? You are not a programmer, eh? 0 1 1 0 0 0 0 = 2 + 4 = 6 1 0 0 1 0 0 1 = 1 + 8 + 64 = 73 S D F A D R V e e l n r e i e l a s a c r n e g w f e u t g e t n s ( e e r t R d d e S e d c a a d n ) n e d
by SorenR
2019-04-14 20:57
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 29
Views: 3014

Re: hMailServer.Message Object

VadaDosa wrote:
2019-04-14 20:49
Martin is not following this forum then who has released hMailServer 5.6.8 - Build 2431 (BETA) on 2018-03-27? :roll:

I guess HMS could be considered as an open relay until fix is provided. :twisted:
Last active on forum 27 Jan 2019, 21:48.
People report stuff on Github if Martin needs to see it.
by SorenR
2019-04-14 20:55
Forum: General discussions
Topic: messageflags column of hm_messages table
Replies: 11
Views: 882

Re: messageflags column of hm_messages table

Thank you jimimaseye for sharing this link. I see other flag numbers. Please tell me if I guessed those correctly. :? 9 = Seen + Answered (1 + 8 ) 17 = Seen + Draft (1 + 16) 33 = Seen + Recent (1 + 32) 41 = Seen + Answered + Recent (1 + 8 + 32) 45 = seen + Answered + Flagged + Recent (1 + 8 + 4 + 3...
by SorenR
2019-04-14 18:42
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 29
Views: 3014

Re: hMailServer.Message Object

With CreateObject("hMailServer.Application", "192.168.0.5") ... also works for me. In hMailAdmin chose Alt+F "Connect" and use what it says in the Host column. yes, sure, i know my servers IP nr. :o Error explanation is clear to me: service does not exist. so true, i have on my PC only hMailAdmin i...
by SorenR
2019-04-14 17:47
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 29
Views: 3014

Re: hMailServer.Message Object

With CreateObject("hMailServer.Application", "192.168.0.5")

... also works for me. In hMailAdmin chose Alt+F "Connect" and use what it says in the Host column.
by SorenR
2019-04-14 14:38
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 29
Views: 3014

Re: hMailServer.Message Object

it came to my attention some time ago when i was trying jimimaseye's email clearup script (delete mails older than x days). after finishing the job it sends a report. this is not logged by SMTP. on server that's a known feature. anyone who is logged on the box can do this among countless other thin...
by SorenR
2019-04-14 00:08
Forum: General discussions
Topic: Account rule deletes message but not the reference
Replies: 9
Views: 1091

Re: Account rule deletes message but not the reference

Hmm... You remember to check for "X-hMailServer-LoopCount Less than 1" in your forwarding rule?
by SorenR
2019-04-13 22:26
Forum: General discussions
Topic: Account rule deletes message but not the reference
Replies: 9
Views: 1091

Re: Account rule deletes message but not the reference

I just tried to replicate your results... My logs are similar to yours but I don't get the message from Postmaster, maybe because I use IMAP. I added the rules as global rules and the log is slightly different, there is no "DeliveryTask" and there is no ""SMTPDeliverer - Message 369696: The message ...
by SorenR
2019-04-13 00:10
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 2922

Re: You are only allowed to send from your own account

I understand the "local" and "external" email address difference and assume that the "Internet" range is for mail sent via SMTP to my server from outside the server, but what is the significance/difference between "Server, My Computer and Internet"? "Server" ... Public (or pseudo-public LAN) IP add...
by SorenR
2019-04-12 23:31
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 2922

Re: You are only allowed to send from your own account

In the settings for IP Ranges there are 3 options: - Server - My computer - Internet I assume that "Internet" means email sent via the internet using normal channel for SMTP, but what do the other 2 options mean specifically? For example a spammer sending direct via my server... will appears as a l...
by SorenR
2019-04-12 17:02
Forum: General discussions
Topic: Account rule deletes message but not the reference
Replies: 9
Views: 1091

Re: Account rule deletes message but not the reference

both rules are from same account. you're right with global rules. i use also exclusively global rules to sort spam and change headers etc... till last week i was using globals also for redirectings. due to multiple receipts by splitted mails issue i told about before, i changed this policy and drop...