MailScanner error

Hello, I am having trouble with MailWatch and MailScanner. What is causing these errors?

root@server-administrator:~# systemctl status mailscanner
● mailscanner.service - LSB: MailScanner daemon
     Loaded: loaded (/usr/lib/MailScanner/init/ms-init; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2024-10-22 21:25:00 UTC; 4s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 192559 ExecStart=/usr/lib/MailScanner/init/ms-init start (code=exited, status=0/SUCCESS)
   Main PID: 193137 (MailScanner: st)
      Tasks: 2 (limit: 9167)
     Memory: 155.4M
        CPU: 5.046s
     CGroup: /system.slice/mailscanner.service
             ├─193137 "MailScanner: starting children"
             └─193138 "MailScanner: waiting for messages"

Oct 22 21:24:59 server-administrator ms-init[193133]: Could not use Custom Function code /usr/share/MailScanner/perl/custom/SQLSpamSettings.pm, it could not be "require"d. Make sure the last line is "1;" and the module is correct with perl -wc (Error: Can't locate DBD/MariaDB.pm in @INC (you may need to install the DB>
Oct 22 21:24:59 server-administrator ms-init[193133]: BEGIN failed--compilation aborted at /usr/share/MailScanner/perl/custom/SQLSpamSettings.pm line 47.
Oct 22 21:24:59 server-administrator ms-init[193133]: Compilation failed in require at /usr/share/MailScanner/perl/MailScanner/Config.pm line 752.
Oct 22 21:24:59 server-administrator ms-init[193133]: ) at /usr/share/MailScanner/perl/MailScanner/Config.pm line 754.
Oct 22 21:24:59 server-administrator ms-init[193133]: Could not use Custom Function code /usr/share/MailScanner/perl/custom/SQLBlackWhiteList.pm, it could not be "require"d. Make sure the last line is "1;" and the module is correct with perl -wc (Error: Can't locate DBD/MariaDB.pm in @INC (you may need to install the >
Oct 22 21:24:59 server-administrator ms-init[193133]: BEGIN failed--compilation aborted at /usr/share/MailScanner/perl/custom/SQLBlackWhiteList.pm line 45.
Oct 22 21:24:59 server-administrator ms-init[193133]: Compilation failed in require at /usr/share/MailScanner/perl/MailScanner/Config.pm line 752.
Oct 22 21:24:59 server-administrator ms-init[193133]: ) at /usr/share/MailScanner/perl/MailScanner/Config.pm line 754.
Oct 22 21:25:00 server-administrator ms-init[192559]: MailScanner started with process id 193137
Oct 22 21:25:00 server-administrator systemd[1]: Started LSB: MailScanner daemon.