DirectAdmin x509: certificate has expired

License check failure See the Debug GuideReason: request failed: Post “https://licensing.directadmin.com/start”: x509: certificate has expired or is not yet valid: current time 2022-10-26T11:51:22+03:00 is after 2021-09-30T14:01:15Z The issue is likely due to server CA root certificates being too old. If you are using Centos 7 which is still supported –…

Script: populating the domainips file for the exim automatically (DirectAdmin)

Script for populating /etc/virtual/domainips records for the exim. Exim configuration change is described here It takes IP that is assigned to that domain in Directadmin and adds it to the domainsip file. Here is the script (Please note: it always overwrites the domainips file!!!): #!/bin/sh LIST=`/bin/cat /etc/virtual/domainowners | tr -d…