Configuring SMTP Authentication and Security (Port 25)

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
cshawky
New user
New user
Posts: 12
Joined: 2020-04-11 09:50

Configuring SMTP Authentication and Security (Port 25)

Post by cshawky » 2021-06-14 14:33

Hi
From thread viewtopic.php?f=7&t=35680 i digressed from the topic of SSL problems to configuring security and authentication in general, more so specific to the setup for Port 25 for server to server communication whilst maintaining best practice security.
Continuing from the above thread:
From jimimaseye:
port 25 must be enabled (mandatory) but authenticating must not be mandatory. We advise disabling authentication on port 25 completely as server to server comms will always be unauthenticated, and authenticated communication should be via (probable) port 587. (So, if someone is attempting to authenticate o port 25 they are likely to be undesirable.)
I'm still missing something...
As far as I am aware, connection security is separate to authentication and I have setup hMailServer accordingly.
I have:
  • TCP/IP port 25 SMTP Connection Security STARTTLS (Optional). So use of SSL/TLS should be optional. i.e. a secure connection is optional.
  • IP Ranges typical configuration:
    • Require SSL/TLS for authentication (i.e. do not authenticate on an insecure connection)
    • Require SMTP authentication on External to local e-mail addresses = false.
    • Require SMTP authentication on Local to external or local e-mail addresses = true
    • Allow deliveries for external to external e-mail addresses * = false
i.e.
  • another mail server may submit external mail without authenticating;
    all of my clients must authenticate in order to send emails;
    my server will not act as a relay (external to external)
    my server will only accept local emails and emails to/from local
Further:
We advise disabling authentication on port 25 completely as server to server comms will always be unauthenticated
Obviously server to server communication will be unauthenticated in terms of user accounts. It can be validated through SPF, DNS and SSL/TLS negotiation/validation.
Maybe I have misinterpreted all of the settings but I cannot see where one could follow your advice. There is no option to disable authentication on an individual port configuration. There is only the ability to enable secure connection.
All of my inbound email (that which I receive which is also what I expect) comes from secure connections on port 25 using STARTTLS.
I'm not keen to open up connectivity to all of those rogue connection attempts just to see what they might send me.
Would you care to clarify the terminology you are using and advise whether my settings as described above are compliant?

Thanks and BTW thanks for the previous replies - quite a quick turn around.
kind regards
Shawky

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

Re: Configuring SMTP Authentication and Security (Port 25)

Post by jimimaseye » 2021-06-14 15:31

Maybe I have misinterpreted all of the settings but I cannot see where one could follow your advice.
hMailServer.INI

Code: Select all

[Settings]
DisableAUTHList=25
If you can run and post the results to this please: viewtopic.php?f=20&t=30914 we will then have a clearer picture and will be able to guide clearer.
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: 21536
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Configuring SMTP Authentication and Security (Port 25)

Post by mattg » 2021-06-15 00:34

And what this stops is anyone from using port 25 to AUTH (including your known users)

The idea is that you get your known users to AUTH on port 587 (startTLS required) or port 465 (SSL/TLS)
The only people then that will try to AUTH on port 25 will be hackers and spammers
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

cshawky
New user
New user
Posts: 12
Joined: 2020-04-11 09:50

Re: Configuring SMTP Authentication and Security (Port 25)

Post by cshawky » 2021-06-15 11:04

Thanks jiminaseye
Shame https://www.hmailserver.com/documentati ... lesettings has no reference to parameter DisableAUTHList. General search comes up blank too. I hate trying to read fine print...

None the less, the setting has been added, hMailServer restarted and diag run as shown below.

This sounds good, so hopefully now my setup is complete in terms of SMTP Port 25.

Code: Select all

2021-06-15   Hmailserver: 5.6.8-B2538

DOMAINS

   "Domain1.com" - emxxxxxxxx.com                 Enabled: False

   "Domain2.com" - noxxxxxxx.com                  Enabled: False

   "Domain3.com" - noxxxxxxx.com.au               Enabled: False

   "Domain4.com" - shxxxx.com.au                  Enabled: True

SIGNATURE         LIMITS                       DKIM               ADVANCED
  Enabled: True    Max size:                0   Enabled: True      Catchall: chris@Domain4.com
  APPEND           Max message size:        0   Header:   Relaxed  Plus addressing: False
  Replies: False   Max size of accounts:    0   Body:     Relaxed
  Local:   False                                Algorithm: SHA256  Greylisting:     False
                                                Private key: c:\certbot\dkim\dkim.Domain4.com.private.pem
                                                Selector:    dkim

   "Domain5.com" - shxxxx.net                     Enabled: True

SIGNATURE         LIMITS                       DKIM               ADVANCED
  Enabled: True    Max size:             1000   Enabled: True      Catchall: chris@Domain4.com
  APPEND           Max message size:    15000   Header:   Relaxed  Plus addressing: False
  Replies:  True   Max size of accounts:  500   Body:     Relaxed
  Local:    True   Max no. of accounts:     3   Algorithm: SHA256  Greylisting:     False
                   Max no of aliases:      10   Private key: c:\certbot\dkim\dkim.Domain5.com.private.pem
                   Max no of Dist. Lists:   1   Selector:    dkim

   "Domain6.com" - thxxxxxxxxxx.com.au            Enabled: False
-----------------------------------------------------------------------------------------------

IP RANGES

IP: 127.0.0.1 - 127.0.0.1     Priority: 99     Name: My computer

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

  Allow Deliveries from                     Require Authentication from
     Local To Local       -  True              Local To Local       -  True
     Local To External    -  True              Local To External    -  True
     External To Local    -  True              External To Local    - False
     External To External - False           


IP: 112.213.37.236 - 112.213.37.236     Priority: 98     Name: My Computer IP

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

  Allow Deliveries from                     Require Authentication from
     Local To Local       -  True              Local To Local       -  True
     Local To External    -  True              Local To External    -  True
     External To Local    -  True              External To Local    - False
     External To External - False           


IP: 1.40.0.0 - 1.44.0.0     Priority: 90     Name: Optus NBN

  Allow connections                         Other
     SMTP:   True                              Antispam :   True
     POP3:   True                              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    -  True              External To Local    - False
     External To External - False           


IP: 185.55.116.145 - 185.55.116.145     Priority: 80     Name: SSL-Tools

  Allow connections                         Other
     SMTP:   True                              Antispam :   True
     POP3:   True                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     IMAP:   True                              SSL/TLS:    False

  Allow Deliveries from                     Require Authentication from
     Local To Local       -  True              Local To Local       -  True
     Local To External    -  True              Local To External    -  True
     External To Local    -  True              External To Local    - False
     External To External - False           


IP: 52.125.128.0 - 52.127.255.255     Priority: 25     Name: MSFT 52.125.128.0/23

  Allow connections                         Other
     SMTP:   True                              Antispam :   True
     POP3:   True                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     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    -  True              External To Local    - False
     External To External - False           


IP: 209.85.208.0 - 209.85.208.254     Priority: 21     Name: GMail 209.85.208.193

  Allow connections                         Other
     SMTP:   True                              Antispam :   True
     POP3:  False                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     IMAP:  False                              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    -  True              External To Local    - False
     External To External - False           


IP: 74.125.0.0 - 74.125.255.255     Priority: 21     Name: GMail 74.125

  Allow connections                         Other
     SMTP:   True                              Antispam :   True
     POP3:  False                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     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    -  True              External To Local    - False
     External To External - False           


IP: 1.128.0.0 - 1.159.255.255     Priority: 20     Name: Telstra 1.128

  Allow connections                         Other
     SMTP:   True                              Antispam :   True
     POP3:  False                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     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    -  True              External To Local    - False
     External To External - False           


IP: 120.154.0.0 - 120.155.0.0     Priority: 20     Name: Telstra 120

  Allow connections                         Other
     SMTP:   True                              Antispam :   True
     POP3:   True                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     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    -  True              External To Local    - False
     External To External - False           


IP: 143.238.0.0 - 143.238.255.255     Priority: 20     Name: Telstra 143.238

  Allow connections                         Other
     SMTP:   True                              Antispam :   True
     POP3:   True                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     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    -  True              External To Local    - False
     External To External - False           


IP: 101.170.0.0 - 101.175.255.255     Priority: 20     Name: Telstra101

  Allow connections                         Other
     SMTP:   True                              Antispam :   True
     POP3:   True                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     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    -  True              External To Local    - False
     External To External - False           


IP: 123.209.0.0 - 123.209.255.255     Priority: 20     Name: Telstra123

  Allow connections                         Other
     SMTP:   True                              Antispam :   True
     POP3:   True                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     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    -  True              External To Local    - False
     External To External - False           


IP: 139.168.0.0 - 139.169.0.0     Priority: 20     Name: Telstra139

  Allow connections                         Other
     SMTP:   True                              Antispam :   True
     POP3:   True                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     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    -  True              External To Local    - False
     External To External - False           


IP: 14.202.0.0 - 14.202.255.255     Priority: 20     Name: TPG

  Allow connections                         Other
     SMTP:   True                              Antispam :   True
     POP3:   True                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     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    -  True              External To Local    - False
     External To External - False           


IP: 18.139.183.0 - 18.139.183.254     Priority: 15     Name: Ban 18.139.183.0

  Allow connections                         Other
     SMTP:  False                              Antispam :   True
     POP3:  False                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     IMAP:  False                              SSL/TLS:     True


IP: 83.68.0.0 - 83.68.255.255     Priority: 15     Name: Ban Austria 83.68

  Allow connections                         Other
     SMTP:  False                              Antispam :   True
     POP3:  False                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     IMAP:  False                              SSL/TLS:     True


IP: 120.76.0.0 - 120.76.255.255     Priority: 15     Name: Ban China: mail@shawky.net

  Allow connections                         Other
     SMTP:  False                              Antispam :  False
     POP3:  False                              Antivirus:  False
     IMAP:  False                              SSL/TLS:    False


IP: 144.76.0.0 - 144.76.255.255     Priority: 15     Name: Ban France: 144.76

  Allow connections                         Other
     SMTP:  False                              Antispam :   True
     POP3:  False                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     IMAP:  False                              SSL/TLS:     True


IP: 101.255.0.0 - 101.255.255.255     Priority: 15     Name: Ban Jakarta 101.255

  Allow connections                         Other
     SMTP:  False                              Antispam :   True
     POP3:  False                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     IMAP:  False                              SSL/TLS:     True


IP: 89.108.0.0 - 89.108.255.255     Priority: 15     Name: Ban Russia 89.108

  Allow connections                         Other
     SMTP:  False                              Antispam :   True
     POP3:  False                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     IMAP:  False                              SSL/TLS:     True


IP: 45.125.0.0 - 45.125.255.255     Priority: 15     Name: Ban Sham Wam 45.125

  Allow connections                         Other
     SMTP:  False                              Antispam :   True
     POP3:  False                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     IMAP:  False                              SSL/TLS:     True


IP: 193.169.0.0 - 193.169.255.255     Priority: 15     Name: Ban Warsaw 193.169

  Allow connections                         Other
     SMTP:  False                              Antispam :   True
     POP3:  False                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     IMAP:  False                              SSL/TLS:     True


IP: 5.188.206.204 - 5.188.206.204     Priority: 10     Name: Ban 5.188.206.204

  Allow connections                         Other
     SMTP:  False                              Antispam :  False
     POP3:  False                              Antivirus:  False
     IMAP:  False                              SSL/TLS:    False


IP: 78.128.113.0 - 78.128.113.255     Priority: 10     Name: Ban 78.128.113

  Allow connections                         Other
     SMTP:  False                              Antispam :  False
     POP3:  False                              Antivirus:  False
     IMAP:  False                              SSL/TLS:    False


IP: 91.191.209.0 - 91.191.209.255     Priority: 10     Name: Ban: 91.191.209

  Allow connections                         Other
     SMTP:  False                              Antispam :  False
     POP3:  False                              Antivirus:  False
     IMAP:  False                              SSL/TLS:    False


IP: 62.87.116.90 - 62.87.116.90     Priority: 10     Name: Ban: info 62.87.116.90

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


IP: 0.0.0.0 - 255.255.255.255     Priority: 1     Name: Internet SMTP In Only

  Allow connections                         Other
     SMTP:   True                              Antispam :   True
     POP3:  False                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     IMAP:  False                              SSL/TLS:     True

  Allow Deliveries from                     Require Authentication from
     Local To Local       -  True              Local To Local       -  True
     Local To External    - False           
     External To Local    -  True              External To Local    - False
     External To External - False           


------------------------------------------------------
AUTOBANNED Local Addresses:
    No entries

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

AUTOBAN
  Autoban Enabled: True       Max invalid logon attempts:      1
                              Minutes Before Reset:       100000  (1,666.67 hours, 69.44 days)
                              Minutes to Autoban:          10000  (166.67 hours, 6.94 days)

No problems were found in the IP range configuration.
-----------------------------------------------------------------------------------------------

INCOMING RELAYS
   No entries
-----------------------------------------------------------------------------------------------

MIRRORING         Disabled
-----------------------------------------------------------------------------------------------

PROTOCOLS

SMTP
GENERAL             DELIVERY                  RFC COMPLIANCE            ADVANCED
No. Connections: 15  No Retries:  5 Mins: 15   Plain Text:         True  Bind: 
                     Host: EXTERNAL.TLD        Empty sender:       True  Batch recipients:    15
Max Msg Size: 20480  Relay:-                   Incorrect endings:  True  Use STARTTLS:      True
                     (none entered)            Disc. on invalid:   True  Delivered-To hdr: False
                                               Max number commands:   3  Loop limit:           5
                                                                         Recipient hosts:     15
  Routes:
     No routes defined.

POP3
  No. Connections: 2

IMAP
 GENERAL                   PUBLIC FOLDERS                    ADVANCED
  No. Connections:  10      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:                  7       Use SPF:            True - 3    Use Spamassassin:   False
  Add X-HmailServer-Spam:     True    Check HELO host:    True - 2
  Add X-HmailServer-Reason:   True    Check MX records:   True - 2
  Add X-HmailServer-Subject:  True    Verify DKIM:        True - 5
              Subject Text: "[SPAM]"
  Spam delete threshold: 100         Maximum message size: 10240

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
            b.barracudacentral.org      Score: 5     Result: 127.0.0.*

SURBL ENTRIES:
                   multi.surbl.org      Score: 3

GREYLISTING:
  Greylisting:   True       Defer mins: 7       Days Unused: 2      Days Used: 72
                            Bypass SPF: True     Bypass A/MX: True

Greylist WHITELIST ENTRIES:
   No entries

Greylist DOMAINS enabled:
  !! No active domains enabled - GREYLISTING INEFFECTIVE !!

WHITELISTING
   No entries
-----------------------------------------------------------------------------------------------

ANTIVIRUS:  No application configured.

  Block Attachments: True
               *.bat             Batch processing file
               *.cmd             Command file for Windows NT
               *.com             Command
               *.cpl             Windows Control Panel extension
               *.csh             CSH script
               *.dll             Dynamic Link Library
               *.exe             Executable file
               *.hta             Microsoft HTML script
               *.inf             Setup file
               *.js              Java Script
               *.lnk             Windows link file
               *.msi             Windows Installer file
               *.msp             Windows Installer patch
               *.reg             Registration key
               *.scf             Windows Explorer command
               *.scr             Windows Screen saver
               *.vbs             Visual Basic Script
               *.wsf             Windows Scripting
-----------------------------------------------------------------------------------------------

SSL CERTIFICATES
   CertBot Live
       Certificate: C:\Certbot\live\Domain4.com\cert.pem
       Private key: C:\Certbot\live\Domain4.com\privkey.pem
   CertBot Live Test
       Certificate: C:\Certbot\archive\Domain4.com\hMailServerFullChain.pem
       Private key: C:\Certbot\archive\Domain4.com\privkey1.pem
   WinCertes 20210407
       Certificate: C:\Certbot\archive\Domain4.com\Expired\sydneyv1.Domain4.com - Copy.cer
       Private key: C:\Certbot\archive\Domain4.com\Expired\sydneyv1.Domain4.com - Copy.key
   WinCertes 20210622
       Certificate: C:\Certbot\archive\Domain4.com\Expired\sydneyv1.Domain4.com.cer
       Private key: C:\Certbot\archive\Domain4.com\Expired\sydneyv1.Domain4.com.key
-----------------------------------------------------------------------------------------------

SSL/TLS
             TLS 1.0 :  False
             TLS 1.1 :  False
             TLS 1.2 :   True
             TLS 1.3 :   True                Verify Remote SSL/TLS Certs:   True
SslCipherList  :

ECDHE-RSA-AES128-GCM-SHA256     - ECDHE-ECDSA-AES128-GCM-SHA256   - ECDHE-RSA-AES256-GCM-SHA384     
ECDHE-ECDSA-AES256-GCM-SHA384   - DHE-RSA-AES128-GCM-SHA256       - DHE-DSS-AES128-GCM-SHA256       
kEDH+AESGCM                     - ECDHE-RSA-AES128-SHA256         - ECDHE-ECDSA-AES128-SHA256       
ECDHE-RSA-AES128-SHA            - ECDHE-ECDSA-AES128-SHA          - ECDHE-RSA-AES256-SHA384         
ECDHE-ECDSA-AES256-SHA384       - ECDHE-RSA-AES256-SHA            - ECDHE-ECDSA-AES256-SHA          
DHE-RSA-AES128-SHA256           - DHE-RSA-AES128-SHA              - DHE-DSS-AES128-SHA256           
DHE-RSA-AES256-SHA256           - DHE-DSS-AES256-SHA              - DHE-RSA-AES256-SHA              
ECDHE-ECDSA-RC4-SHA             - AES128-GCM-SHA256               - AES256-GCM-SHA384               
AES128                          - AES256                          - HIGH                            
!aNULL                          - !eNULL                          - !EXPORT                         
!DES                            - !3DES                           - !MD5                            
!PSK;                           
-----------------------------------------------------------------------------------------------

TCPIP PORTS                                         Connection Sec
               112.213.37.236  / 25    / SMTP   -   StartTLS Optional   Cert: CertBot Live
               112.213.37.236  / 587   / SMTP   -   SSL/TLS             Cert: CertBot Live
               112.213.37.236  / 993   / IMAP   -   SSL/TLS             Cert: CertBot Live
               112.213.37.236  / 995   / POP3   -   SSL/TLS             Cert: CertBot Live
               112.213.37.236  / 996   / SMTP   -   SSL/TLS             Cert: CertBot Live
               127.0.0.1       / 25    / SMTP   -   StartTLS Optional   Cert: CertBot Live
               127.0.0.1       / 993   / IMAP   -   SSL/TLS             Cert: CertBot Live
-----------------------------------------------------------------------------------------------

LOGGING      Logging Enabled: True

  Paths:-
    Current:  C:\Program Files (x86)\hMailServer\Logs\hmailserver_2021-06-15.log
    Error:    C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2021-06-15.log
    Event:    C:\Program Files (x86)\hMailServer\Logs\hmailserver_events.log - Not present
    Awstats:  C:\Program Files (x86)\hMailServer\Logs\hmailserver_awstats.log
                        APPLICATION -    True
                        SMTP        -    True
                        POP3        -    True
                        IMAP        -    True
                        TCPIP       -    True
                        DEBUG       -    True
                        AWSTATS     -      .
-----------------------------------------------------------------------------------------------

SYSTEM TESTS

Database type: MSSQL Compact

IPv6 support is available in operating system.

Backup directory C:\ProgramData\hMailServer is writable.

Relative message paths are stored in the database for all messages.

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

HMAILSERVER.INI

[Directories]
Program folder:  C:\Program Files (x86)\hMailServer\
Database folder: C:\Program Files (x86)\hMailServer\Database
Data folder:     C:\Program Files (x86)\hMailServer\Data
Log folder:      C:\Program Files (x86)\hMailServer\Logs
Temp folder:     C:\Program Files (x86)\hMailServer\Temp
Event folder:    C:\Program Files (x86)\hMailServer\Events

[Database]
Type=              MSSQLCE
Username=           
PasswordEncryption=1
Port=              0
Server=             
Internal=          1

[Settings]
DisableAUTHList=25
-----------------------------------------------------------------------------------------------

Generated by HMSSettingsDiagnostics v2.01, Hmailserver Forum.
[/code]
kind regards
Shawky

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

Re: Configuring SMTP Authentication and Security (Port 25)

Post by jimimaseye » 2021-06-15 11:22

cshawky wrote:
2021-06-15 11:04
Shame https://www.hmailserver.com/documentati ... lesettings has no reference to parameter DisableAUTHList.
Because it's not official (it's secret except to users of the forum). More detail here: viewtopic.php?f=10&t=30900

Config report looks good. 👍
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

cshawky
New user
New user
Posts: 12
Joined: 2020-04-11 09:50

Re: Configuring SMTP Authentication and Security (Port 25)

Post by cshawky » 2021-06-15 11:40

Oooh Cool, secret society. I like it :)
Reminds of work, 24x7 support and ya just gotta know the secret "person's" business because it ain't documented. No pressure...
After 30 years of internet use, I still struggle with forum searches for information. I love the link, of course I should have searched for "hMailserver HIDDEN settings". Just made my day :D

Thanks for the help, concise and detailed information, this forum is well supported.
kind regards
Shawky

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

Re: Configuring SMTP Authentication and Security (Port 25)

Post by jimimaseye » 2021-06-15 11:55

cshawky wrote:
2021-06-15 11:40
I still struggle with forum searches for information
Tip: for the hmailserver forum search use Google (with "hmailserver" as the keyword or site) - don't use the forum search facility itself - its garbage.
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

palinka
Senior user
Senior user
Posts: 2792
Joined: 2017-09-12 17:57

Re: Configuring SMTP Authentication and Security (Port 25)

Post by palinka » 2021-06-15 13:02

cshawky wrote:
2021-06-15 11:04
Shame https://www.hmailserver.com/documentati ... lesettings has no reference to parameter DisableAUTHList.
Your link points to /documentation/v5.4/. Try "latest": https://www.hmailserver.com/documentati ... lesettings

Its there. :D

We could probably dump all the old documentation except for upgrading info. It does confuse goolag searches.

cshawky
New user
New user
Posts: 12
Joined: 2020-04-11 09:50

Re: Configuring SMTP Authentication and Security (Port 25)

Post by cshawky » 2021-06-15 13:09

What can I say, google search and hMailServer search...Dump the old documentation.
I selected latest, scrolled down and typed into the search field hMailServer.ini...searching sometimes requires the enquirer to know the answer in order to phrase the question correctly...Looking forward to all those driverless cars and busses...
kind regards
Shawky

User avatar
jim.bus
Senior user
Senior user
Posts: 716
Joined: 2011-05-28 11:49
Location: US

Re: Configuring SMTP Authentication and Security (Port 25)

Post by jim.bus » 2021-06-16 06:51

palinka wrote:
2021-06-15 13:02
cshawky wrote:
2021-06-15 11:04
Shame https://www.hmailserver.com/documentati ... lesettings has no reference to parameter DisableAUTHList.
Your link points to /documentation/v5.4/. Try "latest": https://www.hmailserver.com/documentati ... lesettings

Its there. :D

We could probably dump all the old documentation except for upgrading info. It does confuse goolag searches.
Except there are all those users who haven't upgraded their hMailServer in years and then wouldn't be able to find perhaps the documentation for their version. I know it is a pain to find out you are looking at old Documentation (Help) but I'm not sure about dumping all the old Documentation. Then the 'Latest' Documentation also has errors in it as well. I find these errors all the time.

User avatar
jim.bus
Senior user
Senior user
Posts: 716
Joined: 2011-05-28 11:49
Location: US

Re: Configuring SMTP Authentication and Security (Port 25)

Post by jim.bus » 2021-07-15 06:44

hMailServer Documentation for 'Latest' has under 'Ini-file settings' information about the Disable Auth settings. This can be found on the hMailServer.com website

See https://www.hmailserver.com/documentati ... lesettings

palinka also made reference above to this documentation I refer to with my link.

Post Reply