I've lost track of this issue, can you link to previous threads? It's something about avoiding double messaging if "Commercial vs Community Google Mail" and including "the recipient they forgot" no? Sender is _always_ external? Recipient _list_ are local users? yes, that was it. sender may be both ...

ID is written in table long before message hits inbox. You should be able to find oMessage.ID already in OnDeliveryStart(). .eml file is in .\hMailServer\Data at this stage. hmm, my approach was: ... strLocalSender = oMessage.Recipients(0).Address '<--- account from which the function is called by ...

my problem is "Subscript out of range". it seems ID isn't written in table unless file is saved on disk. and then it means message has already landed in inbox. too late for anything. am i right? if yes, no need to waste further time. i already have workarounds but it's a shame that calling a "delete...

my chronic headache. i found this here : https://www.hmailserver.com/forum/viewtopic.php?t=19457#p119141 10 years ago the guy suffered from the same. didn't tell it so but very likely a "Subscript out of range" failure. once again in short: account rule message size > 0 calls a function function doe...

servers tend to add headers such as References, In-Reply-To, Thread-Index... if none of them is present, very likely it's an initially sent mail, otherwise either a forward, reply or maybe report. but as mattg suggests, for a server mail is mail, there is no 100% safe criteria for what you want to a...

case closed :D 5.7.0 64-Bit (LTS) - April Release with OpenSSL 1.0.2r now works fine too with ODBC 5.3 . it comes out that ODBC 8.0 was the culprit. but didn't leave any trace. service just stucked. LTS-5.7.0-B2428-LibreSSL-x64 with ODBC 8.0, dying service provided the clue in Event Viewer. so, all ...

I just went through this recently. You can't mix 32/64 bit ODBC connectors drivers with vice/verse apps. You probably didn't have an issue before because you were using the 32 bit hmailserver and 32 bit ODBC driver and your issue is coming from mixing 64 bit hmailserver with your old 32 bit ODBC dr...

I have uploaded a uptodater LibreSSL 2.9.1 Release of LTS 5.7.0, maybe it works in your special Situation. https://github.com/Dravion/hMailServer/releases/download/5.7.0.0/hMailServer-LTS-5.7.0-B2428-LibreSSL-x64.exe now this works like a charm like it's predecessor. ehm, not exactly. service stopp...

I have uploaded a uptodater LibreSSL 2.9.1 Release of LTS 5.7.0, maybe it works in your special Situation. https://github.com/Dravion/hMailServer/releases/download/5.7.0.0/hMailServer-LTS-5.7.0-B2428-LibreSSL-x64.exe thank you so much. now this works like a charm like it's predecessor. obviously th...

The only sane Information about Error 109 (which is a Windows System Error) is this comment: // Can occurs when filled buffers are trying to flush to disk, but disk IOs are not fast enough. // This happens when the disk is slow and event traffic is heavy. // Eventually, there are no more free (empt...

*Do you run hMailServer in your Office LAN behind a NAT Router/DSL-Router and do you use a external Relayserver? yes, behind Untangle Firewall/Router, and yes, Smtp2Go as relayer. but as far as i see, error happens only when receiving. i stressed HMS locally between accounts, no error occured. Do y...

AV was already off since some time. //EDIT: I mean it's on Ubuntu VM, called from within SA. i can turn off SA too if it'd help?? INI here: [Directories] ProgramFolder=C:\hMailServer DatabaseFolder= DataFolder=C:\hMailServer\Data LogFolder=C:\hMailServer\Logs TempFolder=C:\hMailServer\Temp EventFold...

As I said above, I have a lot of time invested here, and I'd like to see it work, but there comes a time where I need to protect my actual income, and move on to a product that continues to be updated. When I first started using hMailserver I wasn't keen on config file and Linux command line stuff,...

Presumably you changed the PASSWORD in your script and didnt leave it as "<password>"? (Stupid question but even so....) yes sure. copy/paste, just changed the password. it works too without any error on my home setup (Dravion's x64 build + MySQL x64). but on office setup (latest HMS + 32 bit MySQL...

i came across to this : https://www.hmailserver.com/documentation/latest/?page=maintenance_scripts i was hoping it might help to fix this issue about messages don't showing up. according to explanation text it should be the right medicine. but it throws an error when it comes to "Call obApp.Utilitie...

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...

It works from a client also but you need to tell it what server to use. Install hMailAdmin to install COM/DCOM on a client without hMailServer. With CreateObject("hMailServer.Application", "my_hmailserver") dim hm Set hm = CreateObject("hMailServer.Message") hm.From = "Wile E. Coyote" hm.FromAddres...

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 thing...

i did some debug as seen below. scenario: i send one mail to one external address + CC a distribution list where i'm also in it. aim : discard the copy from distrolist to myself, forward it to trash account to be reviewed once again, account rules in my account : account rule #1: if message size > 0...

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 dropp...

account rule #1: if message size > 0 run a function function does some checkings, adds an header according to the result, saves the message and returns. then comes account rule #2: if x-header (which was added by above function) contains "Yes" and loopcount < 1 forward to xyz@domain.com delete messa...

I have similar trouble with some text only messages - they just don't show in a mail client My text messages are all auto generated on remote servers, and I check the message content for specific text. These are logs and I look for words like 'error' in the text, I also check dates of log entries e...

my setup is slightly different. you know my concern about double, triple... receipts. after some scripting as i told before i sorted this out with 100% accuracy. now, in fact i don't need this mails which are marked such as "X-HMS-Discarded" and forward & delete them to a trash account. but just to ...

Untitled 2.png after so many happy years with HMS it may sound strange but i'm using Public IMAP folder for the first time to move there certain messages by account rules. image shows how it's setup looks like. ("Anyone" has only "Insert" permission, admin "full".) however #public.Discarded folder ...

Well... Gave up... Started to poke around my old posts here and found this... You can call it from e.g. OnAcceptMessage but I made an Account rule to call function "CopyMail". It will clone the message, change Message-ID, add recipient and put it back in the queue. Optionally you can add a custom h...

IIRC you need to tamper with the header "Message-ID" for hMailServer to accept and index the message... thanks for clever suggestion. yes exactly, that Message-ID thing. i adjusted your code and tried. all runs perfectly. file written to temp dir with correct full name. no any errors at all. but ac...

or better i mark it with a header such as "X-HMS-ToBeForwarded = Yes" put a subsequent rule in account which reads this and if Yes forwards to x,y,z no, silly me, then i don't know which of x,y,z or all 3 should get a copy (function knows it!!). setting X-HMS-ToBeForwarded = x,y,z may do the job bu...

thanks, i haven't seen it.
any suggestion how to copy this message to another acccount (like forward in rules)?
i already do this by creating new message from current one and addRecipient etc..
but just looking for a more complete solution where message is copied "as is".

Hi, account rule calls a function where it tries to copy oMessage to an IMAP folder of another account. Dim obDomain, obAccount, obFwdFolder Set obDomain = obApp.Domains.ItemByName(strDomain) Set obAccount = obDomain.Accounts.ItemByAddress(arrFwdAdd) '<- copy message to this account's inbox Set obFw...

first rule run function to lookup recipient_2@local.com and add header with result, second rule check header... it turns out it's even with a single account rule possible. what i've done: 1. write Message-ID and all oMessage.Recipients(i).Address from every processed message in a table at OnAcceptM...

i understand that you already have access to a decent SMTP service.
i'd suggest you use it as your default SMTP relayer instead of Google. so you won't need to route anything.
about the other workaround i prefer to stay noncommittal. one of the mods may or may not offer other solutions.

Hmm... Your Google is different from mine :mrgreen: :lol: probably the same. was it your free Gmail account you sent from? i've done the same test from my Gmail and message arrived to HMS unsplitted. however the customer from my above example sent it from their own company address via Google SMTP s...