SETTINGS DIAGNOSTIC REPORT

This section contains scripts that hMailServer has contributed with. hMailServer 5 is needed to use these.
User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-06 21:36

SETTINGS DIAGNOSTIC REPORT
This VBS script (zipped in the attachment) provides a full diagnostic report detailing the Hmailserver setup for aiding analysis on problems relating to inbound emails and connections. It may be run in addition to the internal HMailserver DIAGNOSTIC report.

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 - just copy the report to a reply without any additional formatting - no formatting will be required. (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 to run on 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).

Tip: Search the resultant report for double exclamation marks ("!!") throughout - these will highlight any discrepancies or warnings that you should address.

(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
      |- Alias2.com

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

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: 192.168.0.200 - 192.168.0.200     Priority: 25     Name: CompanyB

  Allow connections                         Other
     SMTP:   True                              Antispam :   True
     POP3:   True !! Protocol DISABLED !!      Antivirus:   True
     IMAP:  False                              SSL/TLS:    False

  Allow Deliveries from                     Require Authentication from
     Local To Local       -  True              Local To Local       - False
     Local To External    - False           
     External To Local    -  True              External To Local    - False
     External To External - 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:  False                              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           
     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
-----------------------------------------------------------------------------------------------

PROTOCOLS

SMTP
GENERAL             DELIVERY                  RFC COMPLIANCE            ADVANCED
No. Connections:  0  No Retries:  4 Mins:  5   Plain Text:        False  Bind: 123.321.118.811
                     Host: Domain1.com         Empty sender:       True  Batch recipients:   100
Max Msg Size: 20480  Relay:-                   Incorrect endings:  True  Use STARTTLS:      True
                      EXTERNAL.TLD Port: 587   Disc. on invalid:   True  Delivered-To hdr: False
                     Req Auth: True            Max number commands:   2  Loop limit:           5
                     *User Entered*                                      Recipient hosts:     15
                     Con. Sec.: StartTLS Optional
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

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

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:
                   multi.surbl.org      Score: 3
-----------------------------------------------------------------------------------------------

WHITELISTING
              0.0.0.0            to    255.255.255.255              user@email.com
              8.8.8.8            to    8.8.8.8                      someone@gmail.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/TLS
             SSL 3.0 :  False
             TLS 1.0 :   True
             TLS 1.1 :   True
             TLS 1.2 :   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
               0.0.0.0         / 110   / POP3   -   StartTLS Required
               0.0.0.0         / 143   / IMAP   -   StartTLS Required
               0.0.0.0         / 465   / SMTP   -   SSL/TLS
               0.0.0.0         / 587   / SMTP   -   StartTLS Required
               0.0.0.0         / 993   / IMAP   -   SSL/TLS
               0.0.0.0         / 995   / POP3   -   SSL/TLS
               ::              / 25    / SMTP   -   None
               ::              / 143   / IMAP   -   StartTLS Required
               ::              / 465   / SMTP   -   SSL/TLS
               ::              / 587   / SMTP   -   StartTLS Required
               ::              / 993   / IMAP   -   SSL/TLS
----------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------


Generated by HMSSettingsDiagnostics v1.70, Hmailserver Forum.


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
Attachments
HMSSettingsDiagnostics.zip
v1.70
(9.1 KiB) Not downloaded yet
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-06 23:44

1.14 Removed unnecessary Delivery authentication (when Delivery allowed = false)
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-07 01:19

1.15 Fixed "Require SSL/TLS" missing.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-07 13:28

1.16
WHITELISTING entries added
Slight reorganisation of appearance order
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-07 14:35

1.18
TCPIP ports added
System tests added
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-07 16:45

1.19
Added warning for unmasked password entry.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-07 23:03

1.20
Fix to make end acknowledgement compatible to all OS's.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-08 02:03

v1.22
Now uses windows %temp% as output directory with timestamped filename.
Auto-launches default .TXT viewer upon completion.
Added 'generated' footer for authenticity.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-08 12:06

v1.23
Added "Generated by...." footer
Renamed the script file
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-08 15:44

v1.24
Rewording of end acknowledgement message.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-09 02:35

v1.25
LOGGING status added.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-09 12:58

v1.26 End MSGBOX dialogue implemented (instead of INPUTBOX)
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-09 16:41

v1.27
Code tidy up
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-10 01:27

v1.28
Enable correct 'Connection Security' settings for TCPIP Ports.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-10 13:21

v1.29
Expanded system tests to include Database type and Backup directory
Added ip range Names
Improved advisory upon Multiple AV enablement
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-10 16:01

v1.30
Added listing of AUTOBANNED addresses that match local/private addresses
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-10 17:10

v1.31
Added AUTOBAN SETTINGS
added INCOMING RELAYS
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-11 02:21

v1.33
bug fix
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-11 14:21

v1.34
Make it language neutral - all output is in english
Minor formatting alignment changes
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-11 16:16

v1.35
Added abort/cancel option to backout of script , and blank input check, when prompted for password.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-12 01:22

v1.36
Increase AUTOBAN settings to accommodate years worth of minutes.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-12 13:42

v1.37
Added crosscheck warning where IP RANGE has enabled a protocol that isnt enabled
Mod to formatting
SSL/TLS settings and cipher list added
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-12 23:02

v1.38
Allow RESUME on missing objects caused by running against out-dated HMS versions. Warning will display at footer of reporter.

Error 438. Out-dated version. Some fields or objects missing.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-14 16:46

v1.39
Remove unnecessary display of spamassassin settings when SA Enabled=false.
Make LOGGING enabled easier to see (obscure where 'false')
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-15 23:50

v1.40
Rectified a few missing 'translate to english' booleans.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-20 21:04

1.41
Antivirus hides irrelevant AV settings when no AV is configured.
Antivirus 'Block Attachments' added
Slight change to Exit message wording.
Fix: now error if incorrect password is entered rather than give empty report.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-21 00:10

v1.42
Warning given against IP RANGE where AV is enabled but antivirus is not configured.
Warning also if antispam is enabled but no 'Spam test' settings or spamassassin are set.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-21 13:36

v1.43
Minor text alignment adjustment.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-24 00:42

v1.44
Minor formatting fix.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-02-25 13:01

v1.45 Autoban IP range count moved to AUTOBAN section
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-03-03 20:16

v1.46
Added "DEFAULT DOMAIN = SET" warning below ip ranges (where applicable)
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
SorenR
Senior user
Senior user
Posts: 2281
Joined: 2006-08-21 15:38
Location: Denmark

Re: SETTINGS DIAGNOSTIC REPORT

Postby SorenR » 2017-03-04 15:10

jimimaseye wrote:v1.46
Added "DEFAULT DOMAIN = SET" warning below ip ranges (where applicable)

I wonder if this is a good time to ask for the Script AutoUpdate function ? :mrgreen:
SørenR.

The quantum rule of insecurity which states that the act of observing how vulnerable a host or service is changes the insecurity level of the service.

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-03-04 15:13

SorenR wrote:
jimimaseye wrote:v1.46
Added "DEFAULT DOMAIN = SET" warning below ip ranges (where applicable)

I wonder if this is a good time to ask for the Script AutoUpdate function ? :mrgreen:

What do you mean? (Sorry, I dont understand). BTW: Ive shown the entry on the example report above.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
SorenR
Senior user
Senior user
Posts: 2281
Joined: 2006-08-21 15:38
Location: Denmark

Re: SETTINGS DIAGNOSTIC REPORT

Postby SorenR » 2017-03-04 15:52

jimimaseye wrote:
SorenR wrote:
jimimaseye wrote:v1.46
Added "DEFAULT DOMAIN = SET" warning below ip ranges (where applicable)

I wonder if this is a good time to ask for the Script AutoUpdate function ? :mrgreen:

What do you mean? (Sorry, I dont understand). BTW: Ive shown the entry on the example report above.

It's been way too long time since I worked on phpBB but as I recall, the page title is equal to subject in first post so if you change the subject you also change page title...

So... If you include version number in first post subject this scriptlet should show it - and then you can compare to version hardcoded in script to inform about new version (half an autoupdate solution :wink: )

Code: Select all

Option Explicit

   '
   ' Assume subject in first post is: "v1.46, SETTINGS DIAGNOSTICS REPORT"
   '

   Dim sURL, sResponseText, sTitle, x, y, a
   Const sVersion = "v1.38"
   sURL = "https://www.hmailserver.com/forum/viewtopic.php?p=193073#p193073"

   With CreateObject("MSXML2.ServerXMLHTTP")
      .setoption(2) = (.getoption(2) & " - SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS")
      .open "GET", sURL, False
      .setrequestheader "User-Agent", "online link validator (http://www.dead-links.com/)"
      .send ("")
      sResponseText = LCase(.ResponseText)
   End With

   x = InStr(sResponseText, "<title>") +7
   y = InStr(sResponseText, "</title>")
   sTitle = Mid(sResponseText, x, y-x)
   a = Split(sTitle, ",")
   
   WScript.Echo "Current version is " & a(0) & ", Your version is " & sVersion
SørenR.

The quantum rule of insecurity which states that the act of observing how vulnerable a host or service is changes the insecurity level of the service.

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-03-04 16:20

I see.

I dont think it is too important with this particular script as by its nature it is really a 'one-off' usage script (for when we are trying to diagnose something on the forum) - that is to say that even if you have already downloaded it its not important to redo it because you (hopefully) shouldnt be needing it again. That is why I didnt bother putting version numbers in the title but instead make the version apparent in the attachment comment instead really for tracking to my updates).
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-03-12 12:11

v1.47
Expansion of Autoban minutes value to HOURS and DAYS conversion

Code: Select all

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)
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-03-15 22:04

v1.48
Bug fix (remove duplication of the last IP Range introduced in v1.46)
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-04-20 20:11

v1.49
Removed errorchecking. (ON ERROR RESUME NEXT)
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-07-04 13:43

v1.50
Added Hmailserver.INI entries at bottom of report. (passwords not disclosed)
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-07-27 02:13

v1.55
Added DOMAINS

* The routine lists all domains and, if ENABLED, the associated settings (where enabled) such as Signatures, DKIM, Greylisting enablement, Catchall etc.
* All domains and aliases (FQDN's) are 'substituted to DOMAIN1.com, DOMAIN2, ALIAS1.com, ALIAS2.com etc to protect privacy. Clues to the original domain are shown by displaying the first 2 characters only followed by "xxx".
* All substitutions are maintained throughout the report for every occurrence of the domain.

For example, real domain "jimimaseye.home.net" may be assigned to "Domain2.com" in the report and will appear as domain2.com. eg, If it appears as the catchall address "sally@jimimaseye.home.net" then it will be shown as "sally@domain2.com".

(Getting big, aint it?!)
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
mattg
Moderator
Moderator
Posts: 17113
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: SETTINGS DIAGNOSTIC REPORT

Postby mattg » 2017-07-27 02:57

For me (and this just may be for me) the DKIM file name also includes the FQDN for each of my domains. Unsure how hard that would be report with xxx's though
All of my .com.au domains look like abxxx.cox.au with the .com.au being changed to .cox.au

Another thing I'd like to see is in the logging section...
Which logging is enabled?
and if the paths actually contain the log file detailed (eg the error log is not created everyday, and only exists when an error has occurred. I can go weeks without one. Perhaps also a count of the number of 'old' log files in that directory, or even a 'size' of the log folder.


And, a count of messages in the root of the data directory, with a comparison to the number of messages in the queue.

Great work jimimaseye!!
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-07-27 12:08

v1.56 Addressed issue quoted below.

mattg wrote:For me (and this just may be for me) the DKIM file name also includes the FQDN for each of my domains. Unsure how hard that would be report with xxx's though
All of my .com.au domains look like abxxx.cox.au with the .com.au being changed to .cox.au


* any mention of the actual domain in the DKIM path or selector now also gets replaced with its pseudonym.
* Domain levels containing 2 letters (eg, .AU, .UK ) or is .COM or .NET do not get masked. (eg. mail1.com.au becomes maxxx.com.au).

Of course there is no distinction between 'mail1.company.com' and 'mail2.company.com' as they will both be listed as "maxxx.coxxxxx.com" - in these cases the Domain number in their pseudonym (eg. "Domain4"), and its placement in the list of domains, will help identify which is which in relation to how they appear within the default DOMAIN view in Admin.


Which logging is enabled?

Already included the report (from v1.25) at the bottom (just above 'SYSTEM TESTS').
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-07-27 12:21

v1.57 Minor fix to cater for uppercase path/filenames of DKIM certificate file (ensuring pseudonyms are still obtained).
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-07-27 12:54

v1.58
* Added warning if Domain Greylisting is enabled but Greylisting is not activated. ("Greylisting: !! ENABLED BUT NOT ACTIVATED!!")
* Moved domain = "Enabled: True/False" to the right of the Domain name, and removed a couple of blank lines below the each domain section, to save space in the report
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-07-27 21:51

v1.59
* Removed unnecessary blank space/blank lines from the DKIM and ADVANCED columns of 'DOMAINS'.





Still to come in upcoming version (I hope - when I can find the time):

Code: Select all

PROTOCOLS

SMTP
GENERAL             DELIVERY                  RFC COMPLIANCE            ADVANCED
No. Connections:  0  No Retries: 4  Mins: 5    Plain Text: False         Bind: 123.456.789.123
Max Msg Size: 20480  Host: Domain1.com         Empty sender: false       Batch recipients: 100
                     RELAY:                    Incorrect endings: false  Use STARTTLS: false
                      EXTERNAL.TLD  Port: 587  Disc. on invalid: false   Delivered-To hdr: false
                     Req Auth: true            Max number commands: 5    Loop limit: 5
                     NO USER SET! - NO PASS SET!                         Recipient hosts: 15
                     Connection: STARTTLS reqd

POP3
  No. Connections:  0

IMAP
GENERAL                    PUBLIC FOLDERS                   ADVANCED
  No. Connections:  0       Public folder name: #Public       IMAP sort:  false
                                                              IMAP Quota: false
                                                              IMAP Idle:  false
                                                              IMAP ACL:   false
                                                              Delim: "."
-----------------------------------------------------------------------------------------------
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-07-28 00:39

v1.61
* Added the default domain pseudonym where set
* Expanded the Hmailserver.INI listing to include [settings] section and to exclude REMMED (";") entries.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-08-01 17:11

v1.62 Added domain masking exception for "local" (along with 'com' and 'net')
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
mattg
Moderator
Moderator
Posts: 17113
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: SETTINGS DIAGNOSTIC REPORT

Postby mattg » 2017-08-01 23:17

mattg wrote:and if the paths actually contain the log file detailed (eg the error log is not created everyday, and only exists when an error has occurred. I can go weeks without one. Perhaps also a count of the number of 'old' log files in that directory, or even a 'size' of the log folder.


So we have just seen one where no logging is enabled, but the script listed the paths that the logs WOULD BE.
Can we check for existence (OR NOT) of this log file as well please.

just knowing that there is an error log would be helpful.

Perhaps could also include contents of today's error log (they change daily)...
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-08-02 02:07

v1.63

So we have just seen one where no logging is enabled, but the script listed the paths that the logs WOULD BE.
Can we check for existence (OR NOT) of this log file as well please.

just knowing that there is an error log would be helpful.


* Added warning ("!!! WARNING - NO LOGGING SELECTED !!!") if LOGGING is enabled but no individual logging is selected
* Added information warning against current log file path (in 'LOGGING') if no actual log exists for the present day (see report example)
* Added warning against ERROR log path (in 'LOGGING') if an error log exists (the existence may indicate an unknown problem)
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-08-02 10:58

v1.64

* bug fix to ERROR log warning to correct incorrect advice of its existence
* do not display unnecessary blank lines (as well as comments) in INI [settings] section
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-08-02 17:57

v1.65

* Added the Last Modified date to the EVENTS log file (in LOGGING) to identify the last write to the file (signifying scripting in use)
* Hide the 'Current' log file path if logging is disabled (continuing to display all other paths)
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-08-03 11:22

v 1.66
* reformatted 'Last Event' date and header "Run Date" to yyyy/mm/dd (international standard notation) to avoid confusion of regional locale-formatted dates.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-08-10 16:50

v1.67
Added PROTOCOLS section (includes showing smtp settings)
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-08-10 23:33

v1.68
* Bug fix to SMTP RELAYER display (was showing "EXTERNAL.TLD" even when left blank).
* Move 'SMTP Max Msg Size' down to the next line (easier reading).
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-08-11 12:31

v1.69
* minor display change (ensuring all necessary warnings/notifications have double exclamation "!!" for easy searching).
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
Dravion
Senior user
Senior user
Posts: 641
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: SETTINGS DIAGNOSTIC REPORT

Postby Dravion » 2017-08-15 08:29

Great work.

I think it would be cool Feature if you can add the info if HMS is running as Internetsite SMTP Server
(Standalone) or as Relayserver dependent.
My experimental builds of hMailserver 32/64-Bit+Unicode
https://github.com/Dravion/hmailserver/releases

HMSInfo 32/64-Bit
https://github.com/Dravion/HMSInfo/releases

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-08-15 08:45

Dravion wrote:Great work.

I think it would be cool Feature if you can add the info if HMS is running as Internetsite SMTP Server
(Standalone) or as Relayserver dependent.


Thanks.

The report is designed to be snapshot of settings at the time of running for diagnostic purposes and not really a 'this is what we think its purpose is' type of feedback. However, it does already report whether there are domains set up and what the SMTP settings are - collectively this should be sufficient for the reader (with the knowledge and understanding) to determine how this particular installation operates. The administrstor should already know the purpose of his machine and can always impart this intention to us in the forum whilst discussing his problem if necessary.

The report isnt really intended for the admin/user of the machine but more for us as helpers to help him. Changing just one setting and the whole report profile, and functionality of the server, can change. There is no added benefit to the admin of running the report betond using it with us on the forum unless he wants to take and record the final snapshot of his settings in print for documentation to accompany his backup.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
RvdH
Senior user
Senior user
Posts: 395
Joined: 2008-06-27 14:42
Location: Netherlands

Re: SETTINGS DIAGNOSTIC REPORT

Postby RvdH » 2017-08-17 15:35

Can't the output not be placed in 'Current Directory'? ....hate i have to browse to %TEMP% every time ;)

And did you see this remark?
Connection: None, Should read Connection Security: none (or just Security: None if previous is to long)
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

User avatar
jimimaseye
Moderator
Moderator
Posts: 6046
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Postby jimimaseye » 2017-08-17 20:31

v1.70

* Bug fix relating to 'DomainReveal' display error if no Domains or Aliases are present on the system.
* Change "Connection" to "Con. Sec." in SMTP Relay connection.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829


Return to “User contributed hMailServer 5 scripts”



Who is online

Users browsing this forum: No registered users and 1 guest