Wildcard for domainips with SpamBlocker 4.3.x

Version 1.48


DA will now set: *: where is the server IP, in your file: /etc/virtual/domainips if the feature is enabled: http://www.directadmin.com/features.php?id=1692 This lets you add a * character after the lsearch in the "interface" section, so it has a fallback IP. If you want to specify a different fallback IP, other than your server IP, you can set in the directadmin.conf with the variable: domainips_default_ip= can be an IPv6, if you wish, and if exim supports it. Both should also work: domainips_default_ip= ; 2001:0db8:85a3::8a2e:0370:7334 Future SpamBlocker updates should have the lsearch* set by default. For now, just add the * If you're on LAN, and you've set the lan_ip= variable, DA will use this instead of the server IP. If you don't like this value, then use the domainips_default_ip= option to set what you need. -------------------- TASK.QUEUE you can force a rewrite of the /etc/virtual/domainips file with: echo "action=rewrite&value=domainips" >> /usr/local/directadmin/data/task.queue -------------------- Note: this does not include: *.domain.com: for that, you'd have to replace lsearch with nwildlsearch in the exim.conf, where the interface is set with the domainips file.

Interested to try DirectAdmin? Get a 30-day Free Trial!