Thanks to Directadmin for helping me with the script to auto add all new domains to the /etc/virtual/use_rbl_domains file for spamblocking. I have added the script below if anyone else would like to use it.
Addto
/usr/local/directadmin/scripts/custom/domain_create_post.sh
#!/bin/sh
echo $domain >> /etc/virtual/use_rbl_domains
exit 0;
Rmday
Addto
/usr/local/directadmin/scripts/custom/domain_create_post.sh
#!/bin/sh
echo $domain >> /etc/virtual/use_rbl_domains
exit 0;
Rmday