View Single Post
  #45  
Old 30th May 2010, 18:55
go0ogl3 go0ogl3 is offline
Member
 
Join Date: Jul 2008
Posts: 73
Thanks: 5
Thanked 39 Times in 6 Posts
Default

Quote:
Originally Posted by Torch_za View Post
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" "mail@mailserver.com" < "datatext"
Reply With Quote