Search found 594 matches

by katip
2019-04-19 11:24
Forum: Development & alpha discussions
Topic: New hMailServer x 64 MSI Installer
Replies: 26
Views: 3281

Re: New hMailServer x 64 MSI Installer

here one of the dumps attached.
thks.
by katip
2019-04-19 08:29
Forum: Development & alpha discussions
Topic: New hMailServer x 64 MSI Installer
Replies: 26
Views: 3281

Re: New hMailServer x 64 MSI Installer

Hi Dravion, i replaced 5.6.8 b2431 which was running perfectly since +6 months with 5.6.7 b2427. now i get lots of "ERROR" 2520 "2019-04-19 08:14:51.015" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'" "ERROR" 252...
by katip
2019-04-18 09:56
Forum: General discussions
Topic: Forwarding Question
Replies: 5
Views: 34

Re: Forwarding Question

give it a try then..

here some useful info: https://www.hmailserver.com/documentati ... ails_rules
by katip
2019-04-18 09:39
Forum: General discussions
Topic: Forwarding Question
Replies: 5
Views: 34

Re: Forwarding Question

recipient list already contains all recipients to,cc,bcc. you don't need to add any cc particularly.
but you need to add the criteria AND X-hMailServer-LoopCount < 1

just curious about your setup, do you receive mails which aren't sent to your domain??
by katip
2019-04-18 09:23
Forum: General discussions
Topic: Public IMAP Folder don't show moved messages
Replies: 15
Views: 217

Re: Public IMAP Folder don't show moved messages

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...
by katip
2019-04-18 05:27
Forum: General discussions
Topic: Public IMAP Folder don't show moved messages
Replies: 15
Views: 217

Re: Public IMAP Folder don't show moved messages

What does hMailServer log show? Can you post your "hms_maintenance.vbs" code? turned on app log, but it shows nothing. only this: "APPLICATION" 3200 "2019-04-17 20:14:15.591" "Stopping servers..." HMS enters in Pause mode and error message pops up. code is simply copy/paste from the page (except pa...
by katip
2019-04-17 19:52
Forum: General discussions
Topic: Public IMAP Folder don't show moved messages
Replies: 15
Views: 217

Re: Public IMAP Folder don't show moved messages

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...
by katip
2019-04-14 20:17
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 28
Views: 302

Re: hMailServer.Message Object

jimimaseye wrote:
2019-04-14 19:50
VadaDosa wrote:
2019-04-14 19:21
Can I also see Martin's comments. I guess he is the one who would provide fix for this.
Doubt it. He hasn't been seen since 02/2018. He isn't really active any more.
so what? do we admit HMS is an open relay by design via remote scripting?
and this without leaving a trace? are you serious?
by katip
2019-04-14 19:05
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 28
Views: 302

Re: hMailServer.Message Object

SorenR wrote:
2019-04-14 18:42
What does line 4 in your script say?
Set hm = CreateObject("hMailServer.Message")
by katip
2019-04-14 18:38
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 28
Views: 302

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 katip
2019-04-14 15:08
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 28
Views: 302

Re: hMailServer.Message Object

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...
by katip
2019-04-14 13:54
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 28
Views: 302

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 thing...
by katip
2019-04-14 08:06
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 28
Views: 302

Re: hMailServer.Message Object

ok, what was your experience?
have you been able to send a message from your client without authentication?
by katip
2019-04-14 06:58
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 28
Views: 302

Re: hMailServer.Message Object

VadaDosa wrote:
2019-04-14 06:38
All tests were done with hMailServer 5.6.8 - Build 2431 (BETA) on server and mail client on separate desktop machine.
what test have you done on mail client on separate desktop machine?
by katip
2019-04-14 05:51
Forum: General discussions
Topic: Account rule deletes message but not the reference
Replies: 9
Views: 155

Re: Account rule deletes message but not the reference

SorenR wrote:
2019-04-14 00:08
Hmm... You remember to check for "X-hMailServer-LoopCount Less than 1" in your forwarding rule?
yes, makes no difference.
by katip
2019-04-13 23:06
Forum: General discussions
Topic: Account rule deletes message but not the reference
Replies: 9
Views: 155

Re: Account rule deletes message but not the reference

wait 10 ninutes or so. it doesn't come right after sending.
by katip
2019-04-13 20:22
Forum: General discussions
Topic: Account rule deletes message but not the reference
Replies: 9
Views: 155

Re: Account rule deletes message but not the reference

Untitled 1.png
Untitled 1.png (8.1 KiB) Viewed 115 times
by katip
2019-04-13 20:05
Forum: General discussions
Topic: Account rule deletes message but not the reference
Replies: 9
Views: 155

Re: Account rule deletes message but not the reference

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...
by katip
2019-04-12 16:16
Forum: General discussions
Topic: Account rule deletes message but not the reference
Replies: 9
Views: 155

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 dropp...
by katip
2019-04-12 11:25
Forum: General discussions
Topic: Account rule deletes message but not the reference
Replies: 9
Views: 155

Account rule deletes message but not the reference

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...
by katip
2019-04-11 19:58
Forum: General discussions
Topic: Public IMAP Folder don't show moved messages
Replies: 15
Views: 217

Re: Public IMAP Folder don't show moved messages

SorenR wrote:
2019-04-11 18:52
Brother-in-law's ex-wife is turkish. She's got a new husband in UK, but we still get together all of us every few years or so for xmas and birthdays.
that's a good thing. greetings..
by katip
2019-04-11 16:46
Forum: General discussions
Topic: Public IMAP Folder don't show moved messages
Replies: 15
Views: 217

Re: Public IMAP Folder don't show moved messages

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...
by katip
2019-04-11 16:40
Forum: General discussions
Topic: Public IMAP Folder don't show moved messages
Replies: 15
Views: 217

Re: Public IMAP Folder don't show moved messages

SorenR wrote:
2019-04-11 16:31
Dene ve başarısız ol ama asla denemede başarısız olma!
war ja am Probieren seit 2 Tagen, hab' die Schnauze voll :D
(couldn't trust Google to translate it in Danish, but your's is perfect!)
by katip
2019-04-11 16:23
Forum: General discussions
Topic: Public IMAP Folder don't show moved messages
Replies: 15
Views: 217

Re: Public IMAP Folder don't show moved messages

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 ...
by katip
2019-04-10 23:02
Forum: General discussions
Topic: Public IMAP Folder don't show moved messages
Replies: 15
Views: 217

Re: Public IMAP Folder don't show moved messages

disappointing.. literally i cannot get a basic feature in HMS working :o tried everything. deleted folder, recreated again. restarted service, renamed, restarted again etc.. everytime the same result. initially first 2-3 mails appear in client, then nothing more. after a restart, all meanwhile moved...
by katip
2019-04-10 11:06
Forum: General discussions
Topic: Public IMAP Folder don't show moved messages
Replies: 15
Views: 217

Public IMAP Folder don't show moved messages

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 ...
by katip
2019-04-04 09:06
Forum: Scripting
Topic: Copy oMessage to IMAP Folder
Replies: 16
Views: 423

Re: Copy oMessage to IMAP 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...
by katip
2019-04-03 19:57
Forum: Scripting
Topic: Copy oMessage to IMAP Folder
Replies: 16
Views: 423

Re: Copy oMessage to IMAP Folder

Thank you, have a nice evening.
we see tomorrow..
by katip
2019-04-03 18:55
Forum: Scripting
Topic: Copy oMessage to IMAP Folder
Replies: 16
Views: 423

Re: Copy oMessage to IMAP Folder

Partial success ... It appears to work... The header "Message-ID" is changed and file is read (and removed) from Data directory and the call to oApp.Utilities.ImportMessageFromFileToIMAPFolder() returns "True" ... Only ... I'm having trouble finding the imported message :roll: yes, me too :? 1. doc...
by katip
2019-04-03 15:50
Forum: Scripting
Topic: Copy oMessage to IMAP Folder
Replies: 16
Views: 423

Re: Copy oMessage to IMAP Folder

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...
by katip
2019-04-03 11:45
Forum: Scripting
Topic: Copy oMessage to IMAP Folder
Replies: 16
Views: 423

Re: Copy oMessage to IMAP Folder

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...
by katip
2019-04-03 10:49
Forum: Scripting
Topic: Copy oMessage to IMAP Folder
Replies: 16
Views: 423

Re: Copy oMessage to IMAP Folder

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
let me try. thanks.
by katip
2019-04-03 09:16
Forum: Scripting
Topic: Copy oMessage to IMAP Folder
Replies: 16
Views: 423

Re: Copy oMessage to IMAP Folder

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".
by katip
2019-04-03 09:00
Forum: Scripting
Topic: Copy oMessage to IMAP Folder
Replies: 16
Views: 423

Copy oMessage to IMAP Folder

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...
by katip
2019-03-31 23:45
Forum: General discussions
Topic: Presumably unavoidable duplicate receipts
Replies: 15
Views: 812

Re: Presumably unavoidable duplicate receipts

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...
by katip
2019-03-29 14:18
Forum: General discussions
Topic: Route for Distribution List
Replies: 4
Views: 344

Re: Route for Distribution List

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.
by katip
2019-03-29 13:14
Forum: General discussions
Topic: Route for Distribution List
Replies: 4
Views: 344

Re: Route for Distribution List

Hi,
why would you like to send out bulk mail via an SMTP server other then that in your SMTP setup?
solution is easy but first your answer pls.
by katip
2019-03-29 09:19
Forum: General discussions
Topic: Presumably unavoidable duplicate receipts
Replies: 15
Views: 812

Re: Presumably unavoidable duplicate receipts

SorenR wrote:
2019-03-29 08:51
first rule run function to lookup recipient_2@local.com and add header with result, second rule check header...
alles klar!
thanks.
by katip
2019-03-29 07:57
Forum: General discussions
Topic: Presumably unavoidable duplicate receipts
Replies: 15
Views: 812

Re: Presumably unavoidable duplicate receipts

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...
by katip
2019-03-28 20:50
Forum: General discussions
Topic: Presumably unavoidable duplicate receipts
Replies: 15
Views: 812

Re: Presumably unavoidable duplicate receipts

Not sure you are correct. If server has to split message, it will create two new Message-ID's. see below. google servers split 1 message to 5 and send from 4 IP's. all landed with same Message-ID. this doesn't violate RFC 2392: "no two different messages will ever have the same Message-ID addr-spec...
by katip
2019-03-28 19:18
Forum: General discussions
Topic: Presumably unavoidable duplicate receipts
Replies: 15
Views: 812

Re: Presumably unavoidable duplicate receipts

SorenR wrote:
2019-03-28 18:58
Untested ...
thanks, i'll have a look.
but once again; in fact we're talking about 2 (or more) seperate but identical messages each with one unique recipient (X-Envelope-To), and the question is who were involved all together in the same message.
by katip
2019-03-28 19:09
Forum: General discussions
Topic: Presumably unavoidable duplicate receipts
Replies: 15
Views: 812

Re: Presumably unavoidable duplicate receipts

Message-ID is a globally unique identifier, yes sure, and my idea is based on this. MTA's split the envelope only, original Message-ID don't change on any of the relayed derivates. i.e. 2 messages arrive to HMS. one for recipient_1 (To) and one for recipient_2 (CC), both with same Message-ID. this ...
by katip
2019-03-28 16:34
Forum: General discussions
Topic: Presumably unavoidable duplicate receipts
Replies: 15
Views: 812

Re: Presumably unavoidable duplicate receipts

logic is ok. however then comes and/or CC. combinations grow. BCC is another issue. besides i have to maintain this rules for many local user combinations. i was thinking to keep track of all processed mails in a DB table such as: OnAcceptMessage for i=0 to recipients count SQL insert Message-ID, re...
by katip
2019-03-28 11:55
Forum: General discussions
Topic: Presumably unavoidable duplicate receipts
Replies: 15
Views: 812

Presumably unavoidable duplicate receipts

need advise. purpose: recipient_2@local.com should receive a copy of mails where recipient_1@local.com is a recipient. redundant copies to recipient_2 where both together are recipients in same mail should be avoided. hence, not using built-in "Forward" in recipient_1 account setup, but a global rul...
by katip
2019-03-25 18:32
Forum: General discussions
Topic: File extension whitelisting an adress or domain
Replies: 8
Views: 624

Re: File extension whitelisting an adress or domain

now things get complicated. in your first post you told us that you were blocking doc and xls at all (in HMS Antivirus section as i understood). but you were worried about your 2 customer only who have to send attachments as xls and doc files. we suggested to whitelist those 2 customers and let SA s...
by katip
2019-03-25 08:40
Forum: User contributed hMailServer 5 scripts
Topic: Check Service Status, Take Action, Notify
Replies: 3
Views: 689

Re: Check Service Status, Take Action, Notify

Thanks, looks like a useful script. There is a small tool here (free & portable): http://www.den4b.com/products/shutter once it helped me to restart a server which randomly lost network connection every few days (never been able to find out what the problem was), if ping fails. it does a number of o...
by katip
2019-03-24 20:58
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 3133

Re: Simple rule is not working

" * 10 BH_LIST_UNSUBSCRIBE Found a List-Unsubscribe header " :shock: haha, i know, but is ok with our content. You could extend the rule to include BODY but ONLY if recipient should NEVER receive anything Chinese. (as a globally connected shipping agency) we DO receive legit mails where corresponda...
by katip
2019-03-24 19:33
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 3133

Re: Simple rule is not working

Soren, thanks for inspiration. nice work.. i'm not sure if this will be an ultimate solution for OP though. see the crap below. perfectly from China incl. Return-Path and final IP hop. yes, as a supplement - if you don't care ovehaul of it, body rules in same concept might help but what if body also...
by katip
2019-03-23 19:07
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 3133

Re: Simple rule is not working

SorenR wrote:
2019-03-23 18:54
The RegEx you tested is based on those tables. :mrgreen:
ahh yes, you were already referring to CJK :idea:
maybe the page i came across has it all in one lot :?: :P
by katip
2019-03-23 18:50
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 3133

Re: Simple rule is not working

Does it work for Japanese? Op wants to click Japanese as well. And question marks. :lol: i found this but have no idea if it can be safely used in a combo solution for Chinese/Japanese/Korean spam https://www.key-shortcut.com/index.php?id=413&L=1 while we're slowly getting OT, it's interesting to l...
by katip
2019-03-23 17:49
Forum: General discussions
Topic: File extension whitelisting an adress or domain
Replies: 8
Views: 624

Re: File extension whitelisting an adress or domain

leave aside ClamAV for the moment.
why SA didn't catch them? what was your rule to detect doc and xls attachments?
by katip
2019-03-23 14:36
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 3133

Re: Simple rule is not working

SorenR wrote:
2019-03-23 13:46
so could someone please try this?
yes, it works.
we get tons of China spam (no complaint, thanks to SA). so i tried enough examples.
Untitled 1.png
OP may find this solution useful.
by katip
2019-03-23 11:54
Forum: General discussions
Topic: File extension whitelisting an adress or domain
Replies: 8
Views: 624

Re: File extension whitelisting an adress or domain

a better option is to leave SA do the job. whitelist your 2 customers and score doc & xls extensions. google for "spamassassin mimeheader plugin" or make your own rule such as:

Code: Select all

full ATTACH_EXT /\bcontent\-[^\n\r]+?(|file)name\=(\"|).+?(|[\r\n]).+?\.(doc|xls|ppt)\b/i
by katip
2019-03-23 11:33
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 3133

Re: Simple rule is not working

IMO he was expecting that rules criteria can look up terms as seen in message source, just like opening an eml with notepad and Ctrl+F. even if HMS rules section would have such an optional feature, it wouldn't make much sense, i.e. not worth to implement. criteria (in this concept) must correspond ...
by katip
2019-03-22 15:15
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 3133

Re: Simple rule is not working

jimimaseye wrote:
2019-03-22 14:29
I believe it depends on the sending client encoding at time of sending.
probably this:
Untitled 1.png
Untitled 1.png (9.32 KiB) Viewed 1981 times
TB -> Options, Display, Formatting, Advanced
by katip
2019-03-22 15:06
Forum: General discussions
Topic: How to trace queued messages and whether they get delivered or not
Replies: 4
Views: 472

Re: How to trace queued messages and whether they get delivered or not

you have to trace lines beginning with SMTPC . they belong to conversations between your server and receiving server. if your servers relays to ISP server and ISP server performs final delivery to recipients, they are useless as proof of final delivery. but if your servers does end-to-end SMTP, then...
by katip
2019-03-22 14:45
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 3133

Re: Simple rule is not working

mattg wrote:
2019-03-22 13:55
But my point is that my subjects never look like this
"=?utf-8?B?5LyB5Lia566h55CG6LWE5paZ?="

They always look like
'企业管理资料'
yes, because your mail client makes it look so.
just like HMS rules see it. so, NO question marks.

have you seen message source? (raw content)
by katip
2019-03-22 07:42
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 3133

Re: Simple rule is not working

Matt,

OP is not searching for a question mark you wrote in Subject or From, but the mail client when it encodes the message. these question marks are not available while rule processing. HMS first decodes (converts) all to human readable text before proceeding with rules.
by katip
2019-03-22 06:00
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 3133

Re: Simple rule is not working

Kendo wrote:
2019-03-22 05:27
Does hMailserver require a restart after applying a rule?
No.

to your question: you can't detect "?" in an ENcoded header simply with a "contains ?" rule unless it actually contains a question mark in DEcoded (human readable) form.
Soren's suggestion would help (script + rules).