Version 1.669

Released: 2024-10-??

Fixed width font for server TLS upload page's inputs evolution improved

The font used for server TLS upload page's inputs has been changed to one whose letters and characters each occupy the same amount of space.

Removed php[2-9]_mode options from CustomBuild options.conf file custombuild improved

CustomBuild configuration file options.conf will no longer keep php2_mode, php3_mode, etc. options. The only option used for PHP mode configuration will be php1_mode. This will make configuration file simpler and shorted.

Removed options are no longer needed because CustomBuild does not support multiple PHP modes since version 1.667.

Spam scanning will be activated by default if allowed improved

If a User is created with the spam option set to ON, this change will now activate Spam Scanning for the User's by default. If the User then creates a second domain, it will use the settings from the first/main domain from the account.

Also, a new optional template can be created to override the internal defaults:

/usr/local/directadmin/data/templates/custom/spam_defaults.json

A sample of this file might look like:

{
        "required_hits" : "3.5",
        "high_score" : "8",
        "high_score_block" : "yes",
        "rewrite_subject" : "1",
        "subject_tag" : "***SPLAM***",
        "whitelist_from" : [
                "always@delivered.com"
        ],
        "blacklist_from" : [
                "never@accept.com"
        ],
        "where" : "userspamfolder",
        "report_safe" : "2"
}

where only the variables that you wish to override need to be in this file. Using this template will remove any need for the hook scripts How to enable SpamAssassin for new users

More informative licensing errors for legacy skins improved

When DirectAdmin encounters licensing problems (missing license, expired license, etc.), a detailed explanation of the problem and how to fix it used to be shown. But only if Evolution skin is used. In Enhanced or other legacy skins, a blank page with a generic error used to be shown.

The way licensing errors are handled is now changed to always use Evolution skin.

/CMD_LOGIN refactor improved

CMD_LOGIN has been revorked to no longer create unfinished session:

main changes:

  • CMD_LOGIN no longer provides json response. For json response, use /api/login.
  • If two-step authentication is required, POST /CMD_LOGIN will now fail to create an unfinished session.
  • To use CMD_LOGIN with two-step authentication, new otp.code form field needs to be added to the request.
  • Error messages provided by CMD_LOGIN is now display possible reason for login failure.
  • CMD_ASK_TWOSTEP_AUTH is deprecated. It was used for unfinished sessions to display two-step authentication code input.
  • CMD_LOGIN can no longer be used for impersonation. Any attempt to do this will result with logout.

Software version changes custombuild improved

  • composer updated from 2.7.9 to 2.8.0
  • litespeed updated from 6.3.1-1 to 6.3.1-2
  • modsecurity_owasp_rules updated from 4.6.0 to 4.7.0
  • nginx updated from 1.27.1 to 1.27.2

Errors trying to create a forwarder with the "pipe" option evolution fixed

Trying to create or modify a forwarder when "pipe" option is selected and the input field contains some content no longer shows an error when submitting the form.

Redirection to statistics reports page evolution fixed

Pages such as Site Summary / Statistics / Logs and Subdomain Management now correctly display links to domain's webalizer/awstats reports page. The data within reports page is correctly loaded based on what awstats and webalizer values are configured to in DirectAdmin configuration settings (directadmin.conf).

Terminating long-running plugin requests fixed

Subprocesses started by the directadmin service used to ignore SIGTERM signals. This used to allow missbehaving plugin handlers to run for a very long time (longer than the default 10 minute limit) and cause problems when directadmin service needs to gracefully restart.

The issue is fixed by keeping the default SIGTERM handler for sub-processes.

Web terminal disconnects on invalid UTF-8 sequence fixed

On modern systems, opening the vim editor in the web terminal can cause the terminal session to close abruptly. The problem was caused by invalid UTF-8 sequences breaking the connection. Issue is fixed now.

Location of customized password change templates fixed

The location for custom HTML templates used in /CMD_CHANGE_EMAIL_PASSWORD and /CMD_CHANGE_FTP_PASSWORD is changed to be consistent with other customizations.

The old location for custom HTML files used to be:

  • ./data/templates/email_pass_change/custom/index.html
  • ./data/templates/ftp_pass_change/custom/index.html

Because these two files do not follow the general pattern of custom files being placed in the ./data/templates/custom directory, they would get automatically removed when DirectAdmin is updated.

The issue is fixed by changing the customized templates location to:

  • ./data/templates/custom/email_pass_change/index.html
  • ./data/templates/custom/ftp_pass_change/index.html

The update script will detect existing customizations in the old location and move them to the new location automatically.

Fixed Dovecot configuration when modern SSL mode is used custombuild fixed

When ssl_configuration=modern is set in the CustomBiold options.conf file, the Dovecot configuration used to get an empty ssl_cipher_list option in the /etc/dovecot/conf/ssl.conf file.

Empty option can cause dovecot configuration error. This option will be completely omitted to avoid it.

Removed Admin SSL Certificates page evolution removed

The Admin SSL certificates page (previously found under admin level -> Server Manager category -> Admin SSL -> View Certificates) has been removed. The View Certificates button that lead to the now removed page has been replaced with a button which says "Server TLS Certificate" and (as the name suggests) redirects to the Server TLS Certificate page.

Removed search from Refreshed layout menu grid evolution removed

The refreshed layout dashboard in menu grid mode will no longer have a quick search bar and user-level switch at the top of the page.

Access level switching should be performed in the right-side menu.

Refreshed layout dashboard

Removed the system_skin configuration option from directadmin.conf removed

The default Directamdin skin is now Evolution. The Directadmin service will always show Evolution login page, unless custom login page is found in templates directory

Custom login pages in these locations takes precedece over Evolution login page:

  • ./data/templates/login.html
  • ./data/templates/custom/login.html
Last Updated: