BlockCracking 1.2 can automatically block specifc paths that send messages (TEMPLATES)

Version 1.48

Feature
Finished

Support for BlockCracking 1.2: http://files1.directadmin.com/services/blockcracking/ Changes to DA allow the new BC type "denied_path" in the mail_task.queue. Requires exim.pl version 20-beta2. BC 1.2 uses a new file: /etc/exim.blockcracking/script.denied_paths.txt which contains a list of exim nwildlsearch regex path values, for example: ^.*/wp-content/uploads.* and compares the sending path against it. If it matches, this path is dumped into the BC script block file: /var/spool/exim/blocked_script_paths just like bad sending scripts get for sending to too many bad recipients. The regex doesn't use a trailing / after the final path, eg, we cannot use: ^.*/wp-content/uploads/.* (this won't work) because the cwd that exim see doesn't end with "uploads/", it just ends in "uploads". This will run the logical risk of blocking something like: wp-contents/uploads-from-yesterday but... I can't really seeing this as being a major issue. Regardless, you should keep this in mind when selecting your regex. DA is notified via the exim.pl, and a message is sent out to notify everyone, in the same manner as before (same rules for script unblocking) ****************************************************** INSTALLATION: Use CustomBuild 2.0 to install BC 1.2 for you: http://help.directadmin.com/item.php?id=576 Requires: - DirectAdmin 1.48.0 (or pre-release binaries April 24, 2015+) - exim.conf 4.3.3+ - exim.pl 20-beta2+ ****************************************************** TEMPLATES: block_cracking_notice_denied_path.txt ****************************************************** RELATED: http://www.directadmin.com/features.php?id=1644 - BC 1.0 (nothing too useful here) http://www.directadmin.com/features.php?id=1645 - directadmin.conf variables to control unblocking http://www.directadmin.com/features.php?id=1744 - directadmin.conf variables to control who gets notified

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