It's good that you found a way to make it work. I did commit a change (part1 <https://github.com/backuppc/backuppc/commit/ee6cbe56da89cc936529ba231889f373059eb8d9> and part2 <https://github.com/backuppc/backuppc/commit/8c0244a0e497f8f025af974778f0c33d499ff6b0>) that adds a new config parameter $Conf{EMailAdminSubject}, so that the admin email subject can be set. If empty it defaults to the current values.
Craig On Fri, Nov 2, 2018 at 12:06 AM Sorin Srbu <sorin.s...@ilk.uu.se> wrote: > Never mind. I got it working. > Due to general mindset and misaligned focus I totally missed that all > email headers sent from our BPC-servers actually already included the > hostname... I can use that to filter the mail in Outlook. > > PocketKnife Peek for Outlook made all clear for me. > > > > Sorry for wasting the bandwidth on this list. > I’ll be quiet now. > > > > Thanks all for your suggestions and assistance! > > > > -- > > //Sorin > > > > > > *From:* Sorin Srbu <sorin.s...@ilk.uu.se> > *Sent:* den 2 november 2018 07:53 > *To:* General list for user discussion, questions and support < > backuppc-users@lists.sourceforge.net> > *Subject:* Re: [BackupPC-users] How to distinguish from which BPC-server > administrative emails are coming (Was: BackupPC administrative attention > needed) > > > > Hi, > > > > Adding a custom text line to $Conf{EMailHeaders} makes that text end up in > the email body. > Is there a way to add it to the header instead together with all other > custom X-somethingorother-fields? > > > > This might maybe be a question for a sendmail list as thus off-topic here. > Should this be the case I apologize. > > > > -- > > //Sorin > > > > > > *From:* Craig Barratt via BackupPC-users < > backuppc-users@lists.sourceforge.net> > *Sent:* den 31 oktober 2018 18:27 > *To:* General list for user discussion, questions and support < > backuppc-users@lists.sourceforge.net> > *Cc:* Craig Barratt <cbarr...@users.sourceforge.net> > *Subject:* Re: [BackupPC-users] How to distinguish from which BPC-server > administrative emails are coming (Was: BackupPC administrative attention > needed) > > > > Sorin, > > > > Unfortunately the Subject field for admin emails is hardcoded. > > > > However, $Conf{EMailAdminUserName} can be set and that is used for the > "To" field. Could you add some tag there that allows you to filter or > distinguish the emails? > > > > You can also set $Conf{EMailHeaders} to add additional headers, but I > don't see a way in gmail to filter based on arbitrary headers. > > > > Perhaps I should make that subject line a config parameter... > > Craig > > > > On Wed, Oct 31, 2018 at 12:26 AM Sorin Srbu <sorin.s...@ilk.uu.se> wrote: > > Hi all, > > I only have the one support mail address and need a way to distinguish > from > which BPC-server the message is coming from. > > Is there a way to add a tag to the subject line of the administrative > emails > from BackupPC, eg subject text "[BPC-12] BackupPC administrative attention > needed"? > > I see there is for > EMailNoBackupEverSubj > EMailNoBackupRecentSubj > EMailOutlookBackupSubj > > But no obvious way for those general messages, unless I'm missing > something > here? > > -- > //Sorin > > > > -----Original Message----- > > From: supp...@foo.com <supp...@foo.com> > > Sent: den 31 oktober 2018 01:30 > > To: ILK support <supp...@foo.com> > > Subject: BackupPC administrative attention needed > > > > The following directories are bogus and are not being used by > > BackupPC. This typically happens when PCs are removed from the > > backup list. If you don't need any old backups from these PCs you > > should remove these directories. If there are machines on this > > list that should be backed up then there is a problem with the > > hosts file: > > - /var/lib/BackupPC//pc/anakem18 > > - /var/lib/BackupPC//pc/delta > > > > Regards, > > PC Backup Genie > _______________________________________________ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > _______________________________________________ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ >
_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/