Carl Wilhelm Soderstrom writes:
> on a backuppc 2.1.1 installation which I have, e-mail alerts about hosts not
> being backed up, are sent to the user which is listed as owning that host in
> the 'hosts' file. so for instance:
>
> # grep pc32 hosts
> pc32 0 backuppc
>
> the user '[EMAIL PROTECTED]' will get alerts about pc32 not being backed
> up.
>
> the problem is; that I want alerts to go to an account called
> 'backup-alerts'. so I set:
> $Conf{EMailAdminUserName} = '[EMAIL PROTECTED]';
>
> but mail messages continue going to the [EMAIL PROTECTED] user!
> I can probably fix this in the MTA on the smarthost, given some work; but it
> would be much better if it could be cured on the program side.
>
> is there some setting that I'm missing?
> is this a bug which has been fixed in newer versions?
$Conf{EMailAdminUserName} is the global admin user name
where the nightly administrative status email is sent.
The only way I can think of to do this currently is to manually
set the user name in each email body in the per-PC config files.
The default values are empty, meaning the value from the
language files is used instead.
So you need to copy the value of $Conf{EMailNoBackupRecentMesg},
$Conf{EMailOutlookBackupMesg} and $Conf{EMailNoBackupEverMesg}
from lib/BackupPC/Lang/en.pm to the per-PC config.pl and replace
$user with "$user-alerts". If this is true of all your hosts
you could add these settings to the global config.pl file.
Craig
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/