Interesting idea, but that would presumably have the effect of
blocking all emails whereas I would like to just block this one.

Dave Sherohman wrote at about 16:51:00 +0100 on Tuesday, January 26, 2021:
 > When I ran into a similar case while leaving a system 
 > partially-configured, I handled it by (temporarily) blanking out the 
 > "user" for that host, so there was no address for the mail to be sent 
 > to.  Worked fine, and then I re-set "user" once the host was 
 > successfully running backups.
 > 
 > On 1/26/21 4:43 PM, backu...@kosowsky.org wrote:
 > > I have some hosts setup that for now have no backups -- and I am OK
 > > with that.
 > >
 > > Is there any way (on a per-host) basis to prevent the "no backup ever"
 > > message from being sent.
 > >
 > > Note, for the other messages, one can prevent them by just setting the
 > > notify period to be very long, but I don't see how to prevent this
 > > message from being sent.
 > >
 > > If that is not possible now, one simple hack would be to add a check
 > > to the backuppc code so that if the corresponding $Conf{EmailXXXXSubj}
 > > value is set to -1, then message sending is skipped (i.e., message is
 > > never sent).
 > >
 > > This would also avoid having to set the period to very large numbers
 > > for other messages to avoid them ever being sent.
 > >
 > >
 > >
 > > _______________________________________________
 > > BackupPC-users mailing list
 > > BackupPC-users@lists.sourceforge.net
 > > List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
 > > Wiki:    https://github.com/backuppc/backuppc/wiki
 > > Project: https://backuppc.github.io/backuppc/
 > 
 > 
 > _______________________________________________
 > BackupPC-users mailing list
 > BackupPC-users@lists.sourceforge.net
 > List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
 > Wiki:    https://github.com/backuppc/backuppc/wiki
 > Project: https://backuppc.github.io/backuppc/


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to