Search found 3621 matches

by SorenR
2020-04-12 12:17
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

Try it, the free edition is fine, we use it on 6 computers and 3 phones. My servers are headless Windows Server/Linux so no human interaction and only scheduled scanning. One of my laptops (Win10 home 64bit) is used for development and is hosting a test hmail server with no issues... AVAST as normal...
by SorenR
2020-04-11 18:10
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

92298807_2749181168540665_4978782722961965056_n.jpg
by SorenR
2020-04-10 17:31
Forum: General discussions
Topic: Add TLS statement to email
Replies: 11
Views: 2948

Re: Add TLS statement to email

RvdH wrote:
2020-04-10 17:27
version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256

but nog biggie, SSL3 should be disabled by default nowadays
Oh well... :mrgreen:
by SorenR
2020-04-10 16:56
Forum: General discussions
Topic: Add TLS statement to email
Replies: 11
Views: 2948

Re: Add TLS statement to email

when you use "headervalue" it is always the last one - the one added by your mailserver... Unless you loop the headers :!: :?: I assume he only needs the last received (topmost) header though, so your method works....but i think it will also match SSL3, not only TLS Script will only flag TLS ( 5.6....
by SorenR
2020-04-10 16:01
Forum: General discussions
Topic: Add TLS statement to email
Replies: 11
Views: 2948

Re: Add TLS statement to email

Version 0.002 Since VBScript per default use "ByVar" when parsing parameters to functions I decided to use "ByRef" with "Function IsTLSMail" to obtain a boolean response AND updating three variables in one go :idea: 8) Function oLookup(strRegEx, strMatch, bGlobal) If strRegEx = "" Then strRegEx = St...
by SorenR
2020-04-10 12:58
Forum: General discussions
Topic: Add TLS statement to email
Replies: 11
Views: 2948

Re: Add TLS statement to email

when you use "headervalue" it is always the last one - the one added by your mailserver... I've been using that for years until I dropped my Backup-mx last year. I made a function to check the IP of the server delivering to the Backup-mx against my autoban list. Just to close a possible backdoor ;-...
by SorenR
2020-04-10 12:38
Forum: General discussions
Topic: Add TLS statement to email
Replies: 11
Views: 2948

Re: Add TLS statement to email

On my way out the door but perhaps something like this should do it? UNTESTED! Function oLookup(strRegEx, strMatch, bGlobal) If strRegEx = "" Then strRegEx = StrReverse(strMatch) With CreateObject("VBScript.RegExp") .Pattern = strRegEx .Global = bGlobal .MultiLine = True .IgnoreCase = True Set oLook...
by SorenR
2020-04-10 11:45
Forum: General discussions
Topic: Add TLS statement to email
Replies: 11
Views: 2948

Re: Add TLS statement to email

when you use "headervalue" it is always the last one - the one added by your mailserver...

I've been using that for years until I dropped my Backup-mx last year.
I made a function to check the IP of the server delivering to the Backup-mx against my autoban list. Just to close a possible backdoor ;-)
by SorenR
2020-04-10 00:39
Forum: General discussions
Topic: Add TLS statement to email
Replies: 11
Views: 2948

Re: Add TLS statement to email

Is it possible to add a statement to the top of an incoming email indicating whether or not the message was sent with TLS? Similar to https://www.hmailserver.com/forum/viewtopic.php?f=7&t=29777 but checking whether or not the connection was encrypted. I imagine you would need to search the headers ...
by SorenR
2020-04-08 23:30
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

Dravion wrote:
2020-02-27 21:10
Shit, now italy and germany has rising infection rates.

I dont hope its getting out of control!
Well... It did... It has... Can someone PLEASE kill this thread? It's NOT good for the community here :!:
by SorenR
2020-04-08 18:21
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

...abide by the rules ... 2 meter peer distance Of course it goes without saying (although if not said, some interpret it as willfully ignoring) that you should wash hands frequently, don't touch face, etc, etc. However, even the 2 meter thing is nonsense because this stuff is airborne, carried by ...
by SorenR
2020-04-08 17:35
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

There is? Ooh, I didn't know that about myself. Thanks for telling me. I'll get my tin hat. [Entered by mobile. Excuse my spelling.] Says the guy that mocked stocking your pantry and wearing a mask. Toe the line, prole! Just to make sure you understand the reference, your conditioning to mock consp...
by SorenR
2020-04-07 19:29
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

At early march, boris loudmouthed that corona isnt a big issue and he will even shake hands with Corona infected People. Lots of politicians did. Even the God Emperor St Donald the Magnificent. Your mistake was listening to them in the first place. Basically, if they tell you something, it's a sign...
by SorenR
2020-04-07 02:39
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

Um, disabled Email shield on the Server and T/bird still prompting for p/word ;-( So near yet so far. Why is life so complicated these days? When I were a lad we used tin cans and piece of string LOL Simplys best :lol: Well... Your "server" is a Windows 10 Pro Client OS and your Antivirus is a Clie...
by SorenR
2020-04-06 18:27
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

Hi Finally got some time to look into this. Still can't find a solution that will enable sfc /scannow to run nor TelNet but ............. Following your suggestion re AntiVirus I turned AVG off on both laptop and server and T/bird loaded up on my laptop, no p/word requested [see below] Gradually br...
by SorenR
2020-04-05 18:09
Forum: General discussions
Topic: New Account Not Being Fully Created
Replies: 3
Views: 1411

Re: New Account Not Being Fully Created

Code: Select all

SELECT hm_imapfolders.foldername, hm_accounts.accountaddress
FROM hm_imapfolders INNER JOIN hm_accounts ON hm_imapfolders.folderaccountid = hm_accounts.accountid
WHERE hm_accounts.accountaddress = 'newaccount@mydomain.tld';
by SorenR
2020-04-04 23:32
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

I've been watching the official numbers for a while, and with the work I do, I know that they are understated in many countries. As example North Korea has none, unlike all of it's neighbours. The numbers from China have hardly moved in a month. Also, none of us have really accurate data, because w...
by SorenR
2020-04-04 21:55
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

(Look how close he is to his entourage at the moment he is telling everyone to practice social distancing in the 2nd video. And the fact he is talking to a room full of journalists. Viva la president!). Only losers get the Corona virus. Trump's a winner. It's those fake news hacks that have to worr...
by SorenR
2020-04-03 23:43
Forum: General discussions
Topic: New Account Not Being Fully Created
Replies: 3
Views: 1411

Re: New Account Not Being Fully Created

You should use the hMailAdmin.exe that comes with 5.6.7-B2425.

When you install 5.6.7-B2425 it will ask to install the Server AND/OR the GUI. Server and GUI always comes as a pair.
by SorenR
2020-04-03 13:03
Forum: Scripting
Topic: Change subject with script
Replies: 9
Views: 2365

Re: Change subject with script

hMailServer makes a "compiled" binary version of the script in memory for speed during startup and when you press the button 😏
by SorenR
2020-04-02 22:32
Forum: Scripting
Topic: Change subject with script
Replies: 9
Views: 2365

Re: Change subject with script

Well, something is weird in your EventHandlers.vbs

Care to PM it to me for review?
by SorenR
2020-04-02 21:00
Forum: Scripting
Topic: Change subject with script
Replies: 9
Views: 2365

Re: Change subject with script

screenman47 wrote:
2020-04-02 20:44
The first line of the script.
Sub..........
You have not used "SpamToSubject" anywhere else in the EventHandlers file?
by SorenR
2020-04-02 20:29
Forum: General discussions
Topic: Cannot disable every bounce email
Replies: 7
Views: 2586

Re: Cannot disable every bounce email

paulpeeters wrote:
2020-04-02 19:32
I had a catch-all account but I disabled it because I thought that could have caused the NDR bounces
A Catch-all account is like a black hole, nothing escapes it :mrgreen:
by SorenR
2020-04-02 20:27
Forum: Scripting
Topic: Change subject with script
Replies: 9
Views: 2365

Re: Change subject with script

screenman47 wrote:
2020-04-02 20:04
Within a rule - Action - Run Function - SpamToSubject
What does line 31 in your EventHandlers.vbs look like?
by SorenR
2020-04-02 19:27
Forum: Scripting
Topic: Change subject with script
Replies: 9
Views: 2365

Re: Change subject with script

When an email message matches a rule I want to run a script that changes the subject - just add "SPAM" actually. I saw an old thread which seemed to be what I wanted and tried it out. When I do I get an error on the first line. The O/S is Windows 2016 server. This is the script within eventhandlers...
by SorenR
2020-04-02 19:23
Forum: General discussions
Topic: Cannot disable every bounce email
Replies: 7
Views: 2586

Re: Cannot disable every bounce email

paulpeeters wrote:
2020-04-02 18:57
I had already setup SPF, DKIM and DMARC, the latter only with policy 'none' which I have now changed to policy 'reject'.

But what I would really like to know is how to make sure my hMailServer does not send NDR reports (bounce mails) at all
Create a catch-all account.
by SorenR
2020-04-02 15:13
Forum: General discussions
Topic: Cannot disable every bounce email
Replies: 7
Views: 2586

Re: Cannot disable every bounce email

Hello The IP address of our mail server got listed in the BACKSCATTERER list (http://www.backscatterer.org/index.php). As a result a few domain mail servers that use this blacklist, refuse to accept emails coming from our domain mail server. One gets added to this BACKSCATTERER list when their syst...
by SorenR
2020-03-31 23:12
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

Just to confirm I'm using 5.6.7-B2425 "DEBUG" 7176 "2020-03-30 15:14:24.075" "TCP connection started for session 62" "DEBUG" 7176 "2020-03-30 15:14:27.833" "The read operation failed. Bytes transferred: 0 Remote IP: 192.168.1.127, Session: 62, Code: 2, Message: End of file" "DEBUG" 7176 "2020-03-30...
by SorenR
2020-03-31 18:16
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

SlapheadDiver wrote:
2020-03-31 17:09
Yes I ran as admin'r

What promised to be a better day is turning into a bad one, Server errors and currently grappling with conflicting statements on 2 differenet pages of HMRC.Gov re Cvoid 19! :evil:

Living life on the edge :mrgreen:
Anti-Virus is up to date?? :mrgreen:
by SorenR
2020-03-31 16:48
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

Made user name changes still no joy Looks like I have more than I bargained for with the Telnet issue. Tried sfc /scannow and this failed to run too "Windows Resource Protection could not start the repair service" :roll: Hopefully I can sort it without too much disruption work wise then see if it's...
by SorenR
2020-03-31 14:37
Forum: User contributed hMailServer 5 scripts
Topic: Check incoming connections with AbuseIPDB
Replies: 90
Views: 32652

Re: Check incoming connections with AbuseIPDB

@fjansen04 Make sure you only call ReportToAbuseIPDB(ip address, etc, etc) for that IP address once in a 15 minute timespan, it is a limit by AbuseIPDB . The 2nd line is apparently a report of the same ip address within this 15 minute timespan an therefor it gives the: Too Many Request error Could ...
by SorenR
2020-03-31 13:55
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

Well that was short and sweet ;-) Ran DISM Ran Telnet ..... Response was "DNS Server not authorative for zone" Well that told me! Huh?? If "TELNET 192.168.1.121 143" result in "DNS Server not authorative for zone" then you have bigger problems :mrgreen: Could your problem be related to this? https:...
by SorenR
2020-03-31 12:41
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

I don't use Thunderbird so I'm just as lost with it as you are... :oops: However.... We can test directly on the server by using TELNET... If by any chance TELNET is not available on Windows 10... C:\>TELNET 192.168.1.121 143 'telnet' is not recognized as an internal or external command, operable pr...
by SorenR
2020-03-31 10:06
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

Thunderbird is prompting you for the account password of the mailbox you created in hMailServer. I presume that is the details you entered into Thunderbird.
by SorenR
2020-03-30 22:44
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

I just need to ask...

Thunderbird is configured to use IMAP protocol on port 143? Yes?

hMailServer appear to pickup from Yahoo OK
by SorenR
2020-03-30 20:21
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

Image
by SorenR
2020-03-30 18:50
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

Can you download this and run it? https://www.hmailserver.com/forum/viewtopic.php?f=20&t=30914 EDIT... I seem to get an error when running this script. The script WILL complete however it seems my version 5.6.8-custom have an incompatibility in selecting/reading the "TLS 1.3" object. :roll: Oh dear...
by SorenR
2020-03-30 14:46
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

multiple login failures will ban your ip address, check your autoban settings.
A banned address will list in ipranges with a priority of 20 and an expiry date.

version 5.6.8 will ignore ban if priority > 20
version 5.7 iirc is 100... (somebody confirm?)
by SorenR
2020-03-29 21:05
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

https://jamanetwork.com/journals/jama/fullarticle/2749214 Masks work. There is no control group (no mask) in that test... All it proves is that one mask is as good (or bad) as the other one in a controlled environment. https://lolle.org/images/facepalm.png That defies common sense and the collectiv...
by SorenR
2020-03-29 20:43
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

Just realised .... Denmark Not scoring high for observation :wink: Most people are going bonkers since all external socializing is closed down. We worry for the people/family we know in the UK. Also wifeys niece is a pediatric nurse (and helicopter pilot) with a new house with her spouse (a CH-47 C...
by SorenR
2020-03-29 19:57
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

https://jamanetwork.com/journals/jama/fullarticle/2749214 Question Is the use of N95 respirators or medical masks more effective in preventing influenza infection among outpatient health care personnel in close contact with patients with suspected respiratory illness? Findings In this pragmatic, cl...
by SorenR
2020-03-29 18:47
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

And it is airborne. Where did you get there idea that it's not? Maybe from the gubbemint officials telling people not to wear masks while simultaneously saying all health case and gubbemint officials need masks so don't hoard them. You got the idea from those people? Watch the videos I posted above...
by SorenR
2020-03-29 18:41
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

hMailAdmin -> Settings -> Advanced -> SSL/TLS remove "V" from Verify remote server SSL/TLS certificates
by SorenR
2020-03-29 18:03
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

First of all... We lived in Singapore during SARS so I can honestly say; Been there, Done that. Second... The easiest way to meet my wife is to crash your car, get stabbed or get shot in Copenhagen. You'll have a 33% chance of ending up at the ER where she works. https://www.youtube.com/watch?v=DPNs...
by SorenR
2020-03-29 16:24
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

Can I just say one thing ... Masks are ONLY good for NOT spreading virus to OTHER PEOPLE! Wash your hands ... you don't need alchohol - well, perhaps for drinking ;) ... An advice I got; 1: Wash hands thoroughly 2: Dry hands thoroughly 3: Slice a couple of red chillies and rub on your hands ... That...
by SorenR
2020-03-26 20:32
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

Hi Soren MailCopa - Yes that's how I have it setup, it's been very good as whole over the year's although trying to migrate to the last version didn't work on the first attempt and reverted back to previous and before I got another chance at it they announced they wouldn't be supporting the product...
by SorenR
2020-03-26 17:56
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 15962

Re: Is HmailServer for the likes of me?

I've done some programming in my time, built networks including servers and cabling, installed Novel 2, 3 & 4 OS's and windows 2 thru 10 excl Vista and 8 but Hexa has lost me. Maybe getting to old :wink: Oh well... They just finished writing RFC 821 when I started on my BSc.EE. There were no real "...
by SorenR
2020-03-25 21:22
Forum: Scripting
Topic: Syntax
Replies: 10
Views: 2009

Re: Syntax

You don't have to become unpolite. I'm realy not stupid. I asked from the beginning what syntax should I use. In VBA or Excel, for example, is the syntax for defining conditions or in separating terms very different. And I have a pretty large experience with that. Nevertheless, thank you. If you ha...
by SorenR
2020-03-25 21:15
Forum: General discussions
Topic: iOS (iPhone/iPad) Blank Emails
Replies: 5
Views: 1709

Re: iOS (iPhone/iPad) Blank Emails

I have a similar problem. Emails come through fine, but if I read them on my iPhone then move them to a subfolder I can see the first few lines in the preview but when I open the email I get "This message has not been downloaded from the server". The only way I have found to fix this is to delete t...
by SorenR
2020-03-23 18:42
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

https://lolle.org/images/facepalm.png 2016 Ford Explorer Sport. Pretty quick. 365 HP twin turbo. :mrgreen: Its fun to drive on the highway. Comfortable on the pothole infested city streets. Nice balance. There's even power windows and moon roof that I can open AND close, and even keep closed when I...
by SorenR
2020-03-23 17:38
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

Image
by SorenR
2020-03-23 13:30
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 167
Views: 37085

Re: Corona Virus

And then there are the aussies - This was Bondi beach yesterday: IMG-20200321-WA0001.jpg Social distancing, anyone? Our pubs, clubs, cafes, restaurants, gyms and places of worship close in a couple of hours (midday here) Most states have closed their borders A couple of states are going to essentia...
by SorenR
2020-03-20 00:39
Forum: Scripting
Topic: Corona Project: Day 1: Two-Factor Authentication
Replies: 46
Views: 11128

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

palinka wrote:
2020-03-20 00:32
SUCCESS!! Disconnect.exe works! Now I have to create a switch to turn it on and off.
Earlier you mentioned that everyone is using 127.0.0.1... If you disconnect 127.0.0.1 how many users do you interrupt?
by SorenR
2020-03-19 22:49
Forum: Scripting
Topic: Corona Project: Day 1: Two-Factor Authentication
Replies: 46
Views: 11128

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

I set up test scripts for both the hmailserver and the gammu side of things. Got everything working. Creating & deleting autobans, no sweat. Then I put it into actual use (limited to test domains). Whooooopsss… big problem on my setup because 99.9% of traffic is on localhost. Therefore autobans don...
by SorenR
2020-03-19 19:25
Forum: Scripting
Topic: Corona Project: Day 1: Two-Factor Authentication
Replies: 46
Views: 11128

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

I set up test scripts for both the hmailserver and the gammu side of things. Got everything working. Creating & deleting autobans, no sweat. Then I put it into actual use (limited to test domains). Whooooopsss… big problem on my setup because 99.9% of traffic is on localhost. Therefore autobans don...
by SorenR
2020-03-18 21:40
Forum: Scripting
Topic: Corona Project: Day 1: Two-Factor Authentication
Replies: 46
Views: 11128

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

Now we're on the same page. That's definitely a good sign. :mrgreen: Why one IP limitation? Logon goes to user. Also, Return.Value = 1 works for imap? I just assumed it only works for smtp. Will it work within OnClientLogon? No idea... It was just an idea :oops: Anyways... OnClientConnect is execut...
by SorenR
2020-03-18 20:37
Forum: Scripting
Topic: Corona Project: Day 1: Two-Factor Authentication
Replies: 46
Views: 11128

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

LastLogonTime is updated during logon so an external check script can do the banning when the "window" closes. If I just leave my Outlook open it will re-login when checking for new mail. External script... So: IF lastlogon + n days < now THEN -> Autoban? Autoban what? You can't predict the IP used...
by SorenR
2020-03-18 19:21
Forum: Scripting
Topic: Corona Project: Day 1: Two-Factor Authentication
Replies: 46
Views: 11128

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

LastLogonTime is updated during logon so an external check script can do the banning when the "window" closes.

If I just leave my Outlook open it will re-login when checking for new mail.
by SorenR
2020-03-18 18:25
Forum: Scripting
Topic: Corona Project: Day 1: Two-Factor Authentication
Replies: 46
Views: 11128

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

Sub OnClientLogon(oClient) ' ' Find Account ' Dim oApp : Set oApp = CreateObject("hMailServer.Application") Call oApp.Authenticate(ADMIN, PASSWORD) Dim a, LastLogonTime a = Split(oClient.UserName, "@") If (UBound(a) > 0) Then LastLogonTime = oApp.Domains.ItemByName(a(1)).Accounts.ItemByAddress(oCli...