Public bug reported:

The perl script that sends email notification is missing a "use" directive to 
support mail encoding.
Here are the steps to reproduce the bug :

su backuppc
$ /usr/share/backuppc/bin/BackupPC_sendEmail -u [removed for privacy]
Sending test email using /usr/sbin/sendmail -t -f backuppc01.norris
Undefined subroutine &main::encode called at 
/usr/share/backuppc/bin/BackupPC_sendEmail line 405.
sendmail: No recipients specified although -t option used

The bug is fixed upstream in BackupPC version 3.2.0 but this version is
tagged as beta quality. Currently, Intrepid, Jaunty and Karmic all use
BackupPC version 3.1.0 and are affected by this bug. I would suggest to
just fix this issue and keep the stable release. The fix is a one liner
and should cause no problem :

diff -Naur BackupPC_sendEmail-orig BackupPC_sendEmail
--- BackupPC_sendEmail-orig     2009-09-16 13:20:30.000000000 -0400
+++ BackupPC_sendEmail  2009-09-16 13:20:43.000000000 -0400
@@ -42,6 +42,7 @@
 use lib "__INSTALLDIR__/lib";
 use BackupPC::Lib;
 use BackupPC::FileZIO;
+use Encode;
 
 use Data::Dumper;
 use Getopt::Std;

** Affects: backuppc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
BackupPC_sendEmail is missing a "use" directive to support encode.
https://bugs.launchpad.net/bugs/430879
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to