/[smeserver]/rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-templateEmails.patch
ViewVC logotype

Contents of /rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-templateEmails.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Jan 2 01:00:39 2012 UTC (12 years, 10 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-backup-2_2_0-62_el5_sme, e-smith-backup-2_2_0-72_el5_sme, e-smith-backup-2_2_0-60_el5_sme, e-smith-backup-2_2_0-66_el5_sme, e-smith-backup-2_2_0-65_el5_sme, e-smith-backup-2_2_0-80_el5_sme, e-smith-backup-2_2_0-83_el5_sme, e-smith-backup-2_2_0-82_el5_sme, e-smith-backup-2_2_0-88_el5_sme, e-smith-backup-2_2_0-74_el5_sme, e-smith-backup-2_2_0-84_el5_sme, e-smith-backup-2_2_0-63_el5_sme, e-smith-backup-2_2_0-87_el5_sme, e-smith-backup-2_2_0-64_el5_sme, e-smith-backup-2_2_0-81_el5_sme, e-smith-backup-2_2_0-68_el5_sme, e-smith-backup-2_2_0-86_el5_sme, e-smith-backup-2_2_0-71_el5_sme, e-smith-backup-2_2_0-61_el5_sme, e-smith-backup-2_2_0-57_el5_sme, e-smith-backup-2_2_0-78_el5_sme, e-smith-backup-2_2_0-73_el5_sme, e-smith-backup-2_2_0-79_el5_sme, e-smith-backup-2_2_0-75_el5_sme, e-smith-backup-2_2_0-76_el5_sme, e-smith-backup-2_2_0-58_el5_sme, e-smith-backup-2_2_0-59_el5_sme, e-smith-backup-2_2_0-67_el5_sme, e-smith-backup-2_2_0-70_el5_sme, e-smith-backup-2_2_0-77_el5_sme, e-smith-backup-2_2_0-85_el5_sme, e-smith-backup-2_2_0-69_el5_sme, HEAD
Error occurred while calculating annotation data.
Additional email addresses for Workstation Backups [SME: 6783]

1 diff -ruN e-smith-backup-2.2.0.old/root/etc/e-smith/events/actions/workstation-backup-dar e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar
2 --- e-smith-backup-2.2.0.old/root/etc/e-smith/events/actions/workstation-backup-dar 2011-12-30 00:25:30.000000000 +0000
3 +++ e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar 2011-12-30 03:28:27.000000000 +0000
4 @@ -77,10 +77,12 @@
5 my $fullday = $backupwk->prop('FullDay') || 7;
6 my $mail = $backupwk->prop('MailNotify') || 'yes';
7 my $mntdir = $backupwk->prop('Mount') || '/mnt/smb';
8 +my $frommail = $backupwk->prop('FromMail') || 'admin-backup';
9 +my $tomail = $backupwk->prop('ToMail') || 'admin';
10 my $tmpdir;
11
12 -$report .= "From: admin-backup\n";
13 -$report .= "To: admin\n";
14 +$report .= "From: ".$frommail."\n";
15 +$report .= "To: $tomail\n";
16 $report .= "Subject: Daily Backup Report: ".$id."\n\n";
17 $report .= "================================== \n";
18 $report .= "DAILY BACKUP TO WORKSTATION REPORT \n";
19 @@ -341,7 +343,7 @@
20
21 if ($mail eq 'yes')
22 {
23 - open (MAIL, "|/var/qmail/bin/qmail-inject -a admin")
24 + open (MAIL, "|/var/qmail/bin/qmail-inject")
25 || die "Cannot start mail program: $!\n";
26 print MAIL $report;
27 close(MAIL);
28 @@ -357,7 +359,7 @@
29 $report .= $errmsg;
30 if (($mail eq 'yes') || ($mail eq 'error'))
31 {
32 - open (MAIL, "|/var/qmail/bin/qmail-inject -a admin")
33 + open (MAIL, "|/var/qmail/bin/qmail-inject")
34 || die "Cannot start mail program: $!: message was $errmsg\n";
35 print MAIL $report;
36 close(MAIL);

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed