I am having trouble getting the backuppc daemon to send a warning to me, the admin user, of no recent backups of hosts. I have configured sendmail on the host pc that I want the message sent to listen for all messages which is working. The following is a summary of my backup server configuration and status of those efforts.

Email configuration for backuppc in config.pl

###########################################################################
# Email reminders, status and messages
# (can be overridden in the per-PC config.pl)
###########################################################################

$Conf{EMailFromUserName} = 'backuppc@mydomain';

$Conf{EMailAdminUserName} = 'jbk@t4s.mydomain';

$Conf{EMailUserDestDomain} = '@t4s.mydomain';

###########################################################################

When I test message delivery with backuppc thus:

---
bash-4.4$ /usr/share/BackupPC/bin/BackupPC_sendEmail -u jbk@t4s.mydomain Sending test email using /usr/sbin/sendmail -t -f backuppc@mydomain
---

The user jbk at host t4s receives the test message.

But when backuppc runs as a daemon the mail delivery fails because the sender relay falls back to backuppc@localhost.localdomain

Since localhost.localdomain does not exist in the config.pl it is being applied from the server environment.
What do I need to edit to get this to work properly?


--
Jim Kelly-Rand
j...@kjkelra.com
_______________________________________________
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