You may be advised by forum helpers to run the script and copy/paste the resultant file contents in to a REPLY on your forum thread. Note: there is a prompt asking to include 'RULES'; please include them if asked to do so by your forum helper to help solve your problem (the default is to exclude them to save space).
When run just copy the report to a reply without any additional formatting - no formatting will be required (do not add 'quote' or 'code' tagging as it will already contain forum friendly formatting tags). Alternatively you may attach the .TXT report.
Please do not change or redact/obfuscate anything on the report - no sensitive information is disclosed (all domains and aliases are converted to pseudonyms).
To Run
Click on the Zip attachment to download, and click on to run the VBS script contained within (or run it from a command line). It must be run interactively as it will prompt for your password. Then follow the interactive prompts. When complete, paste the resultant report to your forum thread as a REPLY (no formatting necessary - it will already contain forum friendly formatting tags.)
How To Use
The report does a certain amount of configuration integrity checking and will advise accordingly. Search the resultant report for double exclamation marks ("!!") throughout - these will highlight any discrepancies or warnings that you should address.
E.g,
!! A lower case entry is a warning or advisory that might need addressing !!
!! IMPORTANT ERRORS IN CAPITALS NEED ATTENTION !!
NOTE: In the report "EXTERNAL.TLD" means an FQDN (domain) that is not hosted on your Hmailserver.
(There is nothing harmful or security compromising within the script or its results and you can run it as is. However, no one is forcing you to do so and you are free to read the script before running it to put your mind at ease....or even not to run it at all).
Example report:
Code: Select all
07/02/2017 12:37:05 Hmailserver: 5.7.0-B2373
DOMAINS
"Domain1.com" - grxxxxxx.hoxxxx.net Enabled: True
|- "Alias1.com" - jix.net
|- "Alias2.com" - maxx.grxxxxxx.net
SIGNATURE LIMITS DKIM ADVANCED
Enabled: True Max size: 123 Enabled: True Catchall: geoff@Alias3.com
OVERWRITE Max message size: 456 Header: Relaxed Plus addressing: True
Replies: True Max size of accounts: 789 Body: Relaxed Character: +
Local: True Max no. of accounts: 10 Algorithm: SHA256 Greylisting: True
Max no of aliases: 11 Private key file: c:\pathto\Domain1.com\dkimcertfile.pem
Max no of Dist. Lists: 12 Selector: dkim
"Domain2.com" - gruxxx.local Enabled: True
|- "Alias3.com" - jixxxxxxxx.com
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
-----------------------------------------------------------------------------------------------
GLOBAL RULES
1, serversendout Criteria: Use AND
From Contains serversendout
Custom: X-hMailServer-LoopCount Less Than 1
-----Actions-----
Run Function ServerSendOut
Stop Rule Processing
---------------------------------------------------------------------
2, Known Spam Criteria: Use OR
To Regular Expr (?i:^.*(emailsales@|fax@|bouncednotifications@).*$)
Custom: X-MYHEADER-1 Equals ValueX
-----Actions-----
Set Header Value X-SPAMCHECK = Yes
Move To Folder Spam Folder
-----------------------------------------------------------------------------------------------
ACCOUNT RULES for user1@Domain1.com:
1, to public folder Criteria: Use AND
Message Size Greater Than 0
-----Actions-----
Move To Folder #Public.Testpublic1
-----------------------------------------------------------------------------------------------
IP RANGES
IP: 192.168.0.200 - 192.168.0.200 Priority: 25 Name: CompanyB
Allow connections Other
SMTP: False Antispam : True
POP3: True !! Protocol DISABLED !! Antivirus: True
IMAP: False SSL/TLS: False
IP: 127.0.0.1 - 127.0.0.1 Priority: 15 Name: My computer
Allow connections Other
SMTP: True Antispam : False
POP3: False Antivirus: False
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
IP: 0.0.0.0 - 255.255.255.255 Priority: 10 Name: Internet
Allow connections Other
SMTP: True Antispam : False
POP3: True !! Protocol DISABLED !! Antivirus: False
IMAP: True SSL/TLS: True
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 - False !! Inbound on Sub IP ranges or External Downloads only !!
External To External - False
!! Warning: DEFAULT DOMAIN is SET !! - "Alias2.com"
------------------------------------------------------
AUTOBANNED Local Addresses:
192.168.0.48 Expires : 10/03/2017 13:54:39
172.16.1.2 Expires : 10/03/2017 13:56:19
-----------------------------------------------------------------------------------------------
AUTOBAN
Autoban Enabled: True Max invalid logon attempts: 2
Minutes Before Reset: 1 (0.02 hours, 0.00 days)
Minutes to Autoban: 527520 (8,792.00 hours, 366.33 days)
There is a total of 11 auto-ban IP ranges.
-----------------------------------------------------------------------------------------------
INCOMING RELAYS
1.1.1.1 - 2.2.2.2
3.3.3.3 - 4.4.4.14
-----------------------------------------------------------------------------------------------
MIRRORING user@maxx.ouxxx.com
-----------------------------------------------------------------------------------------------
PROTOCOLS
SMTP
GENERAL DELIVERY RFC COMPLIANCE ADVANCED
No. Connections: 0 No Retries: 4 Mins: 5 Plain Text: False Bind: 123.321.118.811
Host: !! Blank !! Empty sender: True Batch recipients: 100
Max Msg Size: 20480 Relay:- Incorrect endings: True Use STARTTLS: True
EXTERNAL.TLD (ok) Disc. on invalid: True Delivered-To hdr: False
Port: 587 Max number commands: 2 Loop limit: 5
Req Auth: True !! NO USER SET !! Recipient hosts: 15
Con. Sec.: StartTLS Optional
Routes:
Domain2.com - S: Local R: Local - Addr: All (ok)
Alias1.com - S: Local R: Local - Addr: All (ok)
rexxxxx.hoxxxx.net - S: Remote R: Local - Addr: Selective !! NO ADDRESSES LISTED !!
daxxxx.hoxxxx.net - S: Remote R: Local - Addr: All !! Target does not resolve !!
yaxxx.com - S: Remote R: Remote - Addr: All (ok)
itxxx.com - S: Remote R: Remote - Addr: All !! RESOLVES TO SELF by HOST file entry !!
POP3
!! Service Not Enabled !!
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: True - 3 Use Spamassassin: True
Add X-HmailServer-Spam: True Check HELO host: True - 2 Hostname: 127.0.0.1
Add X-HmailServer-Reason: True Check MX records: True - 2 Port: 783
Add X-HmailServer-Subject: True Verify DKIM: True - 5 Use SA score: False - 5
Subject Text: "[SPAM]"
Spam delete threshold: 20 Maximum message size: 1024
DNSBL ENTRIES:
zen.spamhaus.org Score: 5 Result: 127.0.0.2-8|127.0.0.10-11
bl.spamcop.net Score: 3 Result: 127.0.0.2
zz.countries.nerd.dk Score: 5 Result: 127.0.0.158|127.0.2.131|127.0.2.198
b.barracudacentral.org Score: 2 Result: 127.0.0.2
hostkarma.junkemailfilter.com Score: 2 Result: 127.0.0.2|127.0.0.4
bl.spameatingmonkey.net Score: 2 Result: 127.0.0.2-3
cbl.abuseat.org Score: 2 Result: 127.0.0.2
SURBL ENTRIES:
No 'enabled' entries
GREYLISTING:
Greylisting: True Defer mins: 30 Days Unused: 1 Days Used: 36
Bypass SPF: False Bypass A/MX: False
Greylist WHITELIST ENTRIES:
IP Address: 12.34.58.76
Greylist DOMAINS enabled:
Domain1.com
|-- Alias1.com
|-- Alias2.com
WHITELISTING
0.0.0.0 to 255.255.255.255 user[@t]email[dot]com
8.8.8.8 to 8.8.8.8 someone[@t]gmail[dot]com
----------------------------------------------------------------------------------------------
ANTIVIRUS
GENERAL:
When found - Delete Attachments
Max Message Size: 26214
CLAM AV: True !!!! CONFLICT !!!! Hostname: localhost Port: 3310
CLAMWIN: True !!!! CONFLICT !!!! Executable: C:\ClamWin\bin\clamscan.exe Path: C:\ProgramData\.clamwin\db
CUSTOMAV: False
Block Attachments: True
*.bat Batch processing file
*.cmd Command file for Windows NT
*.com Command
*.cpl Windows Control Panel extension
*.csh CSH script
*.exe Executable file
*.inf Setup file
*.lnk Windows link file
*.msi Windows Installer file
*.msp Windows Installer patch
*.pif Program Information file
*.reg Registration key
*.scf Windows Explorer command
*.scr Windows Screen saver
-----------------------------------------------------------------------------------------------
SSL CERTIFICATES
SSL1
Certificate: c:\program files (x86)\hmailserver\data\Domain1.com\dkim.Alias1.com.pem
Private key: c:\program files (x86)\hmailserver\data\Domain1.com\dkim.mydomain.pem
SSL2
Certificate: c:\program files (x86)\hmailserver\data\Domain1.com\dkim.mydomain.pem
Private key: c:\program files (x86)\hmailserver\data\Domain1.com\dkim.Alias1.com.pem
-----------------------------------------------------------------------------------------------
SSL/TLS
SSL 3.0 : False
TLS 1.0 : False
TLS 1.1 : True
TLS 1.2 : True
TLS 1.3 : True Verify Remote SSL/TLS Certs: False
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: SSL1
0.0.0.0 / 110 / POP3 - StartTLS Required Cert: SSL1
0.0.0.0 / 143 / IMAP - StartTLS Required Cert: SSL1
0.0.0.0 / 465 / SMTP - SSL/TLS Cert: SSL2
0.0.0.0 / 587 / SMTP - StartTLS Required !! NO CERTIFICATE SET !!
0.0.0.0 / 993 / IMAP - SSL/TLS Cert: SSL1
0.0.0.0 / 995 / POP3 - SSL/TLS Cert: SSL2
:: / 25 / SMTP - None
:: / 143 / IMAP - StartTLS Required Cert: SSL1
:: / 465 / SMTP - SSL/TLS Cert: SSL2
:: / 587 / SMTP - StartTLS Required !! NO CERTIFICATE SET !!
:: / 993 / IMAP - SSL/TLS Cert: SSL1
----------------------------------------------------------------------------------------------
LOGGING Logging Enabled: True
Paths:-
Current: C:\Program Files (x86)\hMailServer\Logs\hmailserver_2017-08-02.log - !! NOT PRESENT !!
Error: C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2017-08-02.log - !! LOG IS PRESENT !!
Event: C:\Program Files (x86)\hMailServer\Logs\hmailserver_events.log - Last Event: 05/02/2017
Awstats: C:\Program Files (x86)\hMailServer\Logs\hmailserver_awstats.log
APPLICATION - .
SMTP - True
POP3 - .
IMAP - .
TCPIP - .
DEBUG - .
AWSTATS - .
----------------------------------------------------------------------------------------------
SYSTEM TESTS
Database type: MSSQL Compact
IPv6 support is available in operating system.
Backup directory C:\Program Files (x86)\hMailServer\Database is writable.
Relative message paths are stored in the database for all messages.
There are 33 error logs in the log directory.
----------------------------------------------------
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
[settings]
QuickRetriesMinutes=7
DisableAUTHList=25
-----------------------------------------------------------------------------------------------
A reminder: the online documentation has a lot of information and explanations for problems you may be experiencing and may help you solve your problem quicker: https://www.hmailserver.com/documentati ... oting_tips