Originally Posted by Torch_za
When the backup runs via cron the code suggests an email is generated and sent to the 'responsible person'. Is it just me or does this not work? The backup runs - there are log file entries and tar files in the right place but no "Success" email. When I ran the code with a trace it looks like that line is never executed?
Using the latest script on 5 Debian ISPConfig3 servers.
You have to check your mail command. There are 2 lines in the script which are used to send mail. Just search for "mail -s"
You can test if the mail command works using some test command:
mail -s "Subject" "email@example.com" < "datatext"