Search found 21304 matches

by mattg
2021-04-10 01:22
Forum: General discussions
Topic: Fix Local Connect Failed Issue
Replies: 54
Views: 875

Re: Fix Local Connect Failed Issue

I'd also save the settings, and REBOOT the device, and then check settings again.

Sometimes with cheaper devices a save and then immediate reboot will make them behave
by mattg
2021-04-07 00:44
Forum: General discussions
Topic: Rule Action to trigger an URL
Replies: 3
Views: 70

Re: Rule Action to trigger an URL

many examples in the scripts forums
here is one
viewtopic.php?f=9&t=36276
by mattg
2021-04-07 00:39
Forum: Development & alpha discussions
Topic: OpenSSL Security Advisory [25 March 2021]
Replies: 24
Views: 500

Re: OpenSSL Security Advisory [25 March 2021]

Now I noticed that the old version was probably not running correctly with my export, although the built-in test had all green lights. So I installed the newest from "TeamCity", hoping it has the fix and imported my export again, loosing one day. Yes, there is a new teamCity version for 5.7, build ...
by mattg
2021-04-07 00:33
Forum: User-submitted tutorials
Topic: Hardening hMailServer - The ongoing saga!
Replies: 72
Views: 59686

Re: Hardening hMailServer - The ongoing saga!

Which data must i enter here? Private Const ADMIN = "Administrator" Private Const PASSWORD = "########" The admin user MUST be = 'Administrator" The PASSWORD is your hMailserver admin GUI password And where can i get the "codes" for germany, so that i can only connect from german country / ip? Germ...
by mattg
2021-04-06 01:29
Forum: General discussions
Topic: Fix Local Connect Failed Issue
Replies: 54
Views: 875

Re: Fix Local Connect Failed Issue

The server worked a few months ago untill i fixed my voip in the interface settings seems related? Well i had to modify the ipoe and pppoe interfaces Run this and post the results. https://hmailserver.com/forum/viewtopic.php?f=20&t=30914 If hmailserver is running, but no ports are listening, then t...
by mattg
2021-04-05 09:13
Forum: General discussions
Topic: Error sending emails to an external server hmailserver?
Replies: 12
Views: 139

Re: Error sending emails to an external server hmailserver?

johang wrote:
2021-04-05 09:07
( have you put up a relay or a route in hmailserver to itself ? )
Yes, SMTP-relayer I reckon
by mattg
2021-04-05 04:39
Forum: Off-topic discussions
Topic: EventHandlers.vbs CurrentFolder
Replies: 12
Views: 321

Re: EventHandlers.vbs CurrentFolder

I was trying to make some path(s) in my script dynamic, eg: compatible between x86 and x64 version One of the first things i tried is to include some external files relative to EventHandlers.vbs Doesn't the .ini file [Directories] section do that already? [Directories] ProgramFolder=C:\hMailServer ...
by mattg
2021-04-01 00:21
Forum: General discussions
Topic: IMAP mail not syncing to all devices
Replies: 15
Views: 5084

Re: IMAP mail not syncing to all devices

Please start a new thread (as per forum rules) and link back to this one of you think relevant

Make sure you include all mail clients that you use, and the specs of your server
by mattg
2021-04-01 00:18
Forum: General discussions
Topic: SMTP Relay Scenario
Replies: 1
Views: 81

Re: SMTP Relay Scenario

Install hMailserver

In SMTP-Relayer section set gMail, and use your gmail account to AUTH that connection


That's all that is required

(As an aside, something much smaller like STUNNELL installed on a single machine on your network could also achieve this)
by mattg
2021-03-31 11:26
Forum: General discussions
Topic: Three EML files in Queue
Replies: 5
Views: 189

Re: Three EML files in Queue

That error indicates that the antivirus on the machine that hMailserver is installed on doesn't have the hMailserver data directory excluded from regular file scanning ALSO, if the emails have the same TO as the FROM and the messages are not really from your user, then I'm guessing that they contain...
by mattg
2021-03-31 06:32
Forum: General discussions
Topic: Cannot resolve MX
Replies: 58
Views: 1105

Re: Cannot resolve MX

RvdH wrote:
2021-03-30 17:03
Not sure, any other 5.7 builds havn't been posted directly on the forums i believe....

[EDIT]
Yup, viewtopic.php?t=34621 (Moderator(s), maybe simply delete them?)
gone now
by mattg
2021-03-31 06:20
Forum: General discussions
Topic: SPAM Filter and hmailserver
Replies: 8
Views: 272

Re: SPAM Filter and hmailserver

I suspect that you given an incorrect priority

Run this and post results please

viewtopic.php?f=20&t=30914
by mattg
2021-03-30 08:35
Forum: General discussions
Topic: Message folders
Replies: 2
Views: 81

Re: Message folders

https://www.hmailserver.com/documentati ... in_datadir

The two HEX digits are the first two digits in the email file name

Ie all files in the /00/ folder will start with 00
by mattg
2021-03-30 06:55
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 173
Views: 196146

Re: hMailServer 5.7

Those are really old tables

How long have you been using hMailserver? What was the the earliest version that you installed?
by mattg
2021-03-30 01:33
Forum: General discussions
Topic: SPAM Filter and hmailserver
Replies: 8
Views: 272

Re: SPAM Filter and hmailserver

IP ranges

It would be useful to see the logs generated by hMailserver during this transmission
by mattg
2021-03-29 06:41
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 244
Views: 229053

Re: Sub OnHELO(oClient) progress?

How much is included in 5.7 builds?
by mattg
2021-03-29 01:40
Forum: General discussions
Topic: How to log headers sent during SMTP client session?
Replies: 10
Views: 232

Re: How to log headers sent during SMTP client session?

Can you ask the original sender for a copy of the message that they sent?
by mattg
2021-03-28 08:05
Forum: General discussions
Topic: Basic SMTP Logging
Replies: 44
Views: 875

Re: Basic SMTP Logging

Only reason i can think of that justifies leaving the temp fix in place: Some worldwide or regional DNS outage New domains, with large (unchangeable) TTL For example last week or so a big datacenter of OVH burned down in France that took 3.6 million websites across 464,000 distinct domains offline ...
by mattg
2021-03-27 23:36
Forum: General discussions
Topic: Basic SMTP Logging
Replies: 44
Views: 875

Re: Basic SMTP Logging

Only reason i can think of that justifies leaving the temp fix in place: Some worldwide or regional DNS outage New domains, with large (unchangeable) TTL For example last week or so a big datacenter of OVH burned down in France that took 3.6 million websites across 464,000 distinct domains offline ...
by mattg
2021-03-27 23:23
Forum: General discussions
Topic: How to log headers sent during SMTP client session?
Replies: 10
Views: 232

Re: How to log headers sent during SMTP client session?

headers sent in a SMTP client session?
Perhaps use Wireshark or something similar
I'm really not sure what you will find though


Message headers will normally be part of a message, but I suspect that you are looking for something else

Can you provide more detail on EXACTLY what you are looking for
by mattg
2021-03-27 23:15
Forum: General discussions
Topic: Three EML files in Queue
Replies: 5
Views: 189

Re: Three EML files in Queue

To refresh the queue

In the GUI
Status >> Delivery Queue >> Refresh (button at top of screen)

Please show the logs with the error

If it was a 5xx error, a bounce should created for the sender
If it was a 4xx error, hmailserver will try to send again
by mattg
2021-03-26 05:27
Forum: General discussions
Topic: WebMail server
Replies: 2
Views: 150

Re: WebMail server

Any standards compliant web server will work

Popular ones include Rainloop, roundcube, squirrelmail, mailenable
by mattg
2021-03-26 00:28
Forum: Development & alpha discussions
Topic: OpenSSL Security Advisory [25 March 2021]
Replies: 24
Views: 500

Re: OpenSSL Security Advisory [25 March 2021]

Certificate validation is hardly used in hMailserver, even when the 'validate certificates' switch is selected It is only used for outgoing mail cover by SMTP routes, and POP3 external download It is not used for ANY normal outgoing mail, or for any incoming SMTP connections Additionally, that secur...
by mattg
2021-03-26 00:20
Forum: General discussions
Topic: Outlook Client and HmailServer
Replies: 7
Views: 246

Re: Outlook Client and HmailServer

Outlook + IMAP has always been dodgy

But In saying that, I've never seen Outlook to take so long
What are your IMAP advanced settings in hMailserver? Do you have 'idle' selected?
by mattg
2021-03-26 00:17
Forum: General discussions
Topic: Three EML files in Queue
Replies: 5
Views: 189

Re: Three EML files in Queue

first up. make sure that you refresh the queue Then check your logs thoroughly, and then open them with an email client (ie thunderbird) I often find that the messages that get stuck are viruses, or mail outs to multiple recipeints, or that the message has actually been sent. If they are tmp files, ...
by mattg
2021-03-24 03:33
Forum: General discussions
Topic: New server, MySQL to MSSQL
Replies: 5
Views: 207

Re: New server, MySQL to MSSQL

I already checked some migration tools but they were either paid, too complicated for me to understand or simply didn't work at all so I decided that I'll install hMailServer, create an empty database and write a small script which will keep the records in sync until I shut the old server down. Thi...
by mattg
2021-03-23 01:43
Forum: User-submitted tutorials
Topic: Moving hMailServer DATA folder
Replies: 8
Views: 7053

Re: Moving hMailServer DATA folder

BeeTee wrote:
2021-03-22 12:54
I thought the paths are not saved in the database? If so, how does hmailserver know about the old path if I change it in the ini?
It doesn't, that's the point

You can move the data directory and reset the ini setting, restarting hMailserver and all will continue to work (with the new path)
by mattg
2021-03-23 01:36
Forum: General discussions
Topic: Alias domain in mirror address causes loop
Replies: 8
Views: 196

Re: Alias domain in mirror address causes loop

How about using a global rule

if recipient list not contains mirror@xyz.com then forward to mirror@@xyz.com



But I agree, that doesn't make much sense.
What happens if mirror is set to mirror@xyz.net

can you mirror to another domain, even a .local
by mattg
2021-03-21 03:38
Forum: Scripting
Topic: Separate log with headers, delivery status for specific addresses
Replies: 6
Views: 306

Re: Separate log with headers, delivery status for specific addresses

Anything is possible Just write custom log lines during events in your eventhandlers.vbs add this to bottom of eventhandlers Sub CustomMonthlyLog(LogText, LogFileName) 'custom event 'uses globals: g_sAdminPassword 'called from: Dim oApp, LogDirectory, t, temp, strTime, strLogDate Dim fileout, FSO, O...
by mattg
2021-03-18 03:03
Forum: SpamAssassin implementation discussions
Topic: Whitelist ignored?
Replies: 18
Views: 7521

Re: Whitelist ignored?

You could also, instead, whitelist addresses directly in Hmailserver (whitelist section) whivh will stop spamassassin and the builtin HMS checks altogether. I have tried this myself (white listing in hMailServer) and I use spamassassin with no whitelist_from's in the local.cnf and the whitelist doe...
by mattg
2021-03-17 02:47
Forum: Scripting
Topic: Sequence of hmailserver checks
Replies: 9
Views: 321

Re: Sequence of hmailserver checks

Smiley561 wrote:
2021-03-15 15:45
The script does not reject the message from outside with "kredit" in subject after it became a score in Anti-spam. If I forward it to my address, it is rejected.
I'm not sure what you are trying to say here...

Can you please provide more detail on when this works and when this fails for you
by mattg
2021-03-17 02:34
Forum: General discussions
Topic: Stop bounce messages from exchange
Replies: 14
Views: 467

Re: Stop bounce messages from exchange

What is pineapple for if not for pizza? (Ham and Pineapple pizza - we call them Hawaiian pizza here in Australia, and they are great) Otherwise - Upside down pineapple cake, or perhaps next to the beetroot on a burger. Anyhoo This is not working on hMailsever generated bounces. I'm thinking since hM...
by mattg
2021-03-15 16:27
Forum: General discussions
Topic: Account configuration on outlook
Replies: 1
Views: 153

Re: Account configuration on outlook

Is outlook same computer? Then Server = 127.0.0.1, ports as set in hmailservevr >> tcp/IP ports Outlook on same same domain? Then server = LAN IP ADDRESS Outlook on Internet ? Then try WAN IP address You can also use FQDN if you have a real domain and DNS records (Which you will need to receive mail...
by mattg
2021-03-15 16:24
Forum: General discussions
Topic: Stop bounce messages from exchange
Replies: 14
Views: 467

Re: Stop bounce messages from exchange

Global rule

From contains 'mailer-daemon'


works for me
by mattg
2021-03-15 01:04
Forum: General discussions
Topic: Trouble Creating New SQL Database
Replies: 15
Views: 497

Re: Trouble Creating New SQL Database

7) Used Windows authentication in hMailServer Database Setup I think this step is where you went worng I think that step uses the permissions of the Windows user who is installing hMailserver, and not the created permissions for the user that you created for purpose. Try setting a username and pass...
by mattg
2021-03-14 03:22
Forum: Scripting
Topic: Modifying the Body before Forwarding
Replies: 30
Views: 922

Re: Modifying the Body before Forwarding

SorenR wrote:
2021-03-13 19:32
I'm not really sure what else to use the "Groups" for ... :mrgreen:
Isn't that for Public folder permissions
by mattg
2021-03-11 12:09
Forum: General discussions
Topic: Question about using external accounts
Replies: 4
Views: 261

Re: Question about using external accounts

Run this, and post the results
viewtopic.php?f=20&t=30914

Include rules for the account user2@freemailer2.com

Also please show a copy of your eventhandlers.vbs (Without any passwords shown)
by mattg
2021-03-09 04:34
Forum: General discussions
Topic: Latest microsoft exchange server hack
Replies: 4
Views: 267

Re: Latest microsoft exchange server hack

It was an on-premises Exchange vulnerability that needed to be patched, it wasn't a hack, and it should not impact on you sending mail to them I can send mail to hotmail, outlook.com, and Office365 hosted domains However, I do have a client getting a weird error from his postfix (linux) server when ...
by mattg
2021-03-09 01:55
Forum: General discussions
Topic: Do Not Require Authentication AND Do Not Allow It!
Replies: 3
Views: 213

Re: Do Not Require Authentication AND Do Not Allow It!

Add this to the bottom of your hMailserver.ini [settings] DisableAUTHList=25 ; Setting DisableAUTHList allows you to specify a comma-separated list of SMTP ports which authentication should not be enabled for. ; This is useful when working with legacy systems with malfunctioning SMTP support. You wi...
by mattg
2021-03-06 03:42
Forum: Scripting
Topic: Clean up X-Spam-Report
Replies: 75
Views: 3591

Re: Clean up X-Spam-Report

This is what I currently get -------- Forwarded Message -------- Return-Path: jacobbiggsdigitalservice@gmail.com Delivered-To: spam@example.com X-Spam-Checker-Version: SpamAssassin 3.4.2-mx.example.com (2018-09-13) on webserver.example.com.au X-Spam-Flag: YES X-Spam-Level: ************ X-Spam-Status...
by mattg
2021-03-03 02:54
Forum: General discussions
Topic: Feed Errors
Replies: 13
Views: 474

Re: Feed Errors

cURL is a linux thing

Needed to read web based text files etc
by mattg
2021-03-02 14:34
Forum: General discussions
Topic: Error 554 Too many Simultaneous Connections
Replies: 7
Views: 325

Re: Error 554 Too many Simultaneous Connections

Check hMailAdmin>Settings>Protocols>SMTP The max number of Simultaneous Connections should be set to zero (meaning unlimited number of connections) by default. That's Incoming I think, not outgoing. @uni What is your setting for Protocols >> SMTP >> Advanced >>Maximum number of recipients in batch ...
by mattg
2021-03-02 10:57
Forum: General discussions
Topic: Files locked in hMailserver / Data
Replies: 11
Views: 382

Re: Files locked in hMailserver / Data

I'm going to call antivirus

Windows Defender, i think will reinstall itself if you don't add another AV
by mattg
2021-03-02 06:31
Forum: Scripting
Topic: Clean up X-Spam-Report
Replies: 75
Views: 3591

Re: Clean up X-Spam-Report

We don't have cellars or basements very often in Australia (Although some houses are completely built underground in very hot regions) Normally only have basements in tall buildings for car parking.These are normally called 'Lower Ground' if only one, or B1, B2 B3 etc (where B = Basement) for multip...
by mattg
2021-03-01 04:44
Forum: Scripting
Topic: Clean up X-Spam-Report
Replies: 75
Views: 3591

Re: Clean up X-Spam-Report

Huh... it turns out that this is even simpler than I thought. If oMessage.HeaderValue("X-Spam-Report") <> "" Then oMessage.HeaderValue("X-Spam-Report-Test") = Replace(oMessage.HeaderValue("X-Spam-Report"), "*", vbCrLf & " *") oMessage.Save End If I also replace "* [" with "[" to stop the square bra...
by mattg
2021-03-01 03:31
Forum: Scripting
Topic: Clean up X-Spam-Report
Replies: 75
Views: 3591

Re: Clean up X-Spam-Report

Huh... it turns out that this is even simpler than I thought. If oMessage.HeaderValue("X-Spam-Report") <> "" Then oMessage.HeaderValue("X-Spam-Report-Test") = Replace(oMessage.HeaderValue("X-Spam-Report"), "*", vbCrLf & " *") oMessage.Save End If I also replace "* [" with "[" to stop the square bra...
by mattg
2021-03-01 03:18
Forum: General discussions
Topic: Using home server with dynamic IP address
Replies: 8
Views: 325

Re: Using home server with dynamic IP address

The company that hosts the email addresses of the TO and the FROM rejected your forward due to your IP being on a SPAMHAUS list

You will need to contact them
by mattg
2021-03-01 02:32
Forum: General discussions
Topic: Autoban not working?
Replies: 17
Views: 638

Re: Autoban not working?

I have port 25 AUTH blocked, so they wouldn't even had the opportunity to try at my server (on port 25 at least)
by mattg
2021-02-28 23:14
Forum: General discussions
Topic: Using home server with dynamic IP address
Replies: 8
Views: 325

Re: Using home server with dynamic IP address

ALSO
Please show the internal diagnostics

AND
Run this and post the results
by mattg
2021-02-28 04:31
Forum: General discussions
Topic: The simplest possible question about SSL certificates
Replies: 19
Views: 517

Re: The simplest possible question about SSL certificates

Boom boom boom - good work SorenR I know that this is the simplest possible question about certificates but in all of the explanations and tutorials, all of them meta out one vital bit of info. this is NO simple question I agree I find that a certificate for mail.example.com doesn't always meet expe...
by mattg
2021-02-26 05:07
Forum: General discussions
Topic: Email sending error 550
Replies: 8
Views: 418

Re: Email sending error 550

karishma wrote:
2021-02-26 04:14
Is it possible to anyhow send out email from external address to another external address?
That is set in IP ranges

Don't do that to the internet IP range or you will become an open relay

ALSO, please realize that most recipient servers will see these messages as spam
by mattg
2021-02-26 01:33
Forum: General discussions
Topic: Email sending error 550
Replies: 8
Views: 418

Re: Email sending error 550

karishma wrote:
2021-02-25 15:18
I am running hmailserver 5.4.2 on windows server 2012.
Thats SEVEN years old

You should update to latest
by mattg
2021-02-26 01:30
Forum: General discussions
Topic: Attachment Block
Replies: 6
Views: 400

Re: Attachment Block

I have this ini setting DNSBLChecksAfterMailFrom=0 ; DNSBLChecksAfterMailFrom now works. It was removed during the re-design of the spam protection but have been added again. ; By default, hMailServer runs DNS blacklists checks after SMTP/MAIL FROM. ; Some users prefer to have it running after the S...
by mattg
2021-02-25 02:23
Forum: General discussions
Topic: Understanding the SSL/TLS ciphers list
Replies: 20
Views: 8515

Re: Understanding the SSL/TLS ciphers list

I ran into the same issue when... testing my mail server at https://internet.nl/... I thought I ran a pretty tight mail and web server, I generally get A or A+ on most test sites I got a 55% for web and 61% for email on this site. Is IPv6 widely available in the EU? Many providers in Australia don'...
by mattg
2021-02-25 02:18
Forum: General discussions
Topic: Mail collector from the provider's external server.
Replies: 4
Views: 365

Re: Mail collector from the provider's external server.

the email you are retrieving via POP3 IS ALREADY RECEIVED! OK. But these e-mails are spam or addressed to users that have been deleted. These emails must be deleted, and the sender must be informed about the delivery error. lets step through this Sender sends to your providers external server The P...
by mattg
2021-02-23 00:48
Forum: SpamAssassin implementation discussions
Topic: SA temp files picked up by windows defender virus
Replies: 11
Views: 853

Re: SA temp files picked up by windows defender virus

In my Ubuntu version of SpamAssassin, in the init file I set the temp directory

export TMPDIR=/tmp


The init file is essentially the script that sets SpamAssassin to run like a Windows service
by mattg
2021-02-23 00:41
Forum: User-submitted tutorials
Topic: Official and self-signed Certificate manual for hmail [SSL]
Replies: 111
Views: 159173

Re: Official and self-signed Certificate manual for hmail [SSL]

If you have purchase a certificate or acquired a let's encrypt certificate - then they may well have also issued a chained certificate to you I just load the 'chained certificate and the key (from lets Encrypt) into hmailsevrer 'certificates' - I don't need to combine anything If you manually need t...
by mattg
2021-02-22 05:30
Forum: General discussions
Topic: Login
Replies: 17
Views: 625

Re: Login

You should read the technical knowledge section at the bottom of this page https://www.hmailserver.com/documentation/latest/?page=system_requirements From the questions that you are asking, it seems to me that you don't have the required skill set to run a mailserver You should either look for anoth...
by mattg
2021-02-22 03:39
Forum: General discussions
Topic: Running a Python Script from a Rule or Server Event?
Replies: 12
Views: 526

Re: Running a Python Script from a Rule or Server Event?

ALSO, is python available to the windows USER that hMailserver runs under