An wondering if this has now got something to with it.
This comes up when i hit start in the Hmail Diagnostics screen.
Was fine with all green.
An wondering if this has now got something to with it.
jimimaseye wrote: ↑2023-03-16 23:55Check your autoban entries. Delete the ip address that relates to your pc.
What would help now is to get a complete view of setup so far. Run this and post the results: viewtopic.php?f=20&t=30914
[Entered by mobile. Excuse my spelling.]
Code: Select all
2023-03-16 Hmailserver: 5.6.8-B2574
DOMAINS
"Domain1.com" - laxxx.uk Enabled: True
SIGNATURE LIMITS DKIM ADVANCED
Enabled: False Max size: 0 Enabled: False
Max message size: 0 Plus addressing: False
Max size of accounts: 0
Greylisting: False
-----------------------------------------------------------------------------------------------
IP RANGES
IP: 127.0.0.1 - 127.0.0.1 Priority: 15 Name: My computer
Allow connections Other
SMTP: True Antispam : True !! 'Spam tests' not enabled !!
POP3: True Antivirus: True !! ANTIVIRUS NOT CONFIGURED !!
IMAP: True SSL/TLS: False
Allow Deliveries from Require Authentication from
Local To Local - True Local To Local - False
Local To External - True Local To External - False
External To Local - True External To Local - False
External To External - True External To External - True
IP: 0.0.0.0 - 255.255.255.255 Priority: 10 Name: Internet
Allow connections Other
SMTP: True Antispam : True !! 'Spam tests' not enabled !!
POP3: True Antivirus: True !! ANTIVIRUS NOT CONFIGURED !!
IMAP: True SSL/TLS: False
Allow Deliveries from Require Authentication from
Local To Local - True Local To Local - True
Local To External - True Local To External - True
External To Local - True External To Local - False
External To External - True External To External - True
------------------------------------------------------
AUTOBANNED Local Addresses:
192.168.1.1 Expires : 16/03/2023 22:33:11
-----------------------------------------------------------------------------------------------
AUTOBAN
Autoban Enabled: False
There is a total of 1 auto-ban IP ranges.
-----------------------------------------------------------------------------------------------
INCOMING RELAYS
No entries
-----------------------------------------------------------------------------------------------
MIRRORING Disabled
-----------------------------------------------------------------------------------------------
PROTOCOLS
SMTP
GENERAL DELIVERY RFC COMPLIANCE ADVANCED
No. Connections: 0 No Retries: 4 Mins: 60 Plain Text: False Bind:
Host: EXTERNAL.TLD Empty sender: True Batch recipients: 100
Max Msg Size: 20480 Relay:- Incorrect endings: True Use STARTTLS: True
EXTERNAL.TLD (ok) Disc. on invalid: False Delivered-To hdr: False
Port: 25 Loop limit: 5
Req Auth: False Recipient hosts: 15
Con. Sec.: SSL/TLS
Routes:
No routes defined.
POP3
No. Connections: 0
IMAP
GENERAL PUBLIC FOLDERS ADVANCED
No. Connections: 0 Public folder name: #Public IMAP sort: True
IMAP Quota: True
IMAP Idle: True
IMAP ACL: True
Delim: "."
-----------------------------------------------------------------------------------------------
ANTISPAM
GENERAL SPAM TESTS Score SPAMASSASSIN
Spam Mark: 5 Use SPF: False Use Spamassassin: False
Add X-HmailServer-Spam: True Check HELO host: False
Add X-HmailServer-Reason: True Check MX records: False
Add X-HmailServer-Subject: False Verify DKIM: False
Spam delete threshold: 20 Maximum message size: 1024
DNSBL ENTRIES:
No 'enabled' entries
SURBL ENTRIES:
No 'enabled' entries
GREYLISTING:
Greylisting: False
WHITELISTING
No entries
-----------------------------------------------------------------------------------------------
ANTIVIRUS: No application configured.
Block Attachments: False
-----------------------------------------------------------------------------------------------
SSL CERTIFICATES
Dav
Certificate: C:\Program Files (x86)\hMailServer\certs\hmail-cert.crt
Private key: C:\Program Files (x86)\hMailServer\certs\hmail-cert.key
-----------------------------------------------------------------------------------------------
SSL/TLS
TLS 1.0 : True
TLS 1.1 : True
TLS 1.2 : True
TLS 1.3 : False Verify Remote SSL/TLS Certs: True
SslCipherList :
ECDHE-RSA-AES128-GCM-SHA256 - ECDHE-ECDSA-AES128-GCM-SHA256 - ECDHE-RSA-AES256-GCM-SHA384
ECDHE-ECDSA-AES256-GCM-SHA384 - DHE-RSA-AES128-GCM-SHA256 - DHE-DSS-AES128-GCM-SHA256
kEDH+AESGCM - ECDHE-RSA-AES128-SHA256 - ECDHE-ECDSA-AES128-SHA256
ECDHE-RSA-AES128-SHA - ECDHE-ECDSA-AES128-SHA - ECDHE-RSA-AES256-SHA384
ECDHE-ECDSA-AES256-SHA384 - ECDHE-RSA-AES256-SHA - ECDHE-ECDSA-AES256-SHA
DHE-RSA-AES128-SHA256 - DHE-RSA-AES128-SHA - DHE-DSS-AES128-SHA256
DHE-RSA-AES256-SHA256 - DHE-DSS-AES256-SHA - DHE-RSA-AES256-SHA
AES128-GCM-SHA256 - AES256-GCM-SHA384 - ECDHE-RSA-RC4-SHA
ECDHE-ECDSA-RC4-SHA - AES128 - AES256
RC4-SHA - HIGH - !aNULL
!eNULL - !EXPORT - !DES
!3DES - !MD5 - !PSK;
-----------------------------------------------------------------------------------------------
TCPIP PORTS Connection Sec
0.0.0.0 / 25 / SMTP - StartTLS Optional Cert: Dav
0.0.0.0 / 110 / POP3 - StartTLS Optional Cert: Dav
0.0.0.0 / 143 / IMAP - StartTLS Required Cert: Dav
0.0.0.0 / 465 / SMTP - SSL/TLS Cert: Dav
0.0.0.0 / 587 / SMTP - StartTLS Required Cert: Dav
0.0.0.0 / 993 / IMAP - SSL/TLS Cert: Dav
0.0.0.0 / 995 / POP3 - SSL/TLS Cert: Dav
-----------------------------------------------------------------------------------------------
LOGGING Logging Enabled: True
Paths:-
Current: C:\Program Files (x86)\hMailServer\Logs\hmailserver_2023-03-16.log
Error: C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2023-03-16.log - !! ERRORS PRESENT !!
Event: C:\Program Files (x86)\hMailServer\Logs\hmailserver_events.log - Not present
Awstats: C:\Program Files (x86)\hMailServer\Logs\hmailserver_awstats.log
APPLICATION - True
SMTP - True
POP3 - True
IMAP - True
TCPIP - True
DEBUG - True
AWSTATS - True
-----------------------------------------------------------------------------------------------
SYSTEM TESTS
Database type: MSSQL Compact
IPv6 support is available in operating system.
Backup directory D:\HMAILSERVER BACKUP is writable.
Relative message paths are stored in the database for all messages.
-----------------------------------------------------------------------------------------------
HMAILSERVER.INI
[Directories]
Program folder: C:\Program Files (x86)\hMailServer\
Database folder: C:\Program Files (x86)\hMailServer\Database
Data folder: C:\Program Files (x86)\hMailServer\Data
Log folder: C:\Program Files (x86)\hMailServer\Logs
Temp folder: C:\Program Files (x86)\hMailServer\Temp
Event folder: C:\Program Files (x86)\hMailServer\Events
[Database]
Type= MSSQLCE
Username=
PasswordEncryption=1
Port= 0
Server=
Internal= 1
-----------------------------------------------------------------------------------------------
So doing this then get me this when i run hmail admin then when i hit OK i get this then when i hit connect i get the same as when i first open it upDravion wrote: ↑2023-03-17 00:15Ok, then do the following:
1) Open a Windows Command prompt as Administrator
2) Change folder to your hMailServer install "bin" folder (for example with: cd "C:\Program Files (x86)\hMailServer\Bin"
3) Type in the following command: hMailServer.exe /Unregister and hit Enter
4) Type in the following command: hMailServer.exe /Register and hit Enter
5) Open hMailAdmin and see if the Error went away.
"ERROR" 13628 "2023-03-16 21:00:51.218" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-BackupTask', Error code: 80, Message: boost::filesystem::copy_file: The file exists: "C:\Program Files (x86)\hMailServer\Data\lab23.uk\info\05\{0568E951-9D5D-4C6F-BBBF-CA6CE4A41DE0}.eml", "D:\HMAILSERVER BACKUP\DataBackup\lab23.uk\info\05\{0568E951-9D5D-4C6F-BBBF-CA6CE4A41DE0}.eml""
Right i had to do a reinstall and that has brought the admin console back upDravion wrote: ↑2023-03-17 00:29Then make sure under Windows Services hMailServer is started and re-run hMailadmin again.
If this doesn't work, try a Re-Install over your existing hMailServer installation. If this doesn't work uninstall hMailServer
and go in Windows Explorer to C:\Program Files (x86) and delete the hMailServer folder and all its content. In this case you
need to Setup you SSL stuff again (as you already did before).
Thunderbird has now latched on and is back receiving but still not sendingShaneMorgan wrote: ↑2023-03-17 00:34Right i had to do a reinstall and that has brought the admin console back upDravion wrote: ↑2023-03-17 00:29Then make sure under Windows Services hMailServer is started and re-run hMailadmin again.
If this doesn't work, try a Re-Install over your existing hMailServer installation. If this doesn't work uninstall hMailServer
and go in Windows Explorer to C:\Program Files (x86) and delete the hMailServer folder and all its content. In this case you
need to Setup you SSL stuff again (as you already did before).
Hi,mattg wrote: ↑2023-03-17 00:22OR
Add an IP range as follows (To stop the 192.168.1.1 autoban having an impact)
IP: 192.168.1.0 - 192.168.1.254 Priority: 25 Name: My LAN
Allow connections Other
SMTP: True Antispam : True
POP3: True Antivirus: True
IMAP: True SSL/TLS: False
Allow Deliveries from Require Authentication from
Local To Local - True Local To Local - False
Local To External - True Local To External - False
External To Local - True External To Local - False
External To External - False
What happens?ShaneMorgan wrote: ↑2023-03-17 00:38Thunderbird has now latched on and is back receiving but still not sending
Any reason you are using a relay for sending mail to the outside? Or maybe you have no clue what your doing (it looks like that to be honest)ShaneMorgan wrote: ↑2023-03-17 01:48Code: Select all
"APPLICATION" 8212 "2023-03-16 23:43:36.764" "SMTPDeliverer - Message 131: Relaying to host smtpout.secureserver.net." "TCPIP" 8212 "2023-03-16 23:43:36.767" "Connecting to 173.201.193.229:25..." "TCPIP" 15168 "2023-03-16 23:43:37.051" "TCPConnection - TLS/SSL handshake failed. Session Id: 104, Remote IP: 173.201.193.229, Error code: 336130315, Message: wrong version number" "TCPIP" 8212 "2023-03-16 23:43:37.054" "Connecting to 173.201.192.229:25..." "TCPIP" 1388 "2023-03-16 23:43:37.163" "TCP - 192.168.1.1 connected to 192.168.1.50:143." "TCPIP" 1388 "2023-03-16 23:43:37.196" "TCPConnection - TLS/SSL handshake completed. Session Id: 98, Remote IP: 192.168.1.1, Version: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256, Bits: 128" "TCPIP" 8180 "2023-03-16 23:43:37.335" "TCPConnection - TLS/SSL handshake failed. Session Id: 105, Remote IP: 173.201.192.229, Error code: 336130315, Message: wrong version number" "TCPIP" 8212 "2023-03-16 23:43:37.337" "Connecting to 173.201.193.101:25..." "TCPIP" 8180 "2023-03-16 23:43:37.618" "TCPConnection - TLS/SSL handshake failed. Session Id: 107, Remote IP: 173.201.193.101, Error code: 336130315, Message: wrong version number" "TCPIP" 8212 "2023-03-16 23:43:37.620" "Connecting to 68.178.252.229:25..." "TCPIP" 15168 "2023-03-16 23:43:37.899" "TCPConnection - TLS/SSL handshake failed. Session Id: 108, Remote IP: 68.178.252.229, Error code: 336130315, Message: wrong version number" "TCPIP" 8212 "2023-03-16 23:43:37.902" "Connecting to 68.178.252.101:25..." "TCPIP" 8180 "2023-03-16 23:43:38.182" "TCPConnection - TLS/SSL handshake failed. Session Id: 109, Remote IP: 68.178.252.101, Error code: 336130315, Message: wrong version number" "TCPIP" 8212 "2023-03-16 23:43:38.185" "Connecting to 173.201.192.101:25..." "TCPIP" 15168 "2023-03-16 23:43:38.467" "TCPConnection - TLS/SSL handshake failed. Session Id: 110, Remote IP: 173.201.192.101, Error code: 336130315, Message: wrong version number"
Code: Select all
Server: smtpout.secureserver.net
Port: 465
Security: SSL/TLS
Username: Your full email address
Password: Your password
ShaneMorgan wrote: ↑2023-03-17 01:48Hi,
This is the Report Results as requested..
"APPLICATION" 8212 "2023-03-16 23:43:36.736" "SMTPDeliverer - Message 131: Delivering message from shane@lab23.uk to payment@nemorgan.co.uk. File: C:\Program Files (x86)\hMailServer\Data\{8B5F90D6-7D81-493E-BF23-2591520334CF}.eml"
"SMTPD" 8180 95 "2023-03-16 23:43:36.745" "192.168.1.1" "RECEIVED: QUIT"
"SMTPD" 8180 95 "2023-03-16 23:43:36.747" "192.168.1.1" "SENT: 221 goodbye"
"APPLICATION" 8212 "2023-03-16 23:43:36.764" "SMTPDeliverer - Message 131: Relaying to host smtpout.secureserver.net."
"TCPIP" 8212 "2023-03-16 23:43:36.767" "Connecting to 173.201.193.229:25..."
"TCPIP" 15168 "2023-03-16 23:43:37.051" "TCPConnection - TLS/SSL handshake failed. Session Id: 104, Remote IP: 173.201.193.229, Error code: 336130315, Message: wrong version number"
"TCPIP" 8212 "2023-03-16 23:43:37.054" "Connecting to 173.201.192.229:25..."
"TCPIP" 1388 "2023-03-16 23:43:37.163" "TCP - 192.168.1.1 connected to 192.168.1.50:143."
"TCPIP" 1388 "2023-03-16 23:43:37.196" "TCPConnection - TLS/SSL handshake completed. Session Id: 98, Remote IP: 192.168.1.1, Version: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256, Bits: 128"
"TCPIP" 8180 "2023-03-16 23:43:37.335" "TCPConnection - TLS/SSL handshake failed. Session Id: 105, Remote IP: 173.201.192.229, Error code: 336130315, Message: wrong version number"
"TCPIP" 8212 "2023-03-16 23:43:37.337" "Connecting to 173.201.193.101:25..."
"TCPIP" 8180 "2023-03-16 23:43:37.618" "TCPConnection - TLS/SSL handshake failed. Session Id: 107, Remote IP: 173.201.193.101, Error code: 336130315, Message: wrong version number"
"TCPIP" 8212 "2023-03-16 23:43:37.620" "Connecting to 68.178.252.229:25..."
"TCPIP" 15168 "2023-03-16 23:43:37.899" "TCPConnection - TLS/SSL handshake failed. Session Id: 108, Remote IP: 68.178.252.229, Error code: 336130315, Message: wrong version number"
"TCPIP" 8212 "2023-03-16 23:43:37.902" "Connecting to 68.178.252.101:25..."
"TCPIP" 8180 "2023-03-16 23:43:38.182" "TCPConnection - TLS/SSL handshake failed. Session Id: 109, Remote IP: 68.178.252.101, Error code: 336130315, Message: wrong version number"
"TCPIP" 8212 "2023-03-16 23:43:38.185" "Connecting to 173.201.192.101:25..."
"TCPIP" 15168 "2023-03-16 23:43:38.467" "TCPConnection - TLS/SSL handshake failed. Session Id: 110, Remote IP: 173.201.192.101, Error code: 336130315, Message: wrong version number"
"APPLICATION" 8212 "2023-03-16 23:43:38.471" "SMTPDeliverer - Message 131: Message could not be delivered. Scheduling it for later delivery in 60 minutes."
"APPLICATION" 8212 "2023-03-16 23:43:38.476" "SMTPDeliverer - Message 131: Message delivery thread completed."
Kind Regards
Shane
Code: Select all
PROTOCOLS
SMTP
GENERAL DELIVERY
Max Msg Size: 20480 Relay:-
EXTERNAL.TLD (ok)
Port: 25
Req Auth: False
Con. Sec.: SSL/TLS
Code: Select all
PROTOCOLS
SMTP
GENERAL DELIVERY
Max Msg Size: 20480 Relay:-
smtpout.secureserver.net
Port: 465
Req Auth: True
Con. Sec.: SSL/TLS
Should be true, not?
Well spotted. Just testing.
Hi RvdH,
Hi RvdH,
In that case get rid of the relay and send it yourself (that is if you allowed to and your ISP doesn't block port 25)ShaneMorgan wrote: ↑2023-03-17 12:32Hi RvdH,
I absolutely don't have a clue nor have i indicated otherwise![]()
I don't know where that relayer has come from as i have followed every step i have been shown.
If this is something not required should it be removed ?
Hi RvdH,
My goal was to learn something along the way and manage my own emails associated with my own domain away from any corporate subscription.
Self sustained.
Email to have the ability to function just as a regular Gmail type account as comparison to be able to send and receive publicly.
This is a great forum and there are certainly a lot of experts for guidance and its very much appreciated all the support that has been provided.
I think coming for an absolute ZERO point to now for me is a great achievement even if it is not working![]()
(you don't learn to drive without being taught)
Kind Regards
Shane
In that case get rid of the relay and send it yourself (that is if you allowed to and your ISP doesn't block port 25)
YepShaneMorgan wrote: ↑2023-03-17 12:59Which i am guessing is due to the SPF record you mentioned and the world seeing Lab23 as a spam station ?
Is that correct in my thinking ?
Kind Regards
Shane
Code: Select all
nslookup -q=txt lab23.uk
Code: Select all
Non-authoritative answer:
lab23.uk text =
"v=spf1 ip4=154.61.56.236 -all"
lab23.uk text =
"v=spf1 ip4=154.61.56.236 include:lab23.uk -all"
Code: Select all
v=spf1 ip4:154.61.56.236 -all
Code: Select all
v=spf1 ip4:154.61.56.236 -all
ShaneMorgan wrote: ↑2023-03-17 10:08Hi,
Yes, I sent the email to myself and that was instantly received to the Inbox:
Shut the fuck up, you are not helping him in any wayDravion wrote: ↑2023-03-17 13:33ShaneMorgan wrote: ↑2023-03-17 10:08Hi,
Yes, I sent the email to myself and that was instantly received to the Inbox:
Ok, this means the complete roundtrip of DNS resolution, deployment and queing of messages works as well as your port 587 and imap settings as it should.
At this point, the problem is clearly a thing between your hMailServer and the other SMTP servers on the public internet which can not negotiate a working SSL protocol
version.
"Wrong protocol number" is a SSL error Message which comes from the OpenSSL Library hMailServer makes heavy use of. If you google the error text you find thousands of OpenSSL related forum threads discussing the error.
So, we have to check your SSL settings carefully.
Hi RvdH,RvdH wrote: ↑2023-03-17 13:28YepShaneMorgan wrote: ↑2023-03-17 12:59Which i am guessing is due to the SPF record you mentioned and the world seeing Lab23 as a spam station ?
Is that correct in my thinking ?
Kind Regards
Shane
it still returns 2 (faulty) recordsCode: Select all
nslookup -q=txt lab23.uk
Code: Select all
Non-authoritative answer: lab23.uk text = "v=spf1 ip4=154.61.56.236 -all" lab23.uk text = "v=spf1 ip4=154.61.56.236 include:lab23.uk -all"
Correct SPF record(s)
@ lab23.uksmtp.lab23.uk (eg: for smtp sub domain)Code: Select all
v=spf1 ip4:154.61.56.236 -all
Code: Select all
v=spf1 ip4:154.61.56.236 -all
Code: Select all
v=spf1 ip4:154.61.56.236 -all
Code: Select all
v=spf1 ip4:154.61.56.236 -all
Code: Select all
"v=spf1 ip4:154.61.56.236 -all"
What did you tell them to use, smtp.lab23.uk?ShaneMorgan wrote: ↑2023-03-17 13:49Also just received call from ISP asking for the domain name for the PTR record so have given then that and they are working on it which i guess is a plus point other than a rejection![]()
They just asked for domain so i told them lab23.uk does this need to be smtp.lab23.uk ?RvdH wrote: ↑2023-03-17 13:57What did you tell them to use, smtp.lab23.uk?ShaneMorgan wrote: ↑2023-03-17 13:49Also just received call from ISP asking for the domain name for the PTR record so have given then that and they are working on it which i guess is a plus point other than a rejection![]()
ShaneMorgan wrote: ↑2023-03-17 14:02They just asked for domain so i told them lab23.uk does this need to be smtp.lab23.uk ?RvdH wrote: ↑2023-03-17 13:57What did you tell them to use, smtp.lab23.uk?ShaneMorgan wrote: ↑2023-03-17 13:49Also just received call from ISP asking for the domain name for the PTR record so have given then that and they are working on it which i guess is a plus point other than a rejection![]()
lab23.uk should work, smtp.lab23.uk would be better
Hi,RvdH wrote: ↑2023-03-17 14:07ShaneMorgan wrote: ↑2023-03-17 14:02They just asked for domain so i told them lab23.uk does this need to be smtp.lab23.uk ?lab23.uk should work, smtp.lab23.uk would be better
SPF record(s) looks OK now so that seems to be fixed
please use [c o d e] [ / c o d e] tags (without the spaces to post log excerpts)![]()
Code: Select all
"TCPIP" 15168 "2023-03-17 11:53:57.760" "TCP - 192.168.1.1 connected to 192.168.1.50:587."
"SMTPD" 15168 405 "2023-03-17 11:53:57.765" "192.168.1.1" "SENT: 220 smtp.lab23.uk ESMTP"
"SMTPD" 13356 405 "2023-03-17 11:53:57.868" "192.168.1.1" "RECEIVED: EHLO [192.168.1.50]"
"SMTPD" 13356 405 "2023-03-17 11:53:57.869" "192.168.1.1" "SENT: 250-smtp.lab23.uk[nl]250-SIZE 20480000[nl]250-STARTTLS[nl]250-AUTH LOGIN[nl]250 HELP"
"SMTPD" 15168 405 "2023-03-17 11:53:57.920" "192.168.1.1" "RECEIVED: STARTTLS"
"SMTPD" 15168 405 "2023-03-17 11:53:57.921" "192.168.1.1" "SENT: 220 Ready to start TLS"
"TCPIP" 1388 "2023-03-17 11:53:57.956" "TCPConnection - TLS/SSL handshake completed. Session Id: 405, Remote IP: 192.168.1.1, Version: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256, Bits: 128"
"SMTPD" 13356 405 "2023-03-17 11:53:57.958" "192.168.1.1" "RECEIVED: EHLO [192.168.1.50]"
"SMTPD" 13356 405 "2023-03-17 11:53:57.959" "192.168.1.1" "SENT: 250-smtp.lab23.uk[nl]250-SIZE 20480000[nl]250-AUTH LOGIN[nl]250 HELP"
"SMTPD" 15168 405 "2023-03-17 11:53:57.982" "192.168.1.1" "RECEIVED: AUTH LOGIN"
"SMTPD" 15168 405 "2023-03-17 11:53:57.985" "192.168.1.1" "SENT: 334 VXNlcm5hbWU6"
"SMTPD" 15168 405 "2023-03-17 11:53:57.995" "192.168.1.1" "RECEIVED: c2hhbmVAbGFiMjMudWs="
"SMTPD" 15168 405 "2023-03-17 11:53:57.996" "192.168.1.1" "SENT: 334 UGFzc3dvcmQ6"
"SMTPD" 1388 405 "2023-03-17 11:53:58.006" "192.168.1.1" "RECEIVED: ***"
"SMTPD" 1388 405 "2023-03-17 11:53:58.018" "192.168.1.1" "SENT: 235 authenticated."
"SMTPD" 13356 405 "2023-03-17 11:53:58.035" "192.168.1.1" "RECEIVED: MAIL FROM:<shane@lab23.uk> SIZE=401"
"SMTPD" 13356 405 "2023-03-17 11:53:58.038" "192.168.1.1" "SENT: 250 OK"
"SMTPD" 15168 405 "2023-03-17 11:53:58.045" "192.168.1.1" "RECEIVED: RCPT TO:<shane.morgan@eu.panasonic.com>"
"SMTPD" 15168 405 "2023-03-17 11:53:58.059" "192.168.1.1" "SENT: 250 OK"
"SMTPD" 1388 405 "2023-03-17 11:53:58.067" "192.168.1.1" "RECEIVED: DATA"
"SMTPD" 1388 405 "2023-03-17 11:53:58.068" "192.168.1.1" "SENT: 354 OK, send."
"SMTPD" 6652 405 "2023-03-17 11:53:58.117" "192.168.1.1" "SENT: 250 Queued (0.032 seconds)"
"APPLICATION" 2080 "2023-03-17 11:53:58.120" "SMTPDeliverer - Message 176: Delivering message from shane@lab23.uk to shane.morgan@eu.panasonic.com. File: C:\Program Files (x86)\hMailServer\Data\{742EF6B2-5B9D-4C92-B67C-8A690EB016B2}.eml"
"TCPIP" 2080 "2023-03-17 11:53:58.121" "DNS MX lookup: eu.panasonic.com"
"SMTPD" 15168 405 "2023-03-17 11:53:58.135" "192.168.1.1" "RECEIVED: QUIT"
"SMTPD" 15168 405 "2023-03-17 11:53:58.136" "192.168.1.1" "SENT: 221 goodbye"
"TCPIP" 1388 "2023-03-17 11:53:58.146" "TCP - 192.168.1.1 connected to 192.168.1.50:143."
"TCPIP" 2080 "2023-03-17 11:53:58.152" "DNS - MX Result: 3 IP addresses were found."
"TCPIP" 2080 "2023-03-17 11:53:58.153" "Connecting to 18.185.115.146:25..."
"SMTPC" 13356 411 "2023-03-17 11:53:58.201" "18.185.115.146" "RECEIVED: 220 inpre01.tmes.trendmicro.eu ESMTP Trend Micro Email Security"
"SMTPC" 13356 411 "2023-03-17 11:53:58.202" "18.185.115.146" "SENT: EHLO smtp.lab23.uk"
"SMTPC" 15168 411 "2023-03-17 11:53:58.230" "18.185.115.146" "RECEIVED: 250-inpre01.tmes.trendmicro.eu[nl]250-PIPELINING[nl]250-SIZE 157286400[nl]250-ETRN[nl]250-STARTTLS[nl]250-ENHANCEDSTATUSCODES[nl]250-8BITMIME[nl]250-SMTPUTF8[nl]250 CHUNKING"
"SMTPC" 15168 411 "2023-03-17 11:53:58.231" "18.185.115.146" "SENT: STARTTLS"
"TCPIP" 15168 "2023-03-17 11:53:58.238" "TCPConnection - TLS/SSL handshake completed. Session Id: 408, Remote IP: 192.168.1.1, Version: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256, Bits: 128"
"SMTPC" 15168 411 "2023-03-17 11:53:58.254" "18.185.115.146" "RECEIVED: 220 2.0.0 Ready to start TLS"
"TCPIP" 13908 "2023-03-17 11:53:59.089" "TCPConnection - TLS/SSL handshake completed. Session Id: 411, Remote IP: 18.185.115.146, Version: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384, Bits: 256"
"SMTPC" 13908 411 "2023-03-17 11:53:59.090" "18.185.115.146" "SENT: EHLO smtp.lab23.uk"
"SMTPC" 13356 411 "2023-03-17 11:53:59.112" "18.185.115.146" "RECEIVED: 250-inpre01.tmes.trendmicro.eu[nl]250-PIPELINING[nl]250-SIZE 157286400[nl]250-ETRN[nl]250-ENHANCEDSTATUSCODES[nl]250-8BITMIME[nl]250-SMTPUTF8[nl]250 CHUNKING"
"SMTPC" 13356 411 "2023-03-17 11:53:59.113" "18.185.115.146" "SENT: MAIL FROM:<shane@lab23.uk>"
"SMTPC" 15168 411 "2023-03-17 11:53:59.135" "18.185.115.146" "RECEIVED: 250 2.1.0 Ok"
"SMTPC" 15168 411 "2023-03-17 11:53:59.136" "18.185.115.146" "SENT: RCPT TO:<shane.morgan@eu.panasonic.com>"
"SMTPC" 13908 411 "2023-03-17 11:53:59.200" "18.185.115.146" "RECEIVED: 250 2.1.5 Ok"
"SMTPC" 13908 411 "2023-03-17 11:53:59.201" "18.185.115.146" "SENT: DATA"
"SMTPC" 13356 411 "2023-03-17 11:53:59.222" "18.185.115.146" "RECEIVED: 354 End data with <CR><LF>.<CR><LF>"
"SMTPC" 13356 411 "2023-03-17 11:53:59.234" "18.185.115.146" "SENT: [nl]."
"SMTPC" 15168 411 "2023-03-17 11:53:59.329" "18.185.115.146" "RECEIVED: 250 2.0.0 Ok: queued as 3009710001E33"
"SMTPC" 15168 411 "2023-03-17 11:53:59.330" "18.185.115.146" "SENT: QUIT"
"SMTPC" 13908 411 "2023-03-17 11:53:59.351" "18.185.115.146" "RECEIVED: 221 2.0.0 Bye"
"APPLICATION" 2080 "2023-03-17 11:53:59.356" "SMTPDeliverer - Message 176: Message delivery thread completed."
"TCPIP" 1388 "2023-03-17 11:54:13.959" "TCP - 192.168.1.1 connected to 192.168.1.50:143."
"TCPIP" 13356 "2023-03-17 11:54:13.985" "TCPConnection - TLS/SSL handshake completed. Session Id: 410, Remote IP: 192.168.1.1, Version: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256, Bits: 128"
"TCPIP" 1388 "2023-03-17 11:54:54.878" "TCP - 18.185.115.5 connected to 192.168.1.50:25."
"SMTPD" 1388 403 "2023-03-17 11:54:54.882" "18.185.115.5" "SENT: 220 smtp.lab23.uk ESMTP"
"SMTPD" 13356 403 "2023-03-17 11:54:54.908" "18.185.115.5" "RECEIVED: EHLO repost01.tmes.trendmicro.eu"
"SMTPD" 13356 403 "2023-03-17 11:54:54.909" "18.185.115.5" "SENT: 250-smtp.lab23.uk[nl]250-SIZE 20480000[nl]250-STARTTLS[nl]250-AUTH LOGIN[nl]250 HELP"
"SMTPD" 15168 403 "2023-03-17 11:54:54.937" "18.185.115.5" "RECEIVED: STARTTLS"
"SMTPD" 15168 403 "2023-03-17 11:54:54.938" "18.185.115.5" "SENT: 220 Ready to start TLS"
"TCPIP" 13356 "2023-03-17 11:54:55.036" "TCPConnection - TLS/SSL handshake completed. Session Id: 403, Remote IP: 18.185.115.5, Version: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384, Bits: 256"
"SMTPD" 13356 403 "2023-03-17 11:54:55.061" "18.185.115.5" "RECEIVED: EHLO repost01.tmes.trendmicro.eu"
"SMTPD" 13356 403 "2023-03-17 11:54:55.062" "18.185.115.5" "SENT: 250-smtp.lab23.uk[nl]250-SIZE 20480000[nl]250-AUTH LOGIN[nl]250 HELP"
"SMTPD" 1388 403 "2023-03-17 11:54:55.092" "18.185.115.5" "RECEIVED: MAIL FROM:<Shane.Morgan@eu.panasonic.com>"
"SMTPD" 1388 403 "2023-03-17 11:54:55.099" "18.185.115.5" "SENT: 250 OK"
"SMTPD" 13356 403 "2023-03-17 11:54:55.127" "18.185.115.5" "RECEIVED: RCPT TO:<shane@lab23.uk>"
"SMTPD" 13356 403 "2023-03-17 11:54:55.130" "18.185.115.5" "SENT: 250 OK"
"SMTPD" 15168 403 "2023-03-17 11:54:55.155" "18.185.115.5" "RECEIVED: DATA"
"SMTPD" 15168 403 "2023-03-17 11:54:55.157" "18.185.115.5" "SENT: 354 OK, send."
"SMTPD" 6652 403 "2023-03-17 11:54:55.247" "18.185.115.5" "SENT: 250 Queued (0.080 seconds)"
"APPLICATION" 2080 "2023-03-17 11:54:55.250" "SMTPDeliverer - Message 178: Delivering message from Shane.Morgan@eu.panasonic.com to shane@lab23.uk. File: C:\Program Files (x86)\hMailServer\Data\{9BF7EC4A-E87A-4375-9FD5-2C7EFC74AB13}.eml"
"APPLICATION" 2080 "2023-03-17 11:54:55.261" "SMTPDeliverer - Message 178: Message delivery thread completed."
"SMTPD" 13356 403 "2023-03-17 11:54:55.273" "18.185.115.5" "RECEIVED: QUIT"
"SMTPD" 13356 403 "2023-03-17 11:54:55.274" "18.185.115.5" "SENT: 221 goodbye"
Or DKIM?jimimaseye wrote: ↑2023-03-17 14:25Looks like a result. Dont forget to test an inbound message from external address.
Next task.... antispam.
viewtopic.php?f=21&t=28133
Hi,RvdH wrote: ↑2023-03-17 14:07ShaneMorgan wrote: ↑2023-03-17 14:02They just asked for domain so i told them lab23.uk does this need to be smtp.lab23.uk ?lab23.uk should work, smtp.lab23.uk would be better
SPF record(s) looks OK now so that seems to be fixed
please use [c o d e] [ / c o d e] tags (without the spaces to post log excerpts)![]()
Hi,RvdH wrote: ↑2023-03-17 15:00Or DKIM?jimimaseye wrote: ↑2023-03-17 14:25Looks like a result. Dont forget to test an inbound message from external address.
Next task.... antispam.
viewtopic.php?f=21&t=28133![]()
Code: Select all
nslookup -type=ptr 48.75.201.173.in-addr.arpa
You think some utility company is going to jump out of their chairs, sound the alarm and red flashing lights over one little customer? Give it a couple of days. They don't even do that for "green screen" ZelenskyRvdH wrote: ↑2023-03-17 16:11PTR still gives no resultCode: Select all
nslookup -type=ptr 48.75.201.173.in-addr.arpa
DKIM and Spamassassin is about keeping YOUR NETWORK secure (not the mailserver - that is done with firewalls and Operating System tools). Typically they are designed to ensure that your users are not receiving (at best) annoying or (at worst) malicious/dangerous emails with explosive links or attachments.ShaneMorgan wrote: ↑2023-03-17 15:40Hi,RvdH wrote: ↑2023-03-17 15:00Or DKIM?jimimaseye wrote: ↑2023-03-17 14:25Looks like a result. Dont forget to test an inbound message from external address.
Next task.... antispam.
viewtopic.php?f=21&t=28133![]()
This is my next reading exercise
How to make it safe & secure
Kind Regards
Shane
Code: Select all
Delivered-To: sh@nemorgan.co.uk
Received: by 2002:a05:7108:6801:b0:2e0:6f5d:342d with SMTP id j1csp562312gdg;
Fri, 17 Mar 2023 10:08:39 -0700 (PDT)
X-Google-Smtp-Source: AK7set8+xvOghkr1ICjEGPSCaHM5k5liHoCq58f6xGiCfjZiwLIn6tzY32wr0G+VMUQsjFvoT0Rk
X-Received: by 2002:a17:906:b42:b0:925:8bc0:b19 with SMTP id v2-20020a1709060b4200b009258bc00b19mr113989ejg.20.1679072919569;
Fri, 17 Mar 2023 10:08:39 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1679072919; cv=none;
d=google.com; s=arc-20160816;
b=K+Tw9GwFH1bRR7rzwoMIJahBZQ4Adau5KpVd1iVhR+K3cJdTnowT9VVIqFhnlUZUJo
AkRNf0UTjoTUQhsrVcvTVtkiGo40pVGhbSB0YMg/TmaqnEsbJ0P4z8Eskk5zuP/jiYa/
ORHBxkC4m0WpFUsrk2+6eEoG6BxIPnq9Z1OA+0c+0NJtYJJ8Fs9wMcEcJn/6XJhxXYiE
Q7oQTShHE8qv8qW2ZNYacrM4DHTn2htSyiPHKxY8IME21nwB7d5VBfoaLZvq3C9vWmcu
lKdD1pT8G7g9zeoFPSD+2yLVaTtOQj/ipOTj24wcY2lTidCCT3nDgldmCj9lJT9a22Ld
moFA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
h=content-transfer-encoding:subject:from:to:user-agent:mime-version
:date:message-id:dkim-signature;
bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=;
b=XlNjy/9RJQ5nUSl/ECFfwoadUE61wycPeNSN8WwL84kyO/obESYCkid7cG+1mJFCcc
anejv9EcSm545teFNpnF2lF08pRFrxNYmJzxQ0Z6V1VxMo8rVFDxC1oBiWp1B2NK/K5S
RKEVcZkhjy7DDRVayjG/DLyiG8ybSziBTY+L2K25D5KU93g6FWfOmLYB2+3RAf69kTYH
lRimQL3XWBppPwJFJnw5SCtuIgpyp0S5KFfGCC+FLDvCJdOqli/dDRGo5YK5F8WUrSqd
iYM5VWx6U1E1oq0a44jgA5q8G0h5u11/g1wlGkaAmSc83NGIzpmKzWBYPwCUNhkFX1Vb
5VZg==
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@lab23.uk header.s=dkim header.b="DMtn4/J7";
spf=pass (google.com: domain of shane@lab23.uk designates 154.61.56.236 as permitted sender) smtp.mailfrom=shane@lab23.uk
Return-Path: <shane@lab23.uk>
Received: from smtp.lab23.uk ([154.61.56.236])
by mx.google.com with ESMTPS id a12-20020a170906274c00b008bc108463e1si2266263ejd.98.2023.03.17.10.08.39
for <sh@nemorgan.co.uk>
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Fri, 17 Mar 2023 10:08:39 -0700 (PDT)
Received-SPF: pass (google.com: domain of shane@lab23.uk designates 154.61.56.236 as permitted sender) client-ip=154.61.56.236;
Authentication-Results: mx.google.com;
dkim=pass header.i=@lab23.uk header.s=dkim header.b="DMtn4/J7";
spf=pass (google.com: domain of shane@lab23.uk designates 154.61.56.236 as permitted sender) smtp.mailfrom=shane@lab23.uk
dkim-signature: v=1; a=rsa-sha256; d=lab23.uk; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=DMtn4/J7Yl4CkbW7cfvIeFbIvkjTcZQfZ+G45brbZ3hIaUutX0jE/txSqNMbbjthyqFgE2KAMRqQpbng2Zc8zxgUOCY9LLGMMVa6CNgkDQCoG9Wy3IjbF1V4x4pLGLQZ+buQBgaPRl0220+UqD0X5Yj2s+/mnAI+HQLKi6mK+rg=
Received: from [192.168.1.50] (RT-AC86U-8350 [192.168.1.1]) by smtp.lab23.uk with ESMTPSA (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128) ; Fri, 17 Mar 2023 17:08:38 +0000
Message-ID: <bb48b9d0-3d24-87c4-eec6-ab6a2a5bc819@lab23.uk>
Date: Fri, 17 Mar 2023 17:08:38 +0000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0
To: shane morgan <sh@nemorgan.co.uk>
From: Shane Morgan <shane@lab23.uk>
Subject: dkim test
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Good job. You're a natural at this. Believe me, you're learning this faster than I did.ShaneMorgan wrote: ↑2023-03-17 19:15Hi,
So i think i have completed the DKIM element successfully.
Below is the code output i get from sending from Lab23 to my .nemorgan.co.uk email within google.
I can see DKIM= PASS within the code
Hi,
Code: Select all
Received: from localhost by WIN-PDHL2QUSQ9D
with SpamAssassin (version 3.4.4);
Fri, 17 Mar 2023 22:09:12 +0000
From: SpamAssassinTest@example.com
X-Spam-Checker-Version: SpamAssassin 3.4.4 (svnunknown) on WIN-PDHL2QUSQ9D
X-Spam-Flag: YES
X-Spam-Level: **************************************************
X-Spam-Status: Yes, score=1004.5 required=5.0 tests=GTUBE,MISSING_DATE,
MISSING_HEADERS,MISSING_MID,MISSING_SUBJECT,NO_HEADERS_MESSAGE,
NO_RECEIVED,NO_RELAYS,TVD_SPACE_RATIO autolearn=no autolearn_force=no
version=3.4.4
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_6414E508.932EA751"
This is a multi-part message in MIME format.
------------=_6414E508.932EA751
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Spam detection software, running on the system "WIN-PDHL2QUSQ9D",
has identified this incoming email as possible spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
shane@lab23.uk for details.
Content preview: XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X.
Content analysis details: (1004.5 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
1.2 MISSING_HEADERS Missing To: header
-0.0 NO_RELAYS Informational: message was not relayed via SMTP
1000 GTUBE BODY: Generic Test for Unsolicited Bulk Email
0.1 MISSING_MID Missing Message-Id: header
0.0 TVD_SPACE_RATIO No description available.
1.8 MISSING_SUBJECT Missing Subject: header
-0.0 NO_RECEIVED Informational: message has no Received headers
1.4 MISSING_DATE Missing Date: header
0.0 NO_HEADERS_MESSAGE Message appears to be missing most RFC-822
headers
------------=_6414E508.932EA751
Content-Type: message/rfc822; x-spam-type=original
Content-Description: original message before SpamAssassin
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
From: SpamAssassinTest@example.com
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X.
------------=_6414E508.932EA751--
Shazam!, someone is on a role...kudos to you🫵ShaneMorgan wrote: ↑2023-03-18 00:12Hi,
Does this indicate correctly installed and operational ?
This is the output from the TEST button press on the Hmail SA tab.
Kind RegardsCode: Select all
Received: from localhost by WIN-PDHL2QUSQ9D with SpamAssassin (version 3.4.4); Fri, 17 Mar 2023 22:09:12 +0000 From: SpamAssassinTest@example.com X-Spam-Checker-Version: SpamAssassin 3.4.4 (svnunknown) on WIN-PDHL2QUSQ9D X-Spam-Flag: YES X-Spam-Level: ************************************************** X-Spam-Status: Yes, score=1004.5 required=5.0 tests=GTUBE,MISSING_DATE, MISSING_HEADERS,MISSING_MID,MISSING_SUBJECT,NO_HEADERS_MESSAGE, NO_RECEIVED,NO_RELAYS,TVD_SPACE_RATIO autolearn=no autolearn_force=no version=3.4.4 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_6414E508.932EA751" This is a multi-part message in MIME format. ------------=_6414E508.932EA751 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Spam detection software, running on the system "WIN-PDHL2QUSQ9D", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see shane@lab23.uk for details. Content preview: XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X. Content analysis details: (1004.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.2 MISSING_HEADERS Missing To: header -0.0 NO_RELAYS Informational: message was not relayed via SMTP 1000 GTUBE BODY: Generic Test for Unsolicited Bulk Email 0.1 MISSING_MID Missing Message-Id: header 0.0 TVD_SPACE_RATIO No description available. 1.8 MISSING_SUBJECT Missing Subject: header -0.0 NO_RECEIVED Informational: message has no Received headers 1.4 MISSING_DATE Missing Date: header 0.0 NO_HEADERS_MESSAGE Message appears to be missing most RFC-822 headers ------------=_6414E508.932EA751 Content-Type: message/rfc822; x-spam-type=original Content-Description: original message before SpamAssassin Content-Disposition: inline Content-Transfer-Encoding: 8bit From: SpamAssassinTest@example.com XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X. ------------=_6414E508.932EA751--
Shane
Well said, couldn't agree more
Hi,
No it is not updateable, you need to manually install 4.0.0 (if you feel comfortable doing that, otherwise stick with 3.4.4)ShaneMorgan wrote: ↑2023-03-18 12:14Hi,
Thank you.
Will the package update itself to the latest version or does it require a fresh install ?
The version i got was the one that came from Jam Software website just by clicking the download.
Im guess it does not offer up the latest release in that instance ?
Kind Regards
Shane
this https://www.hmailserver.com/documentati ... hpwebadmin with this ->https://github.com/RvdHout/hmailserver-webadmin ontop
webmail client -> https://www.rainloop.net/2, Anything recommended from the group to tackle as addons ?
HI,
Hi,ShaneMorgan wrote: ↑2023-03-23 18:45HI,
So i chased this today with the ISP.
They actually have not had any feedback from their Tier 3 support team as to what's going on.
They escalated it internally today so lets see if anything happens in the next 2 days.
Kind Regards
Shane