View Full Version : auto add all new domains to use_rbl_domains
rmday
03-11-2006, 10:14 PM
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
Superdeboer
03-15-2006, 04:31 AM
You could also make a symbolic link to the file domains in /etc/virtual
like:
/etc/virtual# ln -s domains use_rbl_domains
panamaspace
03-24-2006, 07:33 PM
Superdeboer's suggestion is good... if absolutely ALL your domains need Spamblocker.
If you have to pick and choose, (older customer might not want to have their e-mail blocked for whatever reason), then the automated solution to add them one by one is the way to go.
nobaloney
03-27-2006, 10:04 PM
We no longer recommend the symbolic link; it can cause problems for the SpamBlocker Plugin installation.
Jeff
panamaspace
03-27-2006, 10:12 PM
Jlasman,
If I may, I suggest you add this script to your SpamBlocker main post.
It is quite a useful addition and a major time saver.
Thanks! :)
nobaloney
03-28-2006, 12:29 AM
While we can install it with SpamBlocker plugin, we cannot install it in DA as we don't have control of the DA code.
Since DA staff wrote the script, they can of course add it to the base install :) .
Jeff
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.