DKIM Signing just not happening.
DKIM Signing just not happening.
Topic.
Trying to fix all the issues with my domain I've had for ages.
Looking at the logs, it doesn't look like it's even attempting to sign the messages with my DKIM key.
I've tried following the multiple guides available here, can't seem to resolve the issue.
Version is 5.6.7-B2425
Domain is ntillc.tk. Key is 1028 bit.
Trying to fix all the issues with my domain I've had for ages.
Looking at the logs, it doesn't look like it's even attempting to sign the messages with my DKIM key.
I've tried following the multiple guides available here, can't seem to resolve the issue.
Version is 5.6.7-B2425
Domain is ntillc.tk. Key is 1028 bit.
- Attachments
-
- Screenshot_2.png (9.54 KiB) Viewed 1993 times
Re: DKIM Signing just not happening.
You need to enable DEBUG logging, then send a message to a external account to verify DKIM signing worked
https://www.sparkpost.com/email-tools/a ... n-checker/
https://www.sparkpost.com/email-tools/a ... n-checker/
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup
Re: DKIM Signing just not happening.
Signing is triggered right after OnDeliverMessage
"DEBUG" 6784 "2020-04-25 18:11:22.937" "Executing event OnDeliverMessage"
"DEBUG" 6784 "2020-04-25 18:11:23.015" "Event completed"
"DEBUG" 6784 "2020-04-25 18:11:23.015" "Performing local delivery"
"DEBUG" 6784 "2020-04-25 18:11:23.015" "Local delivery completed"
"DEBUG" 6784 "2020-04-25 18:11:23.015" "Signing message using DKIM...
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup
Re: DKIM Signing just not happening.
As stated, DKIM is not working. Nothing is happening, no attempts showing up in the logs.
Debug logging is enabled.
Debug logging is enabled.
Code: Select all
"DEBUG" 952 "2020-04-25 16:23:28.055" "TCP connection started for session 147"
"SMTPD" 952 147 "2020-04-25 16:23:28.056" "98.146.216.209" "SENT: 220 mail.ntillc.tk ESMTP"
"SMTPD" 5912 147 "2020-04-25 16:23:28.083" "98.146.216.209" "RECEIVED: EHLO [192.168.1.6]"
"SMTPD" 5912 147 "2020-04-25 16:23:28.084" "98.146.216.209" "SENT: 250-mail.ntillc.tk[nl]250-SIZE 32000000[nl]250-STARTTLS[nl]250-AUTH LOGIN[nl]250 HELP"
"SMTPD" 5992 147 "2020-04-25 16:23:28.113" "98.146.216.209" "RECEIVED: STARTTLS"
"SMTPD" 5992 147 "2020-04-25 16:23:28.114" "98.146.216.209" "SENT: 220 Ready to start TLS"
"DEBUG" 5912 "2020-04-25 16:23:28.115" "Performing SSL/TLS handshake for session 147. Verify certificate: False"
"TCPIP" 5912 "2020-04-25 16:23:28.187" "TCPConnection - TLS/SSL handshake completed. Session Id: 147, Remote IP: , Version: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256, Bits: 128"
"SMTPD" 952 147 "2020-04-25 16:23:28.190" "98.146.216.209" "RECEIVED: EHLO [192.168.1.6]"
"SMTPD" 952 147 "2020-04-25 16:23:28.191" "98.146.216.209" "SENT: 250-mail.ntillc.tk[nl]250-SIZE 32000000[nl]250-AUTH LOGIN[nl]250 HELP"
"SMTPD" 5992 147 "2020-04-25 16:23:28.275" "98.146.216.209" "RECEIVED: AUTH LOGIN"
"SMTPD" 5992 147 "2020-04-25 16:23:28.276" "98.146.216.209" "SENT: 334 VXNlcm5hbWU6"
"SMTPD" 5912 147 "2020-04-25 16:23:28.302" "98.146.216.209" "RECEIVED: dHdvbHZlbkBudGlsbGMudGs="
"SMTPD" 5912 147 "2020-04-25 16:23:28.303" "98.146.216.209" "SENT: 334 UGFzc3dvcmQ6"
"SMTPD" 952 147 "2020-04-25 16:23:28.328" "98.146.216.209" "RECEIVED: ***"
"DEBUG" 5992 "2020-04-25 16:23:28.334" "Creating session 149"
"TCPIP" 5992 "2020-04-25 16:23:28.335" "TCP - 46.38.144.179 connected to 172.31.27.225:25."
"DEBUG" 5992 "2020-04-25 16:23:28.340" "Client connection from 46.38.144.179 was not accepted. Blocked either by IP range or by connection limit."
"DEBUG" 5992 "2020-04-25 16:23:28.340" "Ending session 144"
"SMTPD" 952 147 "2020-04-25 16:23:28.375" "" "SENT: 235 authenticated."
"SMTPD" 5992 147 "2020-04-25 16:23:28.400" "" "RECEIVED: MAIL FROM:<@ntillc.tk> SIZE=7648"
"SMTPD" 5992 147 "2020-04-25 16:23:28.403" "" "SENT: 250 OK"
"SMTPD" 5912 147 "2020-04-25 16:23:28.427" "" "RECEIVED: RCPT TO:<@gmail.com>"
"SMTPD" 5912 147 "2020-04-25 16:23:28.429" "" "SENT: 250 OK"
"SMTPD" 952 147 "2020-04-25 16:23:28.454" "" "RECEIVED: DATA"
"SMTPD" 952 147 "2020-04-25 16:23:28.456" "" "SENT: 354 OK, send."
"DEBUG" 3988 "2020-04-25 16:23:28.588" "Adding task AsynchronousTask to work queue Asynchronous task queue"
"DEBUG" 3660 "2020-04-25 16:23:28.592" "Executing task AsynchronousTask in work queue Asynchronous task queue"
"DEBUG" 3660 "2020-04-25 16:23:28.593" "Saving message: {FC8B8409-9F7E-4D2C-87FA-8C0D96344520}.eml"
"DEBUG" 3660 "2020-04-25 16:23:28.616" "Requesting SMTPDeliveryManager to start message delivery"
"SMTPD" 3660 147 "2020-04-25 16:23:28.618" "" "SENT: 250 Queued (0.128 seconds)"
"DEBUG" 3864 "2020-04-25 16:23:28.624" "Adding task DeliveryTask to work queue SMTP delivery queue"
"DEBUG" 5444 "2020-04-25 16:23:28.626" "Executing task DeliveryTask in work queue SMTP delivery queue"
"DEBUG" 5444 "2020-04-25 16:23:28.627" "Delivering message..."
"SMTPD" 5284 147 "2020-04-25 16:23:28.645" "" "RECEIVED: QUIT"
"SMTPD" 5284 147 "2020-04-25 16:23:28.647" "" "SENT: 221 goodbye"
"DEBUG" 6848 "2020-04-25 16:23:28.648" "Ending session 147"
"APPLICATION" 5444 "2020-04-25 16:23:28.693" "SMTPDeliverer - Message 19656: Delivering message from@ntillc.tk to @gmail.com. File: C:\Program Files (x86)\hMailServer\Data\{FC8B8409-9F7E-4D2C-87FA-8C0D96344520}.eml"
"DEBUG" 5444 "2020-04-25 16:23:28.694" "Applying rules"
"DEBUG" 5444 "2020-04-25 16:23:28.695" "Performing local delivery"
"DEBUG" 5444 "2020-04-25 16:23:28.696" "Local delivery completed"
"TCPIP" 5444 "2020-04-25 16:23:28.699" "DNS MX lookup: gmail.com"
"DEBUG" 3988 "2020-04-25 16:23:28.715" "Creating session 150"
"TCPIP" 3988 "2020-04-25 16:23:28.716" "TCP - 9 connected to 172.31.27.225:143."
"DEBUG" 3988 "2020-04-25 16:23:28.718" "TCP connection started for session 146"
"IMAPD" 3988 146 "2020-04-25 16:23:28.753" "98.146.216.209" "SENT: * OK IMAPrev1"
"TCPIP" 5444 "2020-04-25 16:23:28.724" "DNS - MX Result: 5 IP addresses were found."
"DEBUG" 5444 "2020-04-25 16:23:28.757" "Starting external delivery process. Server: gmail-smtp-in.l.google.com (74.125.142.27), Port: 25, Security: 2, User name: "
"DEBUG" 5444 "2020-04-25 16:23:28.757" "Creating session 151"
"TCPIP" 5444 "2020-04-25 16:23:28.758" "Connecting to 74.125.142.27:25..."
"DEBUG" 6848 "2020-04-25 16:23:28.772" "TCP connection started for session 151"
"IMAPD" 6848 146 "2020-04-25 16:23:28.782" "98.146.216.209" "RECEIVED: 1 capability"
"IMAPD" 6848 146 "2020-04-25 16:23:28.782" "98.146.216.209" "SENT: * CAPABILITY IMAP4 IMAP4rev1 CHILDREN IDLE QUOTA SORT ACL STARTTLS NAMESPACE RIGHTS=texk[nl]1 OK CAPABILITY completed"
"IMAPD" 3988 146 "2020-04-25 16:23:28.807" "98.146.216.209" "RECEIVED: 2 STARTTLS"
"IMAPD" 3988 146 "2020-04-25 16:23:28.808" "98.146.216.209" "SENT: 2 OK Begin TLS negotiation now"
"DEBUG" 6848 "2020-04-25 16:23:28.810" "Performing SSL/TLS handshake for session 146. Verify certificate: False"
"TCPIP" 6848 "2020-04-25 16:23:28.957" "TCPConnection - TLS/SSL handshake completed. Session Id: 146, Remote IP: , Version: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256, Bits: 128"
"IMAPD" 5284 146 "2020-04-25 16:23:28.979" "98.146.216.209" "RECEIVED: 3 capability"
"IMAPD" 5284 146 "2020-04-25 16:23:28.980" "98.146.216.209" "SENT: * CAPABILITY IMAP4 IMAP4rev1 CHILDREN IDLE QUOTA SORT ACL STARTTLS NAMESPACE RIGHTS=texk[nl]3 OK CAPABILITY completed"
"SMTPC" 5284 151 "2020-04-25 16:23:28.984" "74.125.142.27" "RECEIVED: 220 mx.google.com ESMTP n27si3618559pgd.407 - gsmtp"
"SMTPC" 5284 151 "2020-04-25 16:23:28.985" "74.125.142.27" "SENT: EHLO mail.ntillc.tk"
"SMTPC" 6400 151 "2020-04-25 16:23:29.005" "74.125.142.27" "RECEIVED: 250-mx.google.com at your service, [35.167.65.37][nl]250-SIZE 157286400[nl]250-8BITMIME[nl]250-STARTTLS[nl]250-ENHANCEDSTATUSCODES[nl]250-PIPELINING[nl]250-CHUNKING[nl]250 SMTPUTF8"
"SMTPC" 6400 151 "2020-04-25 16:23:29.006" "74.125.142.27" "SENT: STARTTLS"
"SMTPC" 6400 151 "2020-04-25 16:23:29.020" "74.125.142.27" "RECEIVED: 220 2.0.0 Ready to start TLS"
"DEBUG" 6400 "2020-04-25 16:23:29.022" "Performing SSL/TLS handshake for session 151. Verify certificate: True, Expected remote host name: gmail-smtp-in.l.google.com"
"IMAPD" 6400 146 "2020-04-25 16:23:29.042" "98.146.216.209" "RECEIVED: 5 login "@ntillc.tk" ***"
"IMAPD" 6400 146 "2020-04-25 16:23:29.061" "98.146.216.209" "SENT: 5 OK LOGIN completed"
"IMAPD" 5888 146 "2020-04-25 16:23:29.087" "98.146.216.209" "RECEIVED: 6 append "Sent" (\Seen) {7648}"
"IMAPD" 5888 146 "2020-04-25 16:23:29.088" "98.146.216.209" "SENT: + Ready for literal data"
"DEBUG" 6400 "2020-04-25 16:23:29.168" "Saving message: {15A357A6-0B16-4A3F-B298-A8F677FF881A}.eml"
"IMAPD" 6400 146 "2020-04-25 16:23:29.186" "98.146.216.209" "SENT: 6 OK APPEND completed"
"DEBUG" 2968 "2020-04-25 16:23:29.219" "Certificate verification succeeded for session 151."
"TCPIP" 5912 "2020-04-25 16:23:29.239" "TCPConnection - TLS/SSL handshake completed. Session Id: 151, Remote IP: 74.125.142.27, Version: TLSv1.2, Cipher: ECDHE-ECDSA-AES128-GCM-SHA256, Bits: 128"
"SMTPC" 5912 151 "2020-04-25 16:23:29.240" "74.125.142.27" "SENT: EHLO mail.ntillc.tk"
"SMTPC" 952 151 "2020-04-25 16:23:29.255" "74.125.142.27" "RECEIVED: 250-mx.google.com at your service, [35.167.65.37][nl]250-SIZE 157286400[nl]250-8BITMIME[nl]250-ENHANCEDSTATUSCODES[nl]250-PIPELINING[nl]250-CHUNKING[nl]250 SMTPUTF8"
"SMTPC" 952 151 "2020-04-25 16:23:29.255" "74.125.142.27" "SENT: MAIL FROM:<@ntillc.tk>"
"SMTPC" 5888 151 "2020-04-25 16:23:29.270" "74.125.142.27" "RECEIVED: 250 2.1.0 OK n27si3618559pgd.407 - gsmtp"
"SMTPC" 5888 151 "2020-04-25 16:23:29.271" "74.125.142.27" "SENT: RCPT TO:<@gmail.com>"
"SMTPC" 5284 151 "2020-04-25 16:23:29.726" "74.125.142.27" "RECEIVED: 250 2.1.5 OK n27si3618559pgd.407 - gsmtp"
"SMTPC" 5284 151 "2020-04-25 16:23:29.727" "74.125.142.27" "SENT: DATA"
"SMTPC" 952 151 "2020-04-25 16:23:29.741" "74.125.142.27" "RECEIVED: 354 Go ahead n27si3618559pgd.407 - gsmtp"
"SMTPC" 952 151 "2020-04-25 16:23:29.742" "74.125.142.27" "SENT: [nl]."
"SMTPC" 6400 151 "2020-04-25 16:23:30.458" "74.125.142.27" "RECEIVED: 250 2.0.0 OK 1587831810 n27si3618559pgd.407 - gsmtp"
"SMTPC" 6400 151 "2020-04-25 16:23:30.459" "74.125.142.27" "SENT: QUIT"
"SMTPC" 6652 151 "2020-04-25 16:23:30.474" "74.125.142.27" "RECEIVED: 221 2.0.0 closing connection n27si3618559pgd.407 - gsmtp"
"DEBUG" 6652 "2020-04-25 16:23:30.475" "Ending session 151"
"DEBUG" 5444 "2020-04-25 16:23:30.476" "External delivery process completed"
"DEBUG" 5444 "2020-04-25 16:23:30.477" "Summarizing delivery result"
"DEBUG" 5444 "2020-04-25 16:23:30.477" "AWStats::LogDeliverySuccess"
"DEBUG" 5444 "2020-04-25 16:23:30.488" "Summarized delivery results"
"DEBUG" 5444 "2020-04-25 16:23:30.491" "Deleting message"
"DEBUG" 5444 "2020-04-25 16:23:30.497" "Deleting message file."
"APPLICATION" 5444 "2020-04-25 16:23:30.498" "SMTPDeliverer - Message 19656: Message delivery thread completed."
- Attachments
-
- Screenshot_1.png (6.82 KiB) Viewed 1972 times
Re: DKIM Signing just not happening.
Not a configuration issue, as far as I can tell.
Generated by HMSSettingsDiagnostics v2.00, Hmailserver Forum.
Code: Select all
2020-04-25 Hmailserver: 5.6.7-B2425
DOMAINS
"Domain1.com" - maxx.ntxxxxxx.tk Enabled: True
|- "Alias1.com" - ntxxxxxx.tk
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
"Domain2.com" - maxx.ntxxxx.tk Enabled: True
|- "Alias2.com" - ntxxxx.tk
SIGNATURE LIMITS DKIM ADVANCED
Enabled: False Max size: 0 Enabled: True
Max message size: 0 Header: Relaxed Plus addressing: False
Max size of accounts: 0 Body: Relaxed
Algorithm: SHA256 Greylisting: False
Private key: c:\program files (x86)\hmailserver\data\Domain2.com\dkim.ntillc.tk.pem
Selector: dkim
-----------------------------------------------------------------------------------------------
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:
No entries
-----------------------------------------------------------------------------------------------
AUTOBAN
Autoban Enabled: True Max invalid logon attempts: 3
Minutes Before Reset: 30 (0.50 hours, 0.02 days)
Minutes to Autoban: 60 (1.00 hours, 0.04 days)
There is a total of 2 auto-ban IP ranges.
-----------------------------------------------------------------------------------------------
INCOMING RELAYS
No entries
-----------------------------------------------------------------------------------------------
MIRRORING Disabled
-----------------------------------------------------------------------------------------------
PROTOCOLS
SMTP
GENERAL DELIVERY RFC COMPLIANCE ADVANCED
No. Connections: 0 No Retries: 4 Mins: 1 Plain Text: False Bind:
Host: Domain2.com Empty sender: True Batch recipients: 100
Max Msg Size: 32000 Relay:- Incorrect endings: True Use STARTTLS: True
(none entered) Disc. on invalid: False Delivered-To hdr: False
Loop limit: 5
Recipient hosts: 15
Routes:
Domain2.com - S: Local R: Local - Addr: All !! TARGET RESOLVES TO SELF !!
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: False Check HELO host: False
Add X-HmailServer-Reason: False Check MX records: False
Add X-HmailServer-Subject: False Verify DKIM: False
Spam delete threshold: 20 Maximum message size: 1024
DNSBL ENTRIES:
zen.spamhaus.org Score: 3 Result: 127.0.0.2-8|127.0.0.10-11
bl.spamcop.net Score: 3 Result: 127.0.0.2
SURBL ENTRIES:
multi.surbl.org Score: 3
GREYLISTING:
Greylisting: False
WHITELISTING
No entries
-----------------------------------------------------------------------------------------------
ANTIVIRUS: No application configured.
Block Attachments: False
-----------------------------------------------------------------------------------------------
SSL CERTIFICATES
SSL
Certificate: C:\Program Files (x86)\hMailServer\Bin\neotitan.crt
Private key: C:\Program Files (x86)\hMailServer\Bin\neotitan.key
-----------------------------------------------------------------------------------------------
SSL/TLS
SSL 3.0 : True
TLS 1.0 : True
TLS 1.1 : True
TLS 1.2 : True 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: SSL
0.0.0.0 / 110 / POP3 - StartTLS Optional Cert: SSL
0.0.0.0 / 143 / IMAP - StartTLS Optional Cert: SSL
0.0.0.0 / 587 / SMTP - StartTLS Required Cert: SSL
-----------------------------------------------------------------------------------------------
LOGGING Logging Enabled: True
Paths:-
Current: C:\Program Files (x86)\hMailServer\Logs\hmailserver_2020-04-25.log
Error: C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2020-04-25.log
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: MySQL
IPv6 support is available in operating system.
Backup directory C:\Users\Administrator\Documents\HmailServerBackup 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:
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= MYSQL
Username= root
PasswordEncryption=1
Port= 3306
Server= localhost
Internal= 0
-----------------------------------------------------------------------------------------------
Re: DKIM Signing just not happening.
mmmm.... the hmailserver admin GUI says your domain is mail.ntillc.tk not ntillc.tk
You have ntillc.tk listed as domain alias, but a alias is not DKIM signed
Simply use ntillc.tk as domain, dump the mail.* alias..... or if you really need it for some weird reason, create a separate domain mail.ntillc.tk in hmailserver (with optionally his own DKIM, spf record etc)
You have ntillc.tk listed as domain alias, but a alias is not DKIM signed
Simply use ntillc.tk as domain, dump the mail.* alias..... or if you really need it for some weird reason, create a separate domain mail.ntillc.tk in hmailserver (with optionally his own DKIM, spf record etc)
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup
Re: DKIM Signing just not happening.
Does it matter since my username to sign in is mail.ntillc.tk?
Re: DKIM Signing just not happening.
Not exactly know what you mean with that
.... mail.ntillc.tk is the MX record (and A-record) to connect to the server, tw***en@ntillc.tk is the address/domain you are mailing from, not tw***en@mail.ntillc.tk
and as said, if you really need mail.ntillc.tk as domain create a separate domain in hmailserver, as you can not DKIM sign domain aliases
Last edited by RvdH on 2020-04-25 18:54, edited 1 time in total.
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup
Re: DKIM Signing just not happening.
Looks like it's trying to sign now and having an error.
Code: Select all
"APPLICATION" 5444 "2020-04-25 16:51:26.908" "SMTPDeliverer - Message 19660: Delivering message from @ntillc.tk to @neotitanllc.com. File: C:\Program Files (x86)\hMailServer\Data\{7B69B955-B082-4788-9BB7-2A80634FD4BC}.eml"
"DEBUG" 5444 "2020-04-25 16:51:26.908" "Applying rules"
"DEBUG" 5444 "2020-04-25 16:51:26.909" "Performing local delivery"
"DEBUG" 5444 "2020-04-25 16:51:26.910" "Local delivery completed"
"DEBUG" 5444 "2020-04-25 16:51:26.910" "Signing message using DKIM..."
"ERROR" 5444 "2020-04-25 16:51:26.913" "Severity: 3 (Medium), Code: HM4227, Source: File::ReadFile, Description: An unknown error occurred while reading file from disk."
"SMTPD" 5912 197 "2020-04-25 16:51:26.914" "98.146.216.209" "RECEIVED: QUIT"
"SMTPD" 5912 197 "2020-04-25 16:51:26.915" "98.146.216.209" "SENT: 221 goodbye"
"ERROR" 5444 "2020-04-25 16:51:26.915" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask', Message: Attempt to read from file which has not been opened."
"DEBUG" 5444 "2020-04-25 16:51:26.917" "Logging exception.."
"DEBUG" 4068 "2020-04-25 16:51:26.916" "Ending session 197"
"IMAPD" 5992 161 "2020-04-25 16:51:26.952" "98.146.216.209" "RECEIVED: DONE"
"IMAPD" 5992 161 "2020-04-25 16:51:26.966" "98.146.216.209" "SENT: 14 OK IDLE terminated"
"IMAPD" 4068 161 "2020-04-25 16:51:26.999" "98.146.216.209" "RECEIVED: 15 append "Sent" (\Seen) {7636}"
"IMAPD" 4068 161 "2020-04-25 16:51:27.000" "98.146.216.209" "SENT: + Ready for literal data"
"DEBUG" 5992 "2020-04-25 16:51:27.036" "Saving message: {7EDE6F35-611B-4A0E-AB01-A8DCE842BF95}.eml"
"IMAPD" 5992 161 "2020-04-25 16:51:27.051" "98.146.216.209" "SENT: 15 OK APPEND completed"
"IMAPD" 2848 161 "2020-04-25 16:51:27.153" "98.146.216.209" "RECEIVED: 16 IDLE"
"IMAPD" 2848 161 "2020-04-25 16:51:27.154" "98.146.216.209" "SENT: + idling"
"DEBUG" 2848 "2020-04-25 16:51:27.155" "The read operation failed. Bytes transferred: 0 Remote IP: 98.146.216.209, Session: 161, Code: 2, Message: End of file"
"DEBUG" 2848 "2020-04-25 16:51:27.156" "Ending session 161"
"ERROR" 5444 "2020-04-25 16:51:27.790" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2020-04-25 165126_{721F76F6-343D-4A18-94F4-4DFF41C40E7C}.dmp"
"DEBUG" 5444 "2020-04-25 16:51:27.792" "Completed logging of exception..."
Re: DKIM Signing just not happening.
Does the file c:\program files (x86)\hmailserver\data\ntillc.tk\dkim.ntillc.tk.pem exist?
You also seem to be signing it with dkim.ntillc.tk.pem, that doesn't look like to be the private key
verify the dkim.ntillc.tk.pem has not
-----BEGIN PUBLIC KEY-----
...
-----END PUBLIC KEY-----
But uses
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
in it
You also seem to be signing it with dkim.ntillc.tk.pem, that doesn't look like to be the private key
verify the dkim.ntillc.tk.pem has not
-----BEGIN PUBLIC KEY-----
...
-----END PUBLIC KEY-----
But uses
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
in it
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup
Re: DKIM Signing just not happening.
Looks like it was a file permission issue, no problems with the formatting.
I changed the owner from Admin to Users and gave it full control of the file.
Issue has been fixed.
Thanks!
I changed the owner from Admin to Users and gave it full control of the file.
Issue has been fixed.
Thanks!
Re: DKIM Signing just not happening.

CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup