spam_script_chmod_0_post.sh

Version 1.48.0

Feature
Finished

Relating to: http://www.directadmin.com/features.php?id=1636 parse_php_mail_log_at_limit=2 When the script is chmod to 0, you can now to additional tasks, such as renaming the script. For this, create the custom script: /usr/local/directadmin/scripts/custom/spam_script_chmod_0_post.sh and chmod the script to 700. (run as root) Env variables: script=/home/fred/path/to/spam.php username=fred Sample script to rename a file: #!/bin/sh mv ${script} ${script}.${username}.spam RET=$? exit $RET

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