Search found 2779 matches

by palinka
2021-07-24 18:30
Forum: Scripting
Topic: Corona Project: Day 1: Two-Factor Authentication
Replies: 80
Views: 22785

Re: Corona Project: Day 1: Two-Factor Authentication

Is there any documentation on OnClientLogon? "OnClientLogon" does not appear anywhere in the documentation in https://www.hmailserver.com/docs no, as i understand, Sub onClientLogon(oClient) triggers after auth is done (finished). either success or fail. then you can do with this result whatever yo...
by palinka
2021-07-24 17:22
Forum: Scripting
Topic: Corona Project: Day 1: Two-Factor Authentication
Replies: 80
Views: 22785

Re: Corona Project: Day 1: Two-Factor Authentication

onClientLogon() on my server (5.6.8) pass it on raw to the script. From what I can see the 5.7 code is similar to 5.6.8 on this point. https://github.com/SorenRR/hmailserver/tree/5.6.8 yes, but i mean (for example, in case of SMTP) it passes it to script after "SENT: 535 Authentication failed" when...
by palinka
2021-07-24 14:10
Forum: Scripting
Topic: Corona Project: Day 1: Two-Factor Authentication
Replies: 80
Views: 22785

Re: Corona Project: Day 1: Two-Factor Authentication

I have been trying to find the inner workings of how they do location based fraud checking - the theory of two transactions from eg. Denmark and Brazil some 8 hours apart. IS it possible to travel from Denmark to Brazil in the alottet time or is one of the transactions done with a cloned card thus ...
by palinka
2021-07-24 14:05
Forum: Scripting
Topic: Corona Project: Day 1: Two-Factor Authentication
Replies: 80
Views: 22785

Re: Corona Project: Day 1: Two-Factor Authentication

I've been logging pretty much everything I think is useful for a couple of years now, including logon events. I keep failed logons forever, but prune out successful logons after a few days otherwise the log would be YUUUUGE. Anyway, I just counted failed logons. Some interesting results. Since Sept ...
by palinka
2021-07-24 01:31
Forum: Scripting
Topic: Corona Project: Day 1: Two-Factor Authentication
Replies: 80
Views: 22785

Re: Corona Project: Day 1: Two-Factor Authentication

How do you intercept the "name" before a logon attempt can be started?
by palinka
2021-07-23 16:33
Forum: Scripting
Topic: Corona Project: Day 1: Two-Factor Authentication
Replies: 80
Views: 22785

Re: Corona Project: Day 1: Two-Factor Authentication

I still disconnect unknown users from the WAN, though. That works fine. how do you achieve this? at which stage? that's exactly what i'd like to do. i get tons of info, sales, admin, support... alike (none of them exists) login attempts and don't want to be a public brut force test lab for botnets....
by palinka
2021-07-23 13:32
Forum: Scripting
Topic: Corona Project: Day 1: Two-Factor Authentication
Replies: 80
Views: 22785

Re: Corona Project: Day 1: Two-Factor Authentication

FWIW, about IP bans: this don't help much anymore. bots evolved to something very organized. i see lots of concurrent logon attempts to same account in form of "account" and "account@domain.tld" from 2 irrelevant IPs at the same moment. i can fill my autoban list easily but all is almost useless. c...
by palinka
2021-07-23 04:03
Forum: General discussions
Topic: Is MAIL FROM used for anything?
Replies: 12
Views: 284

Re: Is MAIL FROM used for anything?

mattg wrote:
2021-07-23 01:52
Next you will be telling us you actually remember 'Dialing' a phone number, or 'Hanging up'
At least it was easy to remember the telephone numbers. they were only 3 digits. Sometimes 4. :lol:
by palinka
2021-07-22 22:45
Forum: General discussions
Topic: Is MAIL FROM used for anything?
Replies: 12
Views: 284

Re: Is MAIL FROM used for anything?

Those of us that remember how it was to write a letter with a pencil on a piece paper, folding it and putting it into an envelope and licking it shut - and putting a stamp on it - know the difference between ENVELOPE addressing and MAIL headers. They most often do not correlate ;-) Good to hear you...
by palinka
2021-07-22 12:20
Forum: SpamAssassin implementation discussions
Topic: USER_IN_DEF_DKIM_WL
Replies: 2
Views: 346

Re: USER_IN_DEF_DKIM_WL

KAM.cf also has some meta rules to counteract USER_IN_DEF_DKIM_WL.
by palinka
2021-07-21 21:34
Forum: General discussions
Topic: Is MAIL FROM used for anything?
Replies: 12
Views: 284

Re: Is MAIL FROM used for anything?

The SMTP protocol specifies the MAIL FROM command, but I'm wondering if the email address passed to it is used for anything except some basic checks of the email format. Also the MAIL FROM could differ from the From: field in the RFC822 email passed with DATA. With RCPT TO you can at least check if...
by palinka
2021-07-21 15:08
Forum: General discussions
Topic: How to detect automatic emails generated by hMailServer
Replies: 9
Views: 251

Re: How to detect automatic emails generated by hMailServer

Those messages come from mailer-daemon@domain so you should be able to catch them using the from address.
by palinka
2021-07-20 02:29
Forum: General discussions
Topic: How do other email servers deliver mail to my server?
Replies: 7
Views: 406

Re: How do other email servers deliver mail to my server?

DigDug wrote:
2021-07-19 20:46
Somehow the mails get lost. I don't receive any bound messages, they're silently dropped it seems.
Nothing is silent. Enable smtp logging. No logs, no connection. That would narrow down the problem to something external, like Soren advised.

And if you have logs, post them here.
by palinka
2021-07-18 21:58
Forum: General discussions
Topic: emClient v8: malformatted quoted parameters in STATUS responses
Replies: 9
Views: 418

Re: emClient v8: malformatted quoted parameters in STATUS responses

chmichael wrote:
2021-07-18 21:30
They insist that it's hmailserver problem not theirs despite that v7 is working on the same account.
I never said their support was great - just that i like their product. :D
by palinka
2021-07-18 16:43
Forum: General discussions
Topic: emClient v8: malformatted quoted parameters in STATUS responses
Replies: 9
Views: 418

Re: emClient v8: malformatted quoted parameters in STATUS responses

Suddenly one of the accounts of hMailServer stopped working with with emClient v8. (although it works with roundcube, outlook and emclient v7) I have a strange suspicion this could be related to emclient and not hmailserver. Not sure why.... :roll: I use emclient. It has its share of bugs. I once h...
by palinka
2021-07-17 13:59
Forum: General discussions
Topic: Bug in hmailserver DKIM signer
Replies: 20
Views: 886

Re: Bug in hmailserver DKIM signer

RvdH wrote:
2021-07-17 11:10
I know i am very direct and a straight shooter as you call it, probably the Dutch mentality :mrgreen:
It must be the wooden shoes. :mrgreen:
by palinka
2021-07-16 13:40
Forum: General discussions
Topic: Connecting to EMail via Mobile App fails
Replies: 7
Views: 415

Re: Connecting to EMail via Mobile App fails

Have you tried other mobile clients? Or a different email app on the same phone?
by palinka
2021-07-15 16:46
Forum: General discussions
Topic: Bug in hmailserver DKIM signer
Replies: 20
Views: 886

Re: Bug in hmailserver DKIM signer

However, apologies to RvdH, he was right. I was upset with offensive tone of his speech His tone is always offensive. But he's almost always correct. I think he has Aspergers. :lol: Not all of us work in Customer Service ... And Yes, customers are almost always never right. :mrgreen: Customers? SHH...
by palinka
2021-07-15 13:36
Forum: General discussions
Topic: Bug in hmailserver DKIM signer
Replies: 20
Views: 886

Re: Bug in hmailserver DKIM signer

pik256 wrote:
2021-07-15 13:04
However, apologies to RvdH, he was right. I was upset with offensive tone of his speech
His tone is always offensive. But he's almost always correct. I think he has Aspergers. :lol:
by palinka
2021-07-14 13:16
Forum: General discussions
Topic: Bug in hmailserver DKIM signer
Replies: 20
Views: 886

Re: Bug in hmailserver DKIM signer

I believe we can close the matter here. I thought we did. Where is the method to fix? ...you provided nothing, but simply posted false claims replace( oMessage.Body, Chr(10), Chr(13) & Chr(10) ) Linux uses sendmail, correct? Sendmail must conform to the RFC otherwise we would have seen this issue a...
by palinka
2021-07-13 18:42
Forum: General discussions
Topic: Bug in hmailserver DKIM signer
Replies: 20
Views: 886

Re: Bug in hmailserver DKIM signer

Virinum wrote:
2021-07-13 18:03
CRLF is the standard
https://datatracker.ietf.org/doc/html/r ... tion-4.1.1
👍

In that case, fix the script. :D
by palinka
2021-07-13 17:26
Forum: General discussions
Topic: Bug in hmailserver DKIM signer
Replies: 20
Views: 886

Re: Bug in hmailserver DKIM signer

There is a bug in DKIM signing module in hmailserver. Lets consider the following PHP script (Windows server): $body="one \n two"; mail("$to", "$subject", "$body", "$headers"); Hmailserver receives a message with Linux style encoded line. It signs it as received but forwards as "one \r\n two". It b...
by palinka
2021-07-13 13:34
Forum: Scripting
Topic: Moving mail between public folders
Replies: 4
Views: 502

Re: Moving mail between public folders

I *think* it should be possible to write a script to tail the log and search for new items in subfolders of public folders. I could not write this script because I'm very poor with imap commands. But to make it work you'd need: * imap logging enabled * folder IDs of public folders & subfolders But y...
by palinka
2021-07-12 19:42
Forum: General discussions
Topic: Running completely offline
Replies: 1
Views: 207

Re: Running completely offline

Sure. Hmailserver will work for that.

Please give a little more detail on what you're actually trying to accomplish and maybe we can help you tailor your settings.
by palinka
2021-07-12 12:11
Forum: General discussions
Topic: UIDL
Replies: 2
Views: 228

Re: UIDL

https://www.hmailserver.com/documentati ... ct_message
long ID
The unique database identifier for the e-mail
(read-only)
Already exists.
by palinka
2021-07-12 00:27
Forum: Off-topic discussions
Topic: Euro 2020 - 3 word(ish) commentary
Replies: 94
Views: 6659

Re: Euro 2020 - 3 word(ish) commentary

3 words: Repubblica, non regno.
by palinka
2021-07-10 22:04
Forum: General discussions
Topic: Received blank email.
Replies: 8
Views: 414

Re: Received blank email.

I don't have any help for you but in my opinion, very large attachments are simply a bad idea. I avoid them by uploading the file somewhere and linking to it. It's more secure as well because these Dropbox services all require login, so you can specify who can download if you want. Just food for tho...
by palinka
2021-07-07 12:58
Forum: General discussions
Topic: POP3 download on demand
Replies: 15
Views: 634

Re: POP3 download on demand

Or if it is particular accounts you want to affect, you can try this script: https://www.hmailserver.com/forum/viewtopic.php?p=179594#p179594 I assume I have to run this on the actual server where hMS is running, right? This moves the problem one step. The normal user can not acces the desktop of t...
by palinka
2021-07-07 12:22
Forum: General discussions
Topic: POP3 download on demand
Replies: 15
Views: 634

Re: POP3 download on demand

Is there no other way? You can specify the frequency between download in the external account dialogue box. Like katip said, set it to 3 minutes or 1 minute even. Or if it is particular accounts you want to affect, you can try this script: https://www.hmailserver.com/forum/viewtopic.php?p=179594#p1...
by palinka
2021-07-07 12:07
Forum: General discussions
Topic: POP3 download on demand
Replies: 15
Views: 634

Re: POP3 download on demand

PHPWebAdmin (comes with hMailServer) ... Log on with email account ... Select "External accounts" and press "Download now" Why complicate things :mrgreen: You are right in general. But I do not want to give 30 users access to webAdmin. I would like to use the tools they already use. Ole! now i even...
by palinka
2021-07-06 20:47
Forum: General discussions
Topic: RE: Adding warning to message only if it contains attachments
Replies: 37
Views: 1219

Re: RE: Adding warning to message only if it contains attachments

ashtec014 wrote:
2021-07-06 20:43
My apologies for the confusion! 🥺 I am not a coder but wanted to learn and somehow can help others too. Relying from your help to learn and discover more about HMS functionality. I appreciate your help all throughout 🙏🙏🙏
You will learn. If you want to. :D
by palinka
2021-07-06 20:46
Forum: General discussions
Topic: RE: Adding warning to message only if it contains attachments
Replies: 37
Views: 1219

Re: RE: Adding warning to message only if it contains attachments

I will do it again later this week rebuilding the ZF 100 bar servo pump with a new set of rubber gaskets ... However I don't need a manual to deep clean my engine bay after the servo pump almost vaporised 1 liter of servo oil :roll: Don't forget to check for delamination of the overunder manifold r...
by palinka
2021-07-06 18:55
Forum: General discussions
Topic: RE: Adding warning to message only if it contains attachments
Replies: 37
Views: 1219

Re: RE: Adding warning to message only if it contains attachments

Why not ditch the rule and stuff the whole thing into your eventhandlers? Sub OnAcceptMessage(oClient, oMessage) If (oClient.Username = "" AND oClient.Port = 25) Then Dim txtMsg, aspMsg If oMessage.Body <> Empty Then txtMsg = " ***********************************************************************"...
by palinka
2021-07-06 13:34
Forum: SpamAssassin implementation discussions
Topic: regex for TLD
Replies: 6
Views: 423

Re: regex for TLD

I want to create a rule that catches au domains and assigns a slight negative score for them I want to catch specifically just these TLDS in the FROM header .com.au .net.au .gov.au .org.au How can I do that with regex? this is what i'm using in SA and it works: header BH_FROM_COUNTRY_1 ALL =~ /(Fro...
by palinka
2021-07-06 13:31
Forum: General discussions
Topic: RE: Adding warning to message only if it contains attachments
Replies: 37
Views: 1219

Re: RE: Adding warning to message only if it contains attachments

Maybe it didn't work for me because the message i was testing didn't have the body type specified? I don't remember now.

But who doesn't like Russian cuties? They go straight to my white list. :mrgreen:
by palinka
2021-07-06 13:21
Forum: SpamAssassin implementation discussions
Topic: regex for TLD
Replies: 6
Views: 423

Re: regex for TLD

mattg wrote:
2021-07-06 13:00
I want to create a rule that catches au domains and assigns a slight negative score for them

I want to catch specifically just these TLDS in the FROM header
.com.au
.net.au
.gov.au
.org.au

How can I do that with regex?

Code: Select all

^.*(com\.au|net\.au|gov\.au|org\.au).*$
https://regex101.com/r/R9zX4N/1
by palinka
2021-07-06 12:03
Forum: General discussions
Topic: RE: Adding warning to message only if it contains attachments
Replies: 37
Views: 1219

Re: RE: Adding warning to message only if it contains attachments

There's one for the knowledge bank. Caused by blank function in global rule action.

Code: Select all

Error: 800A01B6 - Description: Object doesn't support this property or method: 'HMAILSERVER_MESSAGE' - Line: [out of script length]
by palinka
2021-07-05 18:54
Forum: General discussions
Topic: RE: Adding warning to message only if it contains attachments
Replies: 37
Views: 1219

Re: RE: Adding warning to message only if it contains attachments

I couldn't find anything wrong with your code in general (no missing tags, end statements, etc). But oMessage.HasBodyType is probably the cause of your error. https://www.hmailserver.com/documentation/latest/?page=com_object_message Message object Description The message object represents a single e...
by palinka
2021-07-05 17:20
Forum: General discussions
Topic: Lots of errors parsing big mails (>20Mb)
Replies: 4
Views: 304

Re: Lots of errors parsing big mails (>20Mb)

cdem wrote:
2021-07-05 15:18
"ERROR" 1600 "2021-07-05 07:40:34.174" "Severity: 2 (High), Code: HM4208, Source: File::ReadFile(), Description: An error occured when reading file., Message: bad allocation"
Often this means you have memory going bad. Also possibly a disk going bad.
by palinka
2021-07-05 17:15
Forum: General discussions
Topic: RE: Adding warning to message only if it contains attachments
Replies: 37
Views: 1219

Re: RE: Adding warning to message only if it contains attachments

ashtec014 wrote:
2021-07-05 16:54
Hi,

Does anyone have an idea about this error? Upon checking on my EventHandler.vbs line 387, there's no code. Code ended only at line 346, its very weird. I
Maybe an open ended if statement? Line 387 could be the last line in the file (41 blank lines after 346).
by palinka
2021-07-04 14:39
Forum: Scripting
Topic: Creating Rule Script with Multiple Criterias
Replies: 5
Views: 445

Re: Creating Rule Script with Multiple Criterias

GOT SOLUTION from POWERSHELL by [user]palinka[/user] (the Powershell Guru) HERE IN FORUM Just wondering Can this be used in VB Script eMTUnknown for Custom Header as what is used in powershell $hMSAddRuleCriteria4.UsePredefined = $False This thread was the basis of my powershell work: https://www.h...
by palinka
2021-07-04 14:31
Forum: Scripting
Topic: Creating Rule Script with Multiple Criterias
Replies: 5
Views: 445

Re: Creating Rule Script with Multiple Criterias

GOT SOLUTION from POWERSHELL by [user]palinka[/user] (the Powershell Guru) HERE IN FORUM Just wondering Can this be used in VB Script eMTUnknown for Custom Header as what is used in powershell $hMSAddRuleCriteria4.UsePredefined = $False This thread was the basis of my powershell work: https://www.h...
by palinka
2021-07-03 03:49
Forum: Off-topic discussions
Topic: Bad Zero-Day MS Exploit
Replies: 0
Views: 569

Bad Zero-Day MS Exploit

https://www.bleepingcomputer.com/news/security/microsoft-shares-mitigations-for-windows-printnightmare-zero-day-bug/ CVE-2021-34527 allows attackers to take over affected servers via remote code execution with SYSTEM privileges as it enables them to install programs, view, change, or delete data, an...
by palinka
2021-07-02 20:15
Forum: Off-topic discussions
Topic: Euro 2020 - 3 word(ish) commentary
Replies: 94
Views: 6659

Re: Euro 2020 - 3 word(ish) commentary

jimimaseye wrote:
2021-07-02 19:52
Dragging it out. 🇨🇭 🇪🇸

Screenshot_20210702-190045_Gallery.jpg
Why are the stands half empty? Because of covid?
by palinka
2021-07-02 19:31
Forum: SpamAssassin implementation discussions
Topic: "X-Spam-Score" is missing in the header
Replies: 5
Views: 349

Re: "X-Spam-Score" is missing in the header

Hello, I have a small problem. I use Spamassassin to filter mail. It works really well. However, the entry "X-Spam-Score" is missing in the header. I can't find a way to activate this entry in the Spamassassin settings. Does anyone know advice? Thanks in advance. Rainer I don't have "X-Spam-Score" ...
by palinka
2021-07-02 14:20
Forum: General discussions
Topic: Switching from POP to IMAP (step by step)
Replies: 5
Views: 448

Re: Switching from POP to IMAP (step by step)

There's a lot to unpack here. Let's start with the simple stuff. First, you don't send over imap or pop. You send over smtp. If your mail clients are already set up, then there's probably no change necessary for that. It's the same no matter what access protocol you use. Secondly, imap and pop3 are ...
by palinka
2021-07-02 12:20
Forum: Development & alpha discussions
Topic: Creating folders with long alphanumeric name resembles like a file name
Replies: 11
Views: 1647

Re: Creating folders with long alphanumeric name resembles like a file name

Could they be from bounce messages? mailer-daemon@domain = blank sender...

Is there a fallback tmp folder if system tmp is not available for some reason?

eh... 2 shots in the dark...
by palinka
2021-07-01 16:14
Forum: Scripting
Topic: Script to reload SSL certs
Replies: 12
Views: 625

Re: Script to reload SSL certs

I don't get syn flood attacked. My Internet routers will detect and kill ... That is ... I believe the setting says so ... Not experienced yet ... so far ... :wink: Mine new router is supposed to also. I couldn't say whether its working or not because I haven't looked in forever. But I haven't had ...
by palinka
2021-07-01 15:48
Forum: Scripting
Topic: Script to reload SSL certs
Replies: 12
Views: 625

Re: Script to reload SSL certs

Hello, I wonder if there is a VB script I can use to reload the SSL certs every time they are updated. If the script can check if the SSL cert has changed and reload the SSL certs would be great but if that is not doable then just reload the SSL certs every couple hours or so even if they have not ...
by palinka
2021-07-01 15:45
Forum: Scripting
Topic: Script to reload SSL certs
Replies: 12
Views: 625

Re: Script to reload SSL certs

Hello, I wonder if there is a VB script I can use to reload the SSL certs every time they are updated. If the script can check if the SSL cert has changed and reload the SSL certs would be great but if that is not doable then just reload the SSL certs every couple hours or so even if they have not ...
by palinka
2021-06-29 20:19
Forum: Off-topic discussions
Topic: Euro 2020 - 3 word(ish) commentary
Replies: 94
Views: 6659

Re: Euro 2020 - 3 word(ish) commentary

NFL Player Announces He Is Gay, Is Switching Over To Soccer June 22nd, 2021 - BabylonBee.com LAS VEGAS, NV—The Raiders' Carl Nassib announced he was gay this week, becoming the first openly gay player in NFL history. Shortly after the announcement, he also announced he would be switching from footb...
by palinka
2021-06-29 12:44
Forum: General discussions
Topic: DNSBL Spamdonkey
Replies: 11
Views: 614

Re: DNSBL Spamdonkey

@Palinka, I found one of your codes from here: https://www.hmailserver.com/forum/viewtopic.php?t=34626#p216861 and https://www.hmailserver.com/forum/viewtopic.php?t=34626#p216816 . May I know how this code works? It looks like its interesting to include as well on my EvenHandler to see if can help ...
by palinka
2021-06-29 11:45
Forum: General discussions
Topic: DNSBL Spamdonkey
Replies: 11
Views: 614

Re: DNSBL Spamdonkey

Where do you call Call TestDriveSpamDonkey(oClient.IPAddress)? This has to be inside one of the preconfigured subs, most likely inside Sub OnClientConnect(oClient) I just copied and pasted it as it is on my eventhandler, I moved it to Sub OnClientConnect(oClient) now and looks like its working coz ...
by palinka
2021-06-28 23:44
Forum: General discussions
Topic: how to do pop and imap
Replies: 3
Views: 335

Re: how to do pop and imap

my current email provide has space limitation. I use Thunderbird via pop to download messages and only keep 6 months worth left on the on the provider. Anything older than that gets deleted. Thunderbird also keeps a copy of sent items locally. Currently i backup Thunderbird to keep a copy of the in...
by palinka
2021-06-28 20:46
Forum: General discussions
Topic: DNSBL Spamdonkey
Replies: 11
Views: 614

Re: DNSBL Spamdonkey

I'm not sure how to do the test drive to log all emails into even log. Meanwhile, I tried to lower it to see if it helps: dnsbl.spamdonkey.com | Result: 127.0.0.1 | Score: 1 dnsbl.spamdonkey.com | Result: 127.0.0.2 | Score: 2 dnsbl.spamdonkey.com | Result: 127.0.0.3 | Score: 3 dnsbl.spamdonkey.com ...
by palinka
2021-06-28 12:00
Forum: General discussions
Topic: DNSBL Spamdonkey
Replies: 11
Views: 614

Re: DNSBL Spamdonkey

There are a lot of false positives on this list. You should be very careful how you score hits from this list. You can't use it to reject connections because of the false positives. If you want to use it, it's best to test drive it using the event log for a few weeks before implementing it. That wil...
by palinka
2021-06-24 16:37
Forum: User-submitted tutorials
Topic: HOW TO run Clamwin and have a ClamAV system SERVICE
Replies: 236
Views: 301395

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

why would a sane person install ClamWin if only ClamAV is needed? You're going to have to show me your "needed police" badge, sonny... :mrgreen: I had this implemented for a long time before switching to clamav only. I never used clamwin once. All it ever did was give me useless notifications about...