Version 1.674
Released: 2025-02-??
access_host
to directadmin.conf
improved
Migrate Move access_host...
field values to directadmin.conf
field db_default_access_hosts
as comma separated values. The field defines a list of default access hosts to use. This migration cleans up conf/mysql.conf
file responsibily to solely contain connection details.
Example:
da config-set db_default_access_hosts 'localhost,123.123.123.%'
improved
dns_create_post extra variables for restores/dnssecThe dns_create_post
hook is triggered by the adding of a zone to the named.conf
file. During a restore, a plain domain is first created (domain.com.db
), but if it was signed in the backup, it's swapped to the signed variant, domain.com.db.signed
, which triggers a 2nd call to the hook. This change adds 2 extra variables to the hook:
zone_existed=0|1 : if the line was already present or not
skip_template=0|1 : if the call is being triggered by a restore, this will be 1.
improved
All hooks now use isolated set of environmental variablesThe hook scripts system has been updated to set all environmental variables after the fork, in a cleaner, more isolated manner. Global variables in DA will still be passed as before.
redis_enabled
flag to user.conf
improved
Add This flag is used to enable user redis service after user reactivation after suspend or migration.
MAIL FROM
and From:
header improved
Rspamd Whitelist/Blacklist *@domain.com: block both The per-User Rspamd Whitelist/Blacklist previously used a check on the from
Rspamd value, which checks the MAIL FROM
smtp-time value. This hostname might not be from the @domain.com
sender, but perhaps a 3rd party sending server, possibly @sender.domain.com
, thus the *@domain.com
wildcard blacklist might not match. This change is to duplicate the fred_whitelist
and fred_blacklist
sections in /etc/rspamd/users.d/fred.conf
, to also have fred_mime_whitelist
and fred_mime_blacklist
, where these new sections will check the from_mime
value, representing a check on the From:
header. Checking both the smtp and mime values will be more likely to match the blacklist/whitelist checks, avoiding confusion as to which value should be checked.
Template change: rspamd_setttins.conf
, with new tokens: blacklist_from_mime_list
and whitelist_from_mime_list
. The existing tokens: |CUSTOM10|
,|CUSTOM11|
,|CUSTOM12|
,|CUSTOM13|
are used twice, used again in the duplicated BL/WL sections.
Config changes will take effect the next time a User makes a change to these filters. If needed, you can rewrite all User rspamd configs with either of these commands:
da taskq --run='action=rewrite&value=rspamd'
da taskq --run='action=rewrite&value=rspamd&user=fred'
improved
Startips is now called after a network changeHistorically startips script was called once during the system startup. If network gets restarted - server looses all the IP addresses that are not defined in a system configuration. This change adds a script as a post hook to the network interface up action. Script executes the startips script only if startips.service is enabled.