I am now receiving mail sent by the backuppc daemon with
config.pl settings as per below. The only other edit
previous to this was in the sendmail.cf file on the server
to tell it to masquerade as "mydomain".
But, I thought I had made that change prior to the last
failed deliveries. It may be that a server reboot after a
kernel update was the trigger that got things working.
jbk
-------- Forwarded Message --------
Subject: Mail to User@host
Date: Mon, 1 Aug 2022 16:36:32 -0400
From: jbk <j...@kjkelra.com>
To: backuppc-user <backuppc-users@lists.sourceforge.net>
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?
_______________________________________________
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/