Search found 20788 matches

by mattg
2020-02-02 02:36
Forum: General discussions
Topic: Database setup failing on Windows 10 pro Install
Replies: 9
Views: 3995

Re: Database setup failing on Windows 10 pro Install

You need to 32 bit of that dll to work with that version of hMailsevrer

I'm guessing that you installed the 64 bit version of MySQL and copied the 64 bit dll
by mattg
2020-02-02 02:26
Forum: General discussions
Topic: Add warning to emails
Replies: 35
Views: 13484

Re: Add warning to emails

I could be wrong, but I don't think you can mix vb and regex like that. Try getting rid of the vb or changing it to regex. \t I think for tab? oMessage.Body = ReplaceText(oMessage.Body, "(WARNING)[/s/S]*(EndOfWarning\t)","") Sorry, forgot to include this sub that forms part of my Eventhandler.vbs F...
by mattg
2020-02-02 02:06
Forum: General discussions
Topic: Add warning to emails
Replies: 35
Views: 13484

Re: Add warning to emails

jimimaseye wrote:
2020-01-31 14:10
replace(oMessage.Body,txtMsg,"")

to remove the warning should work, no?
Yes possibly.

I was hoping to NOT rely on duplicating the same full text, and allowing the warning text to be dynamic.
by mattg
2020-02-01 00:37
Forum: General discussions
Topic: Empty files in data folder
Replies: 7
Views: 3975

Re: Empty files in data folder

Have you excluded the data directory from AV scanning?
by mattg
2020-01-31 02:43
Forum: General discussions
Topic: Add warning to emails
Replies: 35
Views: 13484

Re: Add warning to emails

follow up on this I'd like to REMOVE the warnings automatically as a reply or forward is sent out so that others don't see this warning, only local users I'm still playing, but this would be called from a global rule (currently only my SPAM address) Sub ExtSourceSPAM(oMessage) 'custom event 'uses fu...
by mattg
2020-01-30 05:47
Forum: General discussions
Topic: How do I test existing domain used for mail already?
Replies: 1
Views: 2403

Re: How do I test existing domain used for mail already?

What other tests did you want to do?

you could connect with a local mail client using IP address in server settings in the mail client
by mattg
2020-01-30 01:45
Forum: General discussions
Topic: Error from DBUpdate.exe
Replies: 7
Views: 3815

Re: Error from DBUpdate.exe

Definitely need to go to latest 5.4, then latest 5.5, then latest

There was massive changes around v5.5
by mattg
2020-01-29 05:45
Forum: General discussions
Topic: Change to other account
Replies: 7
Views: 4045

Re: Change to other account

It is Blowfish encrypted


./bin/DBSetupQuick.exe is probably easiest way to enter new username and password
by mattg
2020-01-29 05:12
Forum: General discussions
Topic: Change to other account
Replies: 7
Views: 4045

Re: Change to other account

You want to change your SQL server connection account?

Create a new user in SQL using SQL Server Management Studio or similar, AND then change the hmailserver.ini to reflect the change
by mattg
2020-01-29 04:48
Forum: General discussions
Topic: URL send to SURBL
Replies: 24
Views: 9037

Re: URL send to SURBL

I have a government newsletter sent to me yesterday

@ RvdH, I'll PM you both the log, plus the source of the email

I'm using 5.7.0-B2497 (x64) = absolute bleeding edge
by mattg
2020-01-29 00:51
Forum: General discussions
Topic: Automatically CC mail a user sends to a different address
Replies: 2
Views: 2468

Re: Automatically CC mail a user sends to a different address

Global rules will catch messages sent FROM users, or you can simply use the mirror feature to catch ALL messages

Be careful though, this is illegal in many jurisdictions. Please check local laws
by mattg
2020-01-28 17:56
Forum: General discussions
Topic: test onbound port
Replies: 36
Views: 11463

Re: test onbound port

blackjack wrote:
2020-01-28 16:25
he said: search how to open 25 port manually
Good luck with that

They block port 25 for a very good reason
(so you don't send spam)
by mattg
2020-01-28 17:52
Forum: General discussions
Topic: Forward mails to a specific mail address to an external account
Replies: 4
Views: 2988

Re: Forward mails to a specific mail address to an external account

Create an SMTP relay for mydomain.com and point to the ISP's server
by mattg
2020-01-28 09:26
Forum: General discussions
Topic: Each time I restart my computer I need to re-establish a database connection
Replies: 6
Views: 3720

Re: Each time I restart my computer I need to re-establish a database connection

Because the connection fails first time

Set hmailserver service to depend on the MySQL service running first
This is done in Windows Services
by mattg
2020-01-28 03:48
Forum: General discussions
Topic: Each time I restart my computer I need to re-establish a database connection
Replies: 6
Views: 3720

Re: Each time I restart my computer I need to re-establish a database connection

Check your hmailserver windows service and see if the database service starting first is a pre-requisite

it should be
by mattg
2020-01-28 03:10
Forum: General discussions
Topic: Error in Log file
Replies: 5
Views: 3315

Re: Error in Log file

Assuming that you have no data that you wish to keep

Uninstall hMailserver
Delete hmailserver folder and all subfolders, especially the hmailserver.ini

Reinstall hmailserver
by mattg
2020-01-28 02:00
Forum: General discussions
Topic: hmailserver on windows 10
Replies: 11
Views: 3365

Re: hmailserver on windows 10

Once fixed test by doing some open relay tests, OR repost the updated settings

https://www.hmailserver.com/documentati ... elay_tests
by mattg
2020-01-28 01:39
Forum: General discussions
Topic: Emails being received but not sent out
Replies: 5
Views: 2676

Re: Emails being received but not sent out

rianabrams wrote:
2020-01-23 12:10
This issue resolved itself after a few days.
That certainly makes this look like antivirus had quarantined the DKIM signature file or that this was per Windows permissions based
by mattg
2020-01-28 01:20
Forum: General discussions
Topic: URL send to SURBL
Replies: 24
Views: 9037

Re: URL send to SURBL

I noticed some with square braces too

]


hMailserver should remove all braces / brackets before sending to SURBL testing
by mattg
2020-01-22 21:15
Forum: General discussions
Topic: Changing Database User and Password
Replies: 4
Views: 2086

Re: Changing Database User and Password

The database type, location, username, and password is set in the hMailserver.ini The installer does ask if you want to use the builtin database or an external one, for NEW installs Once installed, subsequent installations will not ask, and assume that you want to use the existing database credentia...
by mattg
2020-01-22 21:08
Forum: General discussions
Topic: Problem with italian PEC
Replies: 6
Views: 2523

Re: Problem with italian PEC

not been certified for the following error: the digital signature of the message is not reliable That is the same message you would get if I used a self signed certificate. I think that this error is saying that the issuer of the certificate used to digitally sign the emails is 'not trusted' by you...
by mattg
2020-01-22 12:30
Forum: General discussions
Topic: hmailserver on windows 10
Replies: 11
Views: 3365

Re: hmailserver on windows 10

Yes hmailserver works on Windows 10

Run this and post the results please
viewtopic.php?f=20&t=30914
by mattg
2020-01-22 12:29
Forum: User-submitted tutorials
Topic: Step by step LetsEncrypt WinSimple
Replies: 65
Views: 51433

Re: Step by step LetsEncrypt WinSimple

Great thing about Letsencrypt is their level of trust in web browsers
by mattg
2020-01-22 12:27
Forum: General discussions
Topic: hmailserver only retrieving emails of one account
Replies: 4
Views: 1958

Re: hmailserver only retrieving emails of one account

Dravion wrote:
2019-12-28 06:29
Maybe you should contact strato support and ask them why some message are periodically not ready for receiving (pop3 download) .
by mattg
2020-01-22 12:26
Forum: General discussions
Topic: Problem with italian PEC
Replies: 6
Views: 2523

Re: Problem with italian PEC

That's like due to the supplier of the certificates not being an 'approved' supplier of SSL certs

The list of acceptable issuers changes a bit
by mattg
2020-01-21 00:31
Forum: User contributed hMailServer 5 scripts
Topic: Reject on Spamhaus DBL
Replies: 13
Views: 5113

Re: Reject on Spamhaus DBL

I'm looking into using Spamhaus DBL, but if I'm reading correctly, it requires a modified hMailServer plus some scripts. I'm not sure I'm up to building a "custom" hMailServer. I simply use dbl.spamhaus.org as a SURBL server in hMailserver and score accordingly This is the logged output "DEBUG" 201...
by mattg
2020-01-21 00:06
Forum: General discussions
Topic: hmail cant send mails
Replies: 22
Views: 4965

Re: hmail cant send mails

And to follow up Direct manipulation of the database is NOT supported In saying that, this script (UNTESTED!!) should work Option Explicit Private const g_sAdminPassword = "TopSecretPassword" Dim oApp, i Set oApp = CreateObject("hMailServer.Application") For i = 0 To oApp.Settings.SecurityRanges.Cou...
by mattg
2020-01-20 14:58
Forum: General discussions
Topic: Reject E-mail without header from not present
Replies: 1
Views: 1304

Re: Reject E-mail without header from not present

Global rule should find them
(look for header value, don't use the FROM as this is the SMTP Envelope FROM)

Then delete them (as opposed to reject them)
by mattg
2020-01-20 08:05
Forum: General discussions
Topic: hmail cant send mails
Replies: 22
Views: 4965

Re: hmail cant send mails

My guess is that azure opened the port for traffic involving the one domain
Ask them to allow all domains

If that doesn't work
Run this and post the result >> viewtopic.php?f=20&t=30914
by mattg
2020-01-19 23:07
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 140
Views: 88066

Re: hMailServer 5.7

Works for me Among other things I have this in OnError Call CustomMonthlyLog("OnError :- " & iSeverity & " " & iCode & " " & sSource & " " & sDescription, "Events2") And I get these type of entries in that log 2020-01-16 13:21:32.390 OnError :- 3 5406 ClamAVVirusScanner::Scan Unable to connect to Cl...
by mattg
2020-01-19 15:35
Forum: General discussions
Topic: Hmail server encrypted connection, does not work
Replies: 4
Views: 1699

Re: Hmail server encrypted connection, does not work

You have errors in your error log

Please show the contents of C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2020-01-19.log
by mattg
2020-01-19 05:41
Forum: Scripting
Topic: Session number as object?
Replies: 15
Views: 4407

Re: Session number as object?

SorenR wrote:
2020-01-19 01:17
Yes but it only exist in oMessage AFTER the message is received.
I use oMessage.id to create a unique file name when saving attachments (after the message has been accepted)
by mattg
2020-01-19 00:56
Forum: Scripting
Topic: Session number as object?
Replies: 15
Views: 4407

Re: Session number as object?

palinka wrote:
2020-01-18 21:27
What I mean is, I need a unique identifier.
oMessage.id is unique

https://www.hmailserver.com/documentati ... ct_message
by mattg
2020-01-19 00:49
Forum: General discussions
Topic: Adding rejected IP's by DNS Blacklists to IpRanges or Firewall
Replies: 5
Views: 1625

Re: Adding rejected IP's by DNS Blacklists to IpRanges or Firewall

You can run this and post the results, then someone here can look over your setup

viewtopic.php?f=20&t=30914
by mattg
2020-01-18 16:38
Forum: General discussions
Topic: Server sending SPAM Mails
Replies: 32
Views: 4160

Re: Server sending SPAM Mails

Perhaps add

192.168.200.1 to incoming relays
by mattg
2020-01-18 12:03
Forum: General discussions
Topic: Server sending SPAM Mails
Replies: 32
Views: 4160

Re: Server sending SPAM Mails

You definitely have something set with an incorrect password on server 192.168.200.1

Either something that forwards (ie IIS SMTP) or a script that has the wrong credentials saved
Does that server 192.168.200.1 have webmail installed on it?
by mattg
2020-01-18 08:36
Forum: General discussions
Topic: Server sending SPAM Mails
Replies: 32
Views: 4160

Re: Server sending SPAM Mails

What are you hoping will be achieved by adding an SSL cert
Most people think it does something completely different than if actually does
by mattg
2020-01-18 08:26
Forum: General discussions
Topic: Server sending SPAM Mails
Replies: 32
Views: 4160

Re: Server sending SPAM Mails

Then create an IP range JUST for that IP address With that IP as the from and to IP s Allow local to local WITH AUTH Allow local to remote WITH AUTH Allow remote to local WITHOUT AUTH Don't allow remote to remote Enable all other protocos / switches except the require SSL/TLS for AUTH - leave that o...
by mattg
2020-01-18 08:12
Forum: General discussions
Topic: Server sending SPAM Mails
Replies: 32
Views: 4160

Re: Server sending SPAM Mails

I honestly have no idea what you are trying to do


Which IP range was affected by the autoban?
by mattg
2020-01-18 02:52
Forum: Feature requests
Topic: Copy to imap folder
Replies: 6
Views: 2173

Re: Copy to imap folder

I don't understand this bit... but I would have preferred to have one public folder per user Can you please explain that bit in more detail with "move to imap folder" i can move the email to only one user (only one public folder, as every user has one) Can't multiple accounts access the same #publi...
by mattg
2020-01-17 13:23
Forum: General discussions
Topic: WIn Server 2012 R2 Updates causing hMailServer to go 100% CPU
Replies: 99
Views: 19879

Re: WIn Server 2012 R2 Updates causing hMailServer to go 100% CPU

I block AUTH on port 25 I have a script that parses the log file every 5 minutes from a scheduled task, and finds the IP address in the log entries that show 'SENT: 504 Authentication not enabled.' and then I autoban them from the script. You could do something similar if there is enough detail in t...
by mattg
2020-01-17 12:11
Forum: General discussions
Topic: Server sending SPAM Mails
Replies: 32
Views: 4160

Re: Server sending SPAM Mails

Have you found what was causing the Autoban from your local IP?
by mattg
2020-01-17 11:26
Forum: Off-topic discussions
Topic: Thunderbird now supports TLSv1.3
Replies: 0
Views: 9479

Thunderbird now supports TLSv1.3

My Thuinderbird updated tonight, and I noticed that all of my connections are now in TLSv1.3

Still waiting on Microsoft to join the party....
by mattg
2020-01-17 09:09
Forum: General discussions
Topic: Non-existent accounts sending emails
Replies: 6
Views: 1564

Re: Non-existent accounts sending emails

You have a heap of these in your error log "ERROR" 776 "2020-01-16 16:56:05.790" "Severity: 3 (Medium), Code: HM4403, Source: Message::GetHeader, Description: Could not read the message header, since the file was not available. File: C:\Program Files (x86)\hMailServer\Data\peaXXXXX.co.za\Donald\CE\{...
by mattg
2020-01-17 08:59
Forum: General discussions
Topic: Server sending SPAM Mails
Replies: 32
Views: 4160

Re: Server sending SPAM Mails

Is your error log still the DKIM entries, or ...? For DNSBL Entries what should I do to correct it DNSBL ENTRIES: zen.spamhaus.org Score: 6 Result: 127.0.0.* bl.spamcop.net Score: 4 Result: 127.0.0.* dnsbl.sorbes.net Score: 2 Result: 127.0.0.* psbl.surriel.com Score: 6 Result: 127.0.0.* virbl.dnsbl....
by mattg
2020-01-17 01:37
Forum: General discussions
Topic: AsynchronousTask Errors
Replies: 8
Views: 1658

Re: AsynchronousTask Errors

BUt are the routes set to use port 26?
by mattg
2020-01-16 23:58
Forum: General discussions
Topic: AsynchronousTask Errors
Replies: 8
Views: 1658

Re: AsynchronousTask Errors

Are all of the addresses that loop covered by the SMTP routes?

SMTP routes look broken (or at least not necessary as they are repeating the SMTP Relayer detail - if the port is set correctly)
by mattg
2020-01-16 23:52
Forum: General discussions
Topic: Server sending SPAM Mails
Replies: 32
Views: 4160

Re: Server sending SPAM Mails

Your DNSBL are all still broken

Your error log contaions entores
please show the contents of
d:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2020-01-16.log
(This is probably still related to your DKIM signing)
by mattg
2020-01-16 23:48
Forum: General discussions
Topic: Non-existent accounts sending emails
Replies: 6
Views: 1564

Re: Non-existent accounts sending emails

You have a default domain set - this is the likely cause of the random emails

ALSO, your error log has entires, can you please show the contents of
C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2020-01-16.log
by mattg
2020-01-15 23:26
Forum: Feature requests
Topic: Add Domain\Country Restrictions in user account like MDaemon.
Replies: 4
Views: 1619

Re: Add Domain\Country Restrictions in user account like MDaemon.

OR

use zz.countries.nerd.dk as a DNSBL and score appropriately if you want to use GeoLocation data, rather than rely on domain naming conventions
by mattg
2020-01-15 23:22
Forum: Feature requests
Topic: Copy to imap folder
Replies: 6
Views: 2173

Re: Copy to imap folder

I don't understand this bit...
Conzi wrote:
2020-01-15 16:55
but I would have preferred to have one public folder per user
Can you please explain that bit in more detail
by mattg
2020-01-15 09:13
Forum: General discussions
Topic: Clients Can't Connect
Replies: 32
Views: 7091

Re: Clients Can't Connect

Dravion wrote:
2020-01-15 08:52
To make it easy for you
reset_iprange.png
Nope
That image is TCP/IP settings

I want the default button for IP ranges pressed
by mattg
2020-01-15 08:25
Forum: General discussions
Topic: Clients Can't Connect
Replies: 32
Views: 7091

Re: Clients Can't Connect

In your IP ranges, you have created a LAN range 0.0.0.0 to 255.255.255.255 with priority 20 This is the INTERNET range of IP addresses and will override any other IP ranges On the IP Ranges page in hMailserver push the 'default' button which will set MY COmputer and Internet Make sure that the 'My c...
by mattg
2020-01-14 23:20
Forum: General discussions
Topic: Clients Can't Connect
Replies: 32
Views: 7091

Re: Clients Can't Connect

The error I got when I changed the SMTP port in Vault to "110" is attached below. Port 110 is standard POP3 port You still have it set as pop3 in hMailserver TCPIP PORTS Connection Sec 0.0.0.0 / 25 / SMTP - None 0.0.0.0 / 110 / POP3 - None 0.0.0.0 / 143 / IMAP - None 0.0.0.0 / 587 / SMTP - None Ass...
by mattg
2020-01-14 17:11
Forum: Scripting
Topic: Invoking AutoBan from script
Replies: 3
Views: 1871

Re: Invoking AutoBan from script

Similar story
https://www.hmailserver.com/forum/viewt ... =EHLO+user

One of many types of fixes >> https://www.hmailserver.com/forum/viewt ... er#p208091

May require a newer build of hMailserver though to get OnHelo sub
by mattg
2020-01-14 16:59
Forum: General discussions
Topic: Send Only Account
Replies: 1
Views: 850

Re: Send Only Account

You can send FROM whoever you like

You can authenticate with one account and send from another
This is done with a mail client

*** Mail sent from a fake sender is likely to be seen as spam at the recipient end
by mattg
2020-01-14 15:43
Forum: General discussions
Topic: Clients Can't Connect
Replies: 32
Views: 7091

Re: Clients Can't Connect

Next time please paste the text from the log, rather than screen shots

In the IP range that covers 192.168.125.208 you have the checkbox 'require SSL/TLS for authentication' checked

please untick that and try again
by mattg
2020-01-13 23:56
Forum: General discussions
Topic: Clients Can't Connect
Replies: 32
Views: 7091

Re: Clients Can't Connect

You certainly can't have two server software listening on the same port If your IIS only listens on port 25 (default setup) then yes, you should uninstall it No need to reinstall hmailsevrer, but you should restart it I'm not sure though if that is your problem. If it was, hMailserver would give an ...