I had a similar problem 2 years ago when setting up BackupPC.
I made some notes at that time, which I am now trying to interpret ;-)
What I found at the time was that BackupPC_sendEmail uses slightly
different scripting for sending test messages, admin messages, and
messages to users, so the successful sending of a test message doesn't
guarantee successful sending of the other types! However,
1. I believe you should see some messages in the BackupPC log (through
the web interface) if it is attempting to send email messages
2. Have you tried (as the BackupPC user) running BackupPC_sendEmail with
the -t option - it will send the output to STDOUT instead of to the mail
program?
Peter Major
-----Original Message-----
From: Dan Doughty <[email protected]>
Reply-to: "General list for user discussion, questions and support"
<[email protected]>
To: 'General list for user discussion, questions and support'
<[email protected]>
Subject: [BackupPC-users] Email working, BackupPC not alerting on
failure
Date: Fri, 3 Jan 2014 18:10:57 -0600
/usr/share/BackupPC/bin/BackupPC_sendEmail will generate a test message.
Unfortunately, I’m not getting warning messages telling me that one of
my client’s hasn’t backed up for a week. I’ve checked /var/log/maillog
and there is no attempt to send mail.
My shell is set to /sbin/nologin for the backuppc user. Perhaps that’s
the problem.
When I check /var/log/BackupPC/LOG there’s no mention of the client at
all. The client is offline due to it being a laptop. Is this by
design? I mean, I’d expect it to tell me that it hasn’t backed up for a
week whether the target/client was offline or not. But just because I
expect it doesn’t mean that is what the authors designed.
Any ideas?
Dan
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________ BackupPC-users mailing list
[email protected] List:
https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:
http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/