Search found 21187 matches

by mattg
2021-01-19 00:10
Forum: General discussions
Topic: Multiple Instances on one DB Server
Replies: 5
Views: 33

Re: Multiple Instances on one DB Server

Just to clarify... My primary hmailserver (Windows 2003 R2 Server) is also my MySQL database server and my secondary hmailserver (Windows 2019 Essential) is my Backup-MX. Both servers currently connect to the MySQL server instance on my primary server. So, two mailservers and one database server. A...
by mattg
2021-01-17 22:33
Forum: General discussions
Topic: Multiple domain, but only one certificate
Replies: 3
Views: 83

Re: Multiple domain, but only one certificate

Yes, however it is more 'popular' to use a FQDN like 'mail.example.com' for mail servers, rather than simply 'example.com'

Either will work
by mattg
2021-01-17 09:19
Forum: General discussions
Topic: Multiple domain, but only one certificate
Replies: 3
Views: 83

Re: Multiple domain, but only one certificate

How would your hmailserver know WHICH certificate to present upon connection request?? The way that gmail, Office365 and other mail servers work is like this Local host name = 'mail.example.com' Certificate for ='mail.example.com' All MX records are as follows Domain1 >>MX record = mail.example.com ...
by mattg
2021-01-16 05:18
Forum: General discussions
Topic: Hmail not delivering emails anymore
Replies: 15
Views: 162

Re: Hmail not delivering emails anymore

Your LAN IP range should have a priority of say 50, or it will have no impact Higher number = higher priority ALSO, there are errors present in D:\SERVER\HMAIL\Logs\ERROR_hmailserver_2021-01-15.log Are the few you show, the only entries? If so, I'd like to see a copy of your eventhandlers.vbs (with ...
by mattg
2021-01-14 23:44
Forum: General discussions
Topic: Restore mail files
Replies: 3
Views: 82

Re: Restore mail files

how did you backup and restore?
by mattg
2021-01-10 03:05
Forum: Development & alpha discussions
Topic: Using OpenSSL, trying to get a working SSL certificate
Replies: 8
Views: 5174

Re: Using OpenSSL, trying to get a working SSL certificate

look for a background 'window' in thunderbird, that allows you accept the self signed certificate
by mattg
2021-01-10 03:03
Forum: Scripting
Topic: Instantiation of Application object
Replies: 1
Views: 115

Re: Instantiation of Application object

To ensure that I meet the Australian laws about logging specific detail, I write custom per-domain logs Function DomainLogging(oMessage) 'custom event 'uses functions: CustomMonthlyLog 'uses globals: g_sAdminPassword 'called from: Rules Dim i, j, oDomain, temptext, oApp, Local, tempDomain Set oApp =...
by mattg
2021-01-09 02:15
Forum: General discussions
Topic: Cannot connect to Imap
Replies: 7
Views: 200

Re: Cannot connect to Imap

If your hmailserver 'local host name' is the same as your web address, then you can use the same let's encrypt certificate for hmailserver (Use the 'full chain' and the 'private key' 10.0.0.2 is LOCAL LAN IP address, and not something that will work from the internet I'd remove that entry from your ...
by mattg
2021-01-09 01:20
Forum: General discussions
Topic: Cannot connect to Imap
Replies: 7
Views: 200

Re: Cannot connect to Imap

ALSO you have IP ranges priorities backwards Internet should be LOWEST number, ie 5 IP ranges that you want to take precedence over Autoban should be HIGHER than 20, ie 25 Clearly your Autoban is having no effect at present Higher number = higher priority You should UP date to a newest version of Hm...
by mattg
2021-01-09 01:14
Forum: General discussions
Topic: Cannot connect to Imap
Replies: 7
Views: 200

Re: Cannot connect to Imap

What is your iPhone configuration?
by mattg
2021-01-07 01:06
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 254
Views: 76768

Re: Corona Virus

Watching the U.S implode: makes you proud, doesn't it. Proud to not be American. And I say that as a European but so will Chinese, Russians, Turks and many other less tolerant countries. Perhaps one or more of these countries that you mention are pushing the social media buttons of the general popu...
by mattg
2021-01-07 00:41
Forum: General discussions
Topic: Slow connection
Replies: 14
Views: 780

Re: Slow connection

gtsolid wrote:
2021-01-06 18:55
I still don't know why I have no problem using Outlook for PC.... Maybe it works in another way
Outlook doesn't upload all mail, it only syncs headers from recent mail - how recent is set in settings

If you have many GB of mail, I'm guessing that goes back a long time
by mattg
2021-01-07 00:38
Forum: General discussions
Topic: SMTP & greylisting
Replies: 15
Views: 435

Re: SMTP & greylisting

In SMTP settings, there is an advanced setting called 'recipient hosts' Yours is set to 15 What this means is that if there is up to 15 MX records then hMailserver will attempt them sequentially Note your logs show connections to different IP addresses. I suspect that the greylisting is broken on th...
by mattg
2021-01-07 00:29
Forum: General discussions
Topic: Newsletter Subscription Error
Replies: 1
Views: 159

Re: Newsletter Subscription Error

For what it is worth, I don't remember a single newsletter in 15 years
by mattg
2021-01-05 01:35
Forum: General discussions
Topic: Slow connection
Replies: 14
Views: 780

Re: Slow connection

Yep, lets start with stats from your server How many messages per day? Typically how many simultaneous IMAP connections? Typically how many simultaneous POP3 connections? Typically how many simultaneous SMTP connections? What is the bandwidth of your network connection (where hMailservevr is install...
by mattg
2021-01-04 01:29
Forum: Development & alpha discussions
Topic: Hmailserver from github does not build from source
Replies: 7
Views: 732

Re: Hmailserver from github does not build from source

perhaps this question is better asked on Github
by mattg
2021-01-04 00:55
Forum: General discussions
Topic: problem with ssl
Replies: 32
Views: 2172

Re: problem with ssl

Don't think I've ever gotten reports I have (I think) the required txt records and website detail. Perhaps I need to test that setup. I am working towards DANE too. I need DNSSEC and DNS CAA, and I need to make my BIND server publicly accessible to do those. I've been working towards that for over a...
by mattg
2021-01-04 00:09
Forum: General discussions
Topic: hMailServer Backup-MX acting weird!
Replies: 26
Views: 1604

Re: hMailServer Backup-MX acting weird!

mattg, I use Let's Encrypt Certificates but only use the 'cert.pem' and 'privkey.pem' files in hMailServer. I do not use the 'chain.pem' file because for some reason the expiration date in the 'chain.pem' file is always expired. However, while I don't have any Thunderbird Clients, I do use an Outlo...
by mattg
2021-01-04 00:02
Forum: General discussions
Topic: problem with ssl
Replies: 32
Views: 2172

Re: problem with ssl

On my server, I use MTA-STS, I require TLSv1.2 or TLSv1.3 with strong ciphers (I do allow NOT encrypted as fall back). I autoban high score spammers and hackers. Just done a week of tests using this regex in a rule (As provided by SorenR earlier in this thread (?i:^.*\s(ESMTP|!ESMTPA|!ESMTPS|!ESMTPS...
by mattg
2021-01-03 23:40
Forum: General discussions
Topic: HELP!! Hmailserver & Hostgator
Replies: 12
Views: 836

Re: HELP!! Hmailserver & Hostgator

or #3
PAY to use a service

Look into having Office365 or gmail host your domains
by mattg
2021-01-03 23:39
Forum: General discussions
Topic: hMailServer Backup-MX acting weird!
Replies: 26
Views: 1604

Re: hMailServer Backup-MX acting weird!

... Removed selection from "Verify remote server...." from hMailAdmin -> Settings -> Advanced -> SSL/TLS 'Verify' isn't actually used much. It is used on SMTP routes, and for upstream 'External Account POP3' connections and not much else https://www.hmailserver.com/forum/viewtopic.php?f=10&t=29078&...
by mattg
2021-01-03 05:38
Forum: General discussions
Topic: hMailServer Backup-MX acting weird!
Replies: 26
Views: 1604

Re: hMailServer Backup-MX acting weird!

Try with StartTLS Required on port 25 on your backup server's SMTP route
by mattg
2021-01-03 02:59
Forum: General discussions
Topic: hMailServer Backup-MX acting weird!
Replies: 26
Views: 1604

Re: hMailServer Backup-MX acting weird!

I'm sure that you checked all of these settings, but just getting how this works out of my head and written down... So it has to be one of the settings specific to the IP address of your backup server, as shown on your Primary server, and different to the internet IP range OR It could be in the SMTP...
by mattg
2021-01-02 01:34
Forum: General discussions
Topic: HELP!! Hmailserver & Hostgator
Replies: 12
Views: 836

Re: HELP!! Hmailserver & Hostgator

...is there any place to specify the interval for another batch to be sent? no Hostgator support suggested this link https://www.hmailserver.com/forum/viewt ... 20&t=28269. But i dont know how implement it. That post says in BOLD type what you need to do for instructions for use - check the link an...
by mattg
2021-01-01 02:44
Forum: Off-topic discussions
Topic: Hmailserver - the social organiser
Replies: 26
Views: 2379

Re: Hmailserver - the social organiser

jimimaseye wrote:
2021-01-01 01:54
Happy new year!

How is 2021 so far matt?
Like a sleepy Sunday morning

No Noise, no dogs barking, no lawn mowers, adult teenagers and wife all still in bed, 'sleeping in'...it's now 10.45 am

Time for me to go and start cooking the bacon and eggs and coffee, and to make some noise
by mattg
2021-01-01 01:21
Forum: Off-topic discussions
Topic: Hmailserver - the social organiser
Replies: 26
Views: 2379

Re: Hmailserver - the social organiser

johang wrote:
2020-12-31 16:17
and i will kick off by wishing those that celebrate the new year starting at 1st of january a merry new year ( 9 hours in advance here, but should be in half of Australia by now )
Yep, that was 12:17 am my time when you posted that

Happy New Year
by mattg
2020-12-30 05:19
Forum: Scripting
Topic: Simple Auto Whitelist
Replies: 14
Views: 1300

Re: Simple Auto Whitelist

palinka wrote:
2020-12-30 01:51
The concept behind auto whitelisting is if a sender was a recipient in the past (of the current recipient), then the sender must be valid. This information is available in the hmailserver database. Why create new tables or text files to hold this info?
I like the simplicity of this concept
by mattg
2020-12-30 03:41
Forum: General discussions
Topic: I am thinking that this should not be allowed
Replies: 22
Views: 1808

Re: I am thinking that this should not be allowed

SorenR wrote:
2020-12-30 02:47
One use could be to let the account know when and if their password has become unsafe 8)
Google is doing this

In chrome, go to settings >> passwords and they will show you any username / password combos that are unsafe. I assume from the same list
by mattg
2020-12-29 13:33
Forum: General discussions
Topic: Block or Tag 126.com
Replies: 3
Views: 425

Re: Block or Tag 126.com

a script triggered from a rule

(not tested)

Code: Select all

function add126.com(oMessage)
oMessage.subject = "[126.com]" & oMessage.subject
oMessage.save
end function
Global rule

If sender contains '@126.com'
Then
Run function 'add126.com'
by mattg
2020-12-28 23:05
Forum: General discussions
Topic: Can send emails but not receive
Replies: 7
Views: 614

Re: Can send emails but not receive

The error was probably more due to the way that the security protocols were impleneted TCPIP PORTS Connection Sec 0.0.0.0 / 25 / SMTP - SSL/TLS !! External Email Blocked !! Cert: bthubnetmailingssl 0.0.0.0 / 110 / POP3 - SSL/TLS Cert: bthubnetmailingssl 0.0.0.0 / 143 / IMAP - SSL/TLS Cert: bthubnetm...
by mattg
2020-12-28 08:28
Forum: General discussions
Topic: problem with ssl
Replies: 32
Views: 2172

Re: problem with ssl

You started me thinking. My port 25 setup is StartTLS(Optional) SMTP incoming, however a look at the logs suggests that every legitimate webserver starts TLS and only the spammers go in plain. So, my question: Is there any reason not to require TLS on port 25? I've found that many legitimate mail s...
by mattg
2020-12-24 08:38
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 226
Views: 206585

Re: Sub OnHELO(oClient) progress?

You must use the same base version...
by mattg
2020-12-24 08:37
Forum: General discussions
Topic: From exchange 2010 to HMail
Replies: 3
Views: 499

Re: From exchange 2010 to HMail

search for a tool like IMAP sync

Depending on number of accounts, it might just be easier to add hmailserver account to the individual mail clients that connect to the Exchange 2010, and simply copy all mail and folders from one account to the other
by mattg
2020-12-24 08:34
Forum: General discussions
Topic: Cant receive messages.
Replies: 5
Views: 465

Re: Cant receive messages.

ports not forwarded in router
ports not opened in firewall
https://www.hmailserver.com/documentati ... om_outside

Next step is run this and post the results >> viewtopic.php?f=20&t=30914
by mattg
2020-12-24 08:29
Forum: General discussions
Topic: Could you please explain what is going on in this log?
Replies: 11
Views: 1049

Re: Could you please explain what is going on in this log?

The read operation failed literally means that your server was unable to read what was next in the I/O stream. The rest of that message says 'An existing connection was forcibly closed by the remote host' It means one of a couple of things #1 that there was no further transmission in the stream (ie ...
by mattg
2020-12-24 08:22
Forum: General discussions
Topic: Yet Another Smtp Limit
Replies: 9
Views: 708

Re: Yet Another Smtp Limit

I went in and put strong passwords on all the accounts - but there's nothing to stop them putting simple ones back... #1 change your admin password ASAP #2 they can log onto the web app to manage their own passwords with their own email address and password - they DON'T NEED TO USE ADMINISTRATOR to...
by mattg
2020-12-23 02:58
Forum: General discussions
Topic: Could you please explain what is going on in this log?
Replies: 11
Views: 1049

Re: Could you please explain what is going on in this log?

Ah, so the log entry for a bad login/password combination does not say that but ssl error? Where is the SSL error? "DEBUG" 6916 "2020-12-12 02:45:59.732" "Creating session 64645" "TCPIP" 6916 "2020-12-12 02:45:59.732" "TCP - 193.*.*.114 connected to 192.*.*.31:995." "DEBUG" 6916 "2020-12-12 02:45:5...
by mattg
2020-12-22 04:51
Forum: General discussions
Topic: problem with ssl
Replies: 32
Views: 2172

Re: problem with ssl

The 'rules' say this Port 25 NONE - SMTP incoming Port 110 StartTLS (Optional) - POP3 Port 465 SSL/TLS - SSMTP Submission Port 587 StartTLS (Optional) - SMTP Submission Port 143 StartTLS (Optional) - IMAP Port 993 SSL/TLS - IMAPS Port 995 SSL/TLS - POP3S This is what I do Port 25 StartTLS(Optional) ...
by mattg
2020-12-21 00:53
Forum: General discussions
Topic: Sub OnDeliveryFailed(oMessage, sRecipient, sErrorMessage)
Replies: 27
Views: 1918

Re: Sub OnDeliveryFailed(oMessage, sRecipient, sErrorMessage)

I was going to say that I get that message ALL of the time (hundreds of times per day), but I also log AWSTATS
by mattg
2020-12-20 01:42
Forum: General discussions
Topic: hMailserver can't send or recieve emails locally w/PHPMailer "503 Bad Sequence of Commands"
Replies: 3
Views: 447

Re: hMailserver can't send or recieve emails locally w/PHPMailer "503 Bad Sequence of Commands"

Your issue is that different similarly named terms mean different things You should turn security off in PHP Mailer for StartTLS connections to your hMailserver StartTLS connections in hMailserver is ONLY available if you have a valid certificate installed Try turning off the IP range requirement fo...
by mattg
2020-12-20 01:36
Forum: General discussions
Topic: Copy outgoing mail to imap folder
Replies: 1
Views: 375

Re: Copy outgoing mail to imap folder

You could copy using the 'run function', you would just need to script an appropriate function

There is also 'Create and send copy'
https://www.hmailserver.com/forum/viewt ... =7&t=30770
by mattg
2020-12-19 01:22
Forum: General discussions
Topic: Could you please explain what is going on in this log?
Replies: 11
Views: 1049

Re: Could you please explain what is going on in this log?

DrmCa wrote:
2020-12-14 02:43
What is the IP 193.*.*.114 doing?
I suspect that is a hacker trying to guess a username / password combo on port 995, and thus avoiding the autoban (Autoban is only for SMTP connections)
by mattg
2020-12-18 03:18
Forum: General discussions
Topic: Gmail "be careful with this message"
Replies: 117
Views: 4032

Re: Gmail "be careful with this message"

There is this ini setting. Does it have an impact RewriteEnvelopeFromWhenForwarding=1 ; When performing forwarding, hMailServer now keeps the original From address rather than changing to that of the forwarding account. ; This change was made to reduce risk of message delivery failures. ; To force t...
by mattg
2020-12-18 00:10
Forum: User-submitted tutorials
Topic: HOW TO: Install Spamassassin For Windows and SPAMD service
Replies: 39
Views: 106323

Re: HOW TO: Install Spamassassin For Windows and SPAMD service

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

ALSO, where have you installed spamassassin
by mattg
2020-12-17 23:31
Forum: General discussions
Topic: TCPConnection - TLS/SSL handshake failed. Error code: 10054, Message: An existing connection was forcibly closed by the
Replies: 11
Views: 882

Re: TCPConnection - TLS/SSL handshake failed. Error code: 10054, Message: An existing connection was forcibly closed by

Right, so you clearly get past the initial connection There will be much more log line associated with the test. The logs line you show initially include some rejections but that is to be expected when they are testing, they try different things and move on. Your screen shot shows 'no weak ciphers',...
by mattg
2020-12-17 10:56
Forum: General discussions
Topic: Spam being ignored +/-
Replies: 57
Views: 3597

Re: Spam being ignored +/-

Try the spamassassin support
It certainly seems like your SpamAssassin isn't optimal
by mattg
2020-12-17 10:51
Forum: General discussions
Topic: TCPConnection - TLS/SSL handshake failed. Error code: 10054, Message: An existing connection was forcibly closed by the
Replies: 11
Views: 882

Re: TCPConnection - TLS/SSL handshake failed. Error code: 10054, Message: An existing connection was forcibly closed by

In TCP/IP Ports change the certificate to YOUR certificate ( mareike.Domain1.com), not the CA certificate You are trying to use the CA certificate on your hmailserverv - that won't work. You should chain your certs into one file in this order top down CA2 CA Yours Include all 'start' and 'end' lines...
by mattg
2020-12-13 22:27
Forum: General discussions
Topic: Spam being ignored +/-
Replies: 57
Views: 3597

Re: Spam being ignored +/-

After reviewing your settings, and checking your log file (which you still haven't confirmed is only SA connection issues), my best guess is that SpamAssassin timed out (or was unavailable) and I'm trying to suggest ways to limit that. Yes i did, in Post #9, maybe i was a little general vs specific...
by mattg
2020-12-13 22:10
Forum: General discussions
Topic: TCPConnection - TLS/SSL handshake failed. Error code: 10054, Message: An existing connection was forcibly closed by the
Replies: 11
Views: 882

Re: TCPConnection - TLS/SSL handshake failed. Error code: 10054, Message: An existing connection was forcibly closed by

run this and post the output please
viewtopic.php?f=20&t=30914

Also, where did you get your certificate

Ciphers depend a lot on what level of authentication is used - settings above will give us more info

And yes, changing ciphers may have broken your system
by mattg
2020-12-13 01:44
Forum: General discussions
Topic: Spam being ignored +/-
Replies: 57
Views: 3597

Re: Spam being ignored +/-

Is SpamAssassin on the same machine? Do you use a local DNS? Did you actually check that log file? The machine only handles hM and SA, so yes same machine. No DNS, just default localhost. A local DNS server will improve your search speed immensely I know no one gets paid, but im the level of user, ...
by mattg
2020-12-13 00:39
Forum: General discussions
Topic: Spam being ignored +/-
Replies: 57
Views: 3597

Re: Spam being ignored +/-

What does this file contain? C:\Program Files\hMailServer\Logs\ERROR_hmailserver_2020-12-10.log The only errors i ever get is it complaining it cant talk to SA, im guessing based on the amount of traffic, cause it only complains once in a while, never more than once a day. The previous error log wa...
by mattg
2020-12-12 02:28
Forum: Development & alpha discussions
Topic: MTA / MSA port?
Replies: 14
Views: 989

Re: MTA / MSA port?

...can it be directly sent to the recipient's domain email server? Yes, relays are optional If you send direct then your IP probably needs to be clean, business class and static, plus you need a good reputation PLUS much more - but really that is just about watching to ensure that you aren't sendin...
by mattg
2020-12-11 09:14
Forum: General discussions
Topic: Yahoo problems with dist list
Replies: 3
Views: 466

Re: Yahoo problems with dist list

Try and catch the bounces with a global rule, then forward it to your email address and delete it so that it doesn't deliver to the list users If FROM contains 'mailer-daemon' AND Recipient list not include 'your email' Then Forward to your email AND Delete Message Do a second rule, replacing the 'm...
by mattg
2020-12-11 09:08
Forum: General discussions
Topic: Spam being ignored +/-
Replies: 57
Views: 3597

Re: Spam being ignored +/-

What does this file contain?
C:\Program Files\hMailServer\Logs\ERROR_hmailserver_2020-12-10.log
by mattg
2020-12-11 00:26
Forum: General discussions
Topic: SSL Unknown Authority?
Replies: 2
Views: 384

Re: SSL Unknown Authority?

you should copy paste (as you have done)

Make sure that you include the lines

Code: Select all

-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
Between them
by mattg
2020-12-11 00:24
Forum: General discussions
Topic: Authentification as relay: where to enter that?
Replies: 45
Views: 2179

Re: Authentification as relay: where to enter that?

When I looked at doing this a while back, I considered using normal email protocol to exchange emails - with body text containing settings changes that are read, sanitised and then used. I have a specific subject line that triggers any one of a number of robot actions, but only when the email is fro...