Search found 21972 matches

by mattg
2022-08-08 10:43
Forum: General discussions
Topic: Some email bypass spamasssassin
Replies: 74
Views: 1064

Re: Some email bypass spamasssassin

i actually think it is a time out, in that Spamassassin takes too long for hMailserver to wait

I do have these in my hmailserver.ini (Bill's ini settings), but they don't seem to do much

Code: Select all

SAMinTimeout=1500
; 30 seconds is default

SAMaxTimeout=2400
; 90 seconds is default
by mattg
2022-08-07 00:59
Forum: General discussions
Topic: Can't send and receive mail
Replies: 31
Views: 351

Re: Can't send and receive mail

The reason that you couldn't log in was probably that your server was dealing with the 1.2 million messages, that you allowed by changing the IP ranges incorrectly.

The reason that mail can't be sent is likely because you are blacklisted after allowing an open relay.
Check your logs.
by mattg
2022-08-06 02:53
Forum: General discussions
Topic: Blocklist Tester (BLT)
Replies: 11
Views: 237

Re: Blocklist Tester (BLT)

Antivirus: ClamAV on it's own is pretty useless I use it inside SpamAssassin with the SaneSecurity definitions I don't have any AntiVirus scanning going through hMailserver If I was going to use one I would use a purchased one (as opposed to a free one) Autoban: I only autoban for 7 days My Autoban...
by mattg
2022-08-06 02:27
Forum: General discussions
Topic: Can't send and receive mail
Replies: 31
Views: 351

Re: Can't send and receive mail

I have indeed operated it. As shown in the figure, the lower IP in my computer was 0.0.0.0, and the upper IP was 255.255.255.255. After clicking to restore the default, it changed to 127.0.0.1 and 127.0.0.1. However, the IP and account that disappeared soon will return, but the added account does n...
by mattg
2022-08-05 09:05
Forum: General discussions
Topic: Gray listing: Failed if sender use different IP's
Replies: 38
Views: 842

Re: Gray listing: Failed if sender use different IP's

The thing I find very useful is using clamAV inside Spamassassin and using the Sanesecurity definitions
by mattg
2022-08-05 06:08
Forum: General discussions
Topic: Can't send and receive mail
Replies: 31
Views: 351

Re: Can't send and receive mail

singlemans wrote:
2022-08-05 05:19
mattg wrote:
2022-08-05 05:03
PRESS THIS

Screenshot 2022-08-05 130221.png
I have already done this
NO YOU HAVEN'T

PRESS IT NOW
You are an open relay

And if you can't do that, please UNPLUG your computer and remove hamilserver as a program, before connecting to the internet again
by mattg
2022-08-05 05:03
Forum: General discussions
Topic: Can't send and receive mail
Replies: 31
Views: 351

Re: Can't send and receive mail

PRESS THIS
Screenshot 2022-08-05 130221.png
by mattg
2022-08-05 03:44
Forum: General discussions
Topic: Can't send and receive mail
Replies: 31
Views: 351

Re: Can't send and receive mail

What is the contents of this file D:\hMailServer\Logs\ERROR_hmailserver_2022-08-05.log For the IP range, press Default,if you don't understand how it works. You have broken your IP ranges (confirmed in your diagnostic report) and you are allowing spammers to use your system without Authentication Yo...
by mattg
2022-08-04 09:20
Forum: General discussions
Topic: Can't send and receive mail
Replies: 31
Views: 351

Re: Can't send and receive mail

Please run this and post the results
https://www.hmailserver.com/forum/viewt ... 20&t=30914

(Autoban entries means that Autoban is working)
by mattg
2022-08-03 03:24
Forum: General discussions
Topic: Blocklist Tester (BLT)
Replies: 11
Views: 237

Re: Blocklist Tester (BLT)

What is the contents of the file "E:\HMAIL\Logs\ERROR_hmailserver_2022-08-01.log" That looks a good setup, although 9410 autoban entries is high. How long do you leave an autoban entry for? ALSO fix the problem on 192.168.0.1 Does your log show SpamAssassin to be working, or does it time out? What D...
by mattg
2022-08-02 04:28
Forum: General discussions
Topic: Blocklist Tester (BLT)
Replies: 11
Views: 237

Re: Blocklist Tester (BLT)

Run this and post the results please
https://www.hmailserver.com/forum/viewt ... 20&t=30914
by mattg
2022-08-02 04:19
Forum: General discussions
Topic: Twin attacks; an older unanswered Q
Replies: 25
Views: 409

Re: Twin attacks; an older unanswered Q

The config does say that SSMTP over 465 is depreciated Maybe, but many do so and ignore that. I know much freemailer they use 465 also in the future. Ports and encryption are also two pair of shoes. You can use every encryption over every Port. It doesn't matter witch port is used if sender and MX ...
by mattg
2022-08-01 11:05
Forum: General discussions
Topic: Twin attacks; an older unanswered Q
Replies: 25
Views: 409

Re: Twin attacks; an older unanswered Q

The config does say that SSMTP over 465 is depreciated
by mattg
2022-08-01 08:26
Forum: General discussions
Topic: Twin attacks; an older unanswered Q
Replies: 25
Views: 409

Re: Twin attacks; an older unanswered Q

Do you have a certificate installed in HMailserver? If so, self signed or other? If other, where from? Here is the relevant part of my RC config (I have a lets encrypt certificate installed in hMailserver) // SMTP server host (for sending mails). // Enter hostname with prefix tls:// to use STARTTLS,...
by mattg
2022-08-01 03:09
Forum: General discussions
Topic: Blocklist Tester (BLT)
Replies: 11
Views: 237

Re: Blocklist Tester (BLT)

...have utilized the Blocklist Tester (BLT). Are you familiar with this? My email server has failed that test. Never heard of it Went looking and found this https://blt.spamhaus.com/ Assumed that is what you are using to test About my system:- * I use hmailserver's built in spam scoring plus a cust...
by mattg
2022-08-01 02:21
Forum: General discussions
Topic: Can't get it to work
Replies: 21
Views: 302

Re: Can't get it to work

If not working, please run the internal diagnostics - that will test your port 25 outgoing

ALSO, remove the 'Bind To' and leave it blank
by mattg
2022-07-31 02:46
Forum: General discussions
Topic: Data Directory Not Being Cleared
Replies: 27
Views: 507

Re: Data Directory Not Being Cleared

My two bits. Connect with a webmail client (using IMAP) to all accounts, and remove the mail that you want and then 'compress' folders. This will save you contacting each account holder on your system, except perhaps to reset passwords With IMAP Mail when deleted is usually only marked as being dele...
by mattg
2022-07-31 02:36
Forum: General discussions
Topic: Twin attacks; an older unanswered Q
Replies: 25
Views: 409

Re: Twin attacks; an older unanswered Q

AND I will guarantee that these same bots are trying IMAP and POP3 account and password combinations too, as well as ports other than 25 These are just harder to track down Many of us restrict port 25 from AUTH, and make all of the mail clients that use our systems to use ports 587 or 465 (typically...
by mattg
2022-07-27 01:22
Forum: General discussions
Topic: Spamassassin scoring issue
Replies: 4
Views: 157

Re: Spamassassin scoring issue

johnyu2012 wrote:
2022-07-26 15:01
* 0.0 SPF_HELO_FAIL SPF: HELO does not match SPF record (fail)
That still shows a 0.0 score

Look for the rule with that EXACT name, and change the score
by mattg
2022-07-26 09:41
Forum: General discussions
Topic: The security of forwarding
Replies: 4
Views: 156

Re: The security of forwarding

Encryption means many things Connection security, the security of a connection between mail servers, or the connection between a mail client and a mail server, is controlled by the receiving server's certificate and protocols. If you forward mail to Protonmail, or if you connect via POP3 to (externa...
by mattg
2022-07-26 04:46
Forum: General discussions
Topic: The security of forwarding
Replies: 4
Views: 156

Re: The security of forwarding

upsidedown wrote:
2022-07-26 03:49
What's the security the app uses when sending emails to protonmail?
That depends entirely on what Protonmail do (assuming that you have the default 'Use StartTLS where available' in the SMTP sendng settings)
by mattg
2022-07-25 23:57
Forum: General discussions
Topic: Basic Authentication Turnoff – Microsoft 365
Replies: 5
Views: 209

Re: Basic Authentication Turnoff – Microsoft 365

Yes, you will need to enable Two Factor AUTH at Microsoft and get an APP password, that you use for hMailserver for external downloads
by mattg
2022-07-21 00:16
Forum: Scripting
Topic: Issue when adding an image with Content-Disposition inline
Replies: 4
Views: 243

Re: Issue when adding an image with Content-Disposition inline

I think OnDeliveryStart is too late to impact the message, as it is already being delivered at that point

Perhaps try OnAcceptMessage to modify the message
by mattg
2022-07-20 10:00
Forum: General discussions
Topic: Gray listing: Failed if sender use different IP's
Replies: 38
Views: 842

Re: Gray listing: Failed if sender use different IP's

You can bypass greylist on a SPF match - but that also is problematic

A SPF record that ends in +all will pass ANY IP address
A SPF record that ends in ~all will pass hMailserver's SPF tests
by mattg
2022-07-20 00:34
Forum: Off-topic discussions
Topic: POST YOUR hMailServer INSTALL DATE
Replies: 5
Views: 368

Re: POST YOUR hMailServer INSTALL DATE

Screenshot 2022-07-20 083120.png
My current VM (not the first)
This VM has moved host servers a couple of times I reckon.

My first hMailserver was around 2005
by mattg
2022-07-20 00:16
Forum: General discussions
Topic: hMailServer.exe doing http
Replies: 18
Views: 504

Re: hMailServer.exe doing http

When I run Netstat -b -f I get entries like this TCP 192.168.0.150:993 xxx.xxx.xxx.xxx:53783 ESTABLISHED [hMailServer.exe] Always, the name of the exe is BELOW the connection Looking at your screen shots, it looks to me like your http are BELOW the last hmailserver.exe mention Have I missed something?
by mattg
2022-07-19 05:58
Forum: General discussions
Topic: hMailServer.exe doing http
Replies: 18
Views: 504

Re: hMailServer.exe doing http

I doubt very much that hMailserver does anything via HTTP

How did you 'see' this?
by mattg
2022-07-19 05:57
Forum: General discussions
Topic: ROUTEing, DKIM and sending SMTP messages on to their MXs
Replies: 21
Views: 610

Re: ROUTEing, DKIM and sending SMTP messages on to their MXs

The ONLY reason I had to add the domain was because it's the only way that I have found to tie my DKIM keys/processing to the outbound emails. I only want DKIM processing because some email goes to domains outside my control and everyone's servers are getting more picky about spam processing. There...
by mattg
2022-07-19 01:34
Forum: General discussions
Topic: ROUTEing, DKIM and sending SMTP messages on to their MXs
Replies: 21
Views: 610

Re: ROUTEing, DKIM and sending SMTP messages on to their MXs

Debug logging appeared with the version upgrade That quite inaccurate. Debug logging has been there at least for 20 years of my use of this product SMTPC logging is not application logging SMTPC logging occurs on it's own, as does SMTPD log lines So...the issues were: Failure to understand that the...
by mattg
2022-07-18 04:29
Forum: Scripting
Topic: Processing Mails with API, order of mails?
Replies: 4
Views: 234

Re: Processing Mails with API, order of mails?

Most mail has a message header called 'Date', all mail received by Hmailserver will have a 'Received by' header that includes your hMailserver Local host name, plus the date I'd probably use one or the other of them, and I would probably create one array in the order that I need, and redo that after...
by mattg
2022-07-18 00:55
Forum: Scripting
Topic: Processing Mails with API, order of mails?
Replies: 4
Views: 234

Re: Processing Mails with API, order of mails?

You may find that when you move a message from that group that the indexing will change, and needs to be reset

Depends on what you do with oMsg, but I would expect that the newest message has the highest index
Can you test by writing to a log file?
by mattg
2022-07-17 23:46
Forum: General discussions
Topic: help IPRanges, SSLCerts, TCP/IP ports all gone
Replies: 23
Views: 595

Re: help IPRanges, SSLCerts, TCP/IP ports all gone

Something else that may have impacted this is windows permissions on the hMailserver.sdf, and the user that the hMailserver SERVICE runs under. ALSO, an uninstall won't remove the data directory When you get hMailserver running with a real database, try using the Data Directory Synchroniser, it shou...
by mattg
2022-07-16 08:19
Forum: General discussions
Topic: help IPRanges, SSLCerts, TCP/IP ports all gone
Replies: 23
Views: 595

Re: help IPRanges, SSLCerts, TCP/IP ports all gone

Check your windows services, make sure that the CE Database is running
by mattg
2022-07-16 08:18
Forum: General discussions
Topic: Can received emails but can not send
Replies: 5
Views: 222

Re: Can received emails but can not send

My guess is that you have an SMTP forwarder set up, and that the password for that account has changed

Possible gMail as the forwarder, no longer doing basic AUTH
by mattg
2022-07-16 03:59
Forum: General discussions
Topic: help IPRanges, SSLCerts, TCP/IP ports all gone
Replies: 23
Views: 595

Re: help IPRanges, SSLCerts, TCP/IP ports all gone

Restart the machine with hMailserver installed, and see if that fixes the issue

I'm guessing that your database has stopped working
by mattg
2022-07-16 03:58
Forum: General discussions
Topic: ROUTEing, DKIM and sending SMTP messages on to their MXs
Replies: 21
Views: 610

Re: ROUTEing, DKIM and sending SMTP messages on to their MXs

Then I guess the next thing is allow SMTP on the Internet IP range
by mattg
2022-07-16 02:21
Forum: General discussions
Topic: ROUTEing, DKIM and sending SMTP messages on to their MXs
Replies: 21
Views: 610

Re: ROUTEing, DKIM and sending SMTP messages on to their MXs

With your route, do you have a 'Target SMTP host' or a TCP/IP port or 'connection security' set

That didn't show on your diagnostics report, so I am unsure if you removed that from the report, or if the information just isn't there.
by mattg
2022-07-15 11:19
Forum: General discussions
Topic: Suddenly no mails go out
Replies: 11
Views: 261

Re: Suddenly no mails go out

Your SMTP >> advanced >> bind to local IP address SHOULD BE blank
by mattg
2022-07-15 06:38
Forum: General discussions
Topic: Suddenly no mails go out
Replies: 11
Views: 261

Re: Suddenly no mails go out

no switch

Please run this and post the results
https://www.hmailserver.com/forum/viewt ... 20&t=30914
by mattg
2022-07-15 06:37
Forum: General discussions
Topic: ROUTEing, DKIM and sending SMTP messages on to their MXs
Replies: 21
Views: 610

Re: ROUTEing, DKIM and sending SMTP messages on to their MXs

Try restarting your hMailserver


Not usually needed...
Next is to right click the delivery queue (assuming email is in delivery queue) and 'send now'
by mattg
2022-07-15 05:03
Forum: General discussions
Topic: ROUTEing, DKIM and sending SMTP messages on to their MXs
Replies: 21
Views: 610

Re: ROUTEing, DKIM and sending SMTP messages on to their MXs

Add A SMTP route to where the 'real' domain is hosted (ie gMail.com' in your case)
by mattg
2022-07-15 05:02
Forum: General discussions
Topic: Suddenly no mails go out
Replies: 11
Views: 261

Re: Suddenly no mails go out

SMTPD is where a mail client is connecting to your server, wanting to connect

SMTPC is mail going from your server to another server


Normally when we see these type of errors, it is caused by Antivirus, or some other 'mail inspection' type software / device
by mattg
2022-07-13 10:54
Forum: General discussions
Topic: DKIM Not Validating on All Domains but Worked 3 Months Ago
Replies: 12
Views: 387

Re: DKIM Not Validating on All Domains but Worked 3 Months Ago

Gmail says I'm valid https://dkimvalidator.com says my DKIM is fine https://www.mail-tester.com/ says my DKIM is fine (as does the spamAssassin there) I'm also using the 5.7.0-B2594 ALPHA version on my live server The only fail I get is when I send an email to mxtoolbox Even the mxtoolbox supertool ...
by mattg
2022-07-13 03:58
Forum: General discussions
Topic: DKIM Not Validating on All Domains but Worked 3 Months Ago
Replies: 12
Views: 387

Re: DKIM Not Validating on All Domains but Worked 3 Months Ago

Why do you think this is a DKIM validating issue?

Send an email to a gmail account that you control, and inspect that message
by mattg
2022-07-11 05:22
Forum: General discussions
Topic: Separate Log file for bounced or rejected emails with reason
Replies: 17
Views: 555

Re: Separate Log file for bounced or rejected emails with reason

errors are logged to a separate log file automatically

You can also add any custom logging that you want writting teh file in VBS, and there is the built-in 'events' log that you write to like this

Code: Select all

eventlog.write("some text")
by mattg
2022-07-07 13:16
Forum: General discussions
Topic: Pausing SMTP delivery for external domain?
Replies: 4
Views: 355

Re: Pausing SMTP delivery for external domain?

tbote wrote:
2022-07-06 20:19
3) I want to send a message with to:email@mydomain.com and cc:email@gmail.com
4) I want to receive the copy of the message in mydomain.com but don't want to delivery the copy to emai@gmail.com
I do find this to be quite an unusual combination
I do hope that no laws are being broken
by mattg
2022-07-04 00:35
Forum: General discussions
Topic: Can't send mails from HmailServer
Replies: 59
Views: 1390

Re: Can't send mails from HmailServer

That is NOT what you were asked to do
johang wrote:
2022-07-03 20:57
ONLY add SMTP and TCPIP to logging... then send a mail to your gmail account.. and then to your yahoo account then post log again...
and post diagnostics
and go HERE viewtopic.php?f=20&t=30914 and follow instructions.. POST result here
by mattg
2022-07-02 23:06
Forum: General discussions
Topic: Moving database to another server
Replies: 5
Views: 365

Re: Moving database to another server

Depends on the version of hMailserver in use

What is the size of your data directory?
by mattg
2022-07-02 10:31
Forum: General discussions
Topic: Moving database to another server
Replies: 5
Views: 365

Re: Moving database to another server

I'd also look at using the built-in backup and restore built into the GUI

Remember that the messages are NOT stored in the database, the database only contains the data about the messages
by mattg
2022-06-26 02:14
Forum: Off-topic discussions
Topic: Meshcentral
Replies: 2
Views: 287

Re: Meshcentral

I use it and I love it Antivirus doesn't, especially Avast I've been using MeshCentral for over a year, perhaps two. I host my own Mesh server I frequently use it as a VPN, giving clients access to a single machine Making the clients use 2FA to access the Mesh server Also brilliant for remote access...
by mattg
2022-06-25 01:17
Forum: General discussions
Topic: Synchronising 2 hMailservers
Replies: 6
Views: 384

Re: Synchronising 2 hMailservers

Have you thought about using SQL Replication?
https://dev.mysql.com/doc/refman/8.0/en ... ation.html
by mattg
2022-06-24 10:37
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 359
Views: 456190

Re: Sub OnHELO(oClient) progress?

Also account rules are only for incoming mail to THAT account
by mattg
2022-06-24 10:35
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 359
Views: 456190

Re: Sub OnHELO(oClient) progress?

Yes, same version I move to a Shared folder Which folder are you moving to? "DEBUG" 15144 "2022-06-24 04:05:12.311" "Executing event OnDeliverMessage" "DEBUG" 15144 "2022-06-24 04:05:12.311" "Event completed" "DEBUG" 15144 "2022-06-24 04:05:12.311" "Performing local delivery" "DEBUG" 15144 "2022-06-...
by mattg
2022-06-24 09:30
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 359
Views: 456190

Re: Sub OnHELO(oClient) progress?

#1 Account rules work for me in 5.7
Please show your rule

#2 RvDH builds are only for the 5.6.X versions I think, not for the 5.7 Versions
Most of the changes are already implemented in 5.7
by mattg
2022-06-23 00:24
Forum: Scripting
Topic: Change body of mail before sending
Replies: 10
Views: 858

Re: Change body of mail before sending

and is it 'AppendBody' or 'AppendBodyPayroll'?

if jimimaseye's fix doesn't solve, please show the ten or so lines of your eventhandlers VBS on each side of line 396, with line numbering please
by mattg
2022-06-22 11:40
Forum: Scripting
Topic: Change body of mail before sending
Replies: 10
Views: 858

Re: Change body of mail before sending

WOW, lots of IP ranges there

Those with priority of 0 are useless, as the internet range at priority 10 will override

What is the contents of this file
C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2022-06-22.log