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: 10053
Joined: 2011-09-08 17:48

SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-06 21:36

This VBS script (zipped in the attachment) provides a full diagnostic report detailing the Hmailserver setup for aiding analysis on problems relating to email receiving, transmission 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. 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).

HMSSettingsDiagnostics.zip
v2.01 18 May 2020
(13.17 KiB) Downloaded 3420 times

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

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


Generated by HMSSettingsDiagnostics v2.01, 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
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-06 23:44

1.14 Removed unnecessary Delivery authentication (when Delivery allowed = false)
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-07 01:19

1.15 Fixed "Require SSL/TLS" missing.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-07 13:28

1.16
WHITELISTING entries added
Slight reorganisation of appearance order
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-07 14:35

1.18
TCPIP ports added
System tests added
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-07 16:45

1.19
Added warning for unmasked password entry.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-07 23:03

1.20
Fix to make end acknowledgement compatible to all OS's.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-08 12:06

v1.23
Added "Generated by...." footer
Renamed the script file
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-08 15:44

v1.24
Rewording of end acknowledgement message.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-09 02:35

v1.25
LOGGING status added.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-09 12:58

v1.26 End MSGBOX dialogue implemented (instead of INPUTBOX)
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-09 16:41

v1.27
Code tidy up
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-10 01:27

v1.28
Enable correct 'Connection Security' settings for TCPIP Ports.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-10 16:01

v1.30
Added listing of AUTOBANNED addresses that match local/private addresses
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-10 17:10

v1.31
Added AUTOBAN SETTINGS
added INCOMING RELAYS
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-11 02:21

v1.33
bug fix
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-11 14:21

v1.34
Make it language neutral - all output is in english
Minor formatting alignment changes
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-11 16:16

v1.35
Added abort/cancel option to backout of script , and blank input check, when prompted for password.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-12 01:22

v1.36
Increase AUTOBAN settings to accommodate years worth of minutes.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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')
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-15 23:50

v1.40
Rectified a few missing 'translate to english' booleans.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-21 13:36

v1.43
Minor text alignment adjustment.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-24 00:42

v1.44
Minor formatting fix.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-02-25 13:01

v1.45 Autoban IP range count moved to AUTOBAN section
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-03-03 20:16

v1.46
Added "DEFAULT DOMAIN = SET" warning below ip ranges (where applicable)
5.7 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: 6308
Joined: 2006-08-21 15:38
Location: Denmark

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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.

Woke is Marxism advancing through Maoist cultural revolution.

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

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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.
5.7 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: 6308
Joined: 2006-08-21 15:38
Location: Denmark

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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.

Woke is Marxism advancing through Maoist cultural revolution.

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

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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).
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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)
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-03-15 22:04

v1.48
Bug fix (remove duplication of the last IP Range introduced in v1.46)
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-04-20 20:11

v1.49
Removed errorchecking. (ON ERROR RESUME NEXT)
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-07-04 13:43

v1.50
Added Hmailserver.INI entries at bottom of report. (passwords not disclosed)
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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?!)
5.7 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: 22435
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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').
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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).
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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: "."
-----------------------------------------------------------------------------------------------
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-08-01 17:11

v1.62 Added domain masking exception for "local" (along with 'com' and 'net')
5.7 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: 22435
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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)
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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)
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-08-10 16:50

v1.67
Added PROTOCOLS section (includes showing smtp settings)
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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).
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-08-11 12:31

v1.69
* minor display change (ensuring all necessary warnings/notifications have double exclamation "!!" for easy searching).
5.7 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: 2071
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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.

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

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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.
5.7 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: 3231
Joined: 2008-06-27 14:42
Location: The Netherlands

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup

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

Re: SETTINGS DIAGNOSTIC REPORT

Post by 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.
RvdH wrote:Can't the output not be placed in 'Current Directory'? ....hate i have to browse to %TEMP% every time ;)
The script was designed to open the report automatically after run (by association of .TXT).

In other words, when I run it and click OK to acknowledge, it automatically opens NOTEPAD (which is my association application to .TXT files) and displays the report (making it easy to then do a quick ctrl-A/'select all' to paste in to the forum). This way the location of the file wasnt important and shouldnt need to be found. It was also chosen to send to the TEMP folder because it is technically a temporary file and hopefully subjected to the usual housekeeping of the temp directory that the user performs and there should be no folder permission problems for saving it.
5.7 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: 10053
Joined: 2011-09-08 17:48

Re: SETTINGS DIAGNOSTIC REPORT

Post by jimimaseye » 2017-08-18 08:50

v 1.71
* Added note if no domains are entered

Code: Select all

DOMAINS
     (No Domains Entered)

-----------------------------------------------------------------------------------------------
5.7 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

Locked