Jean-Claude writes:

> I finally managed to solve the problem. This is a patch for BackupPC 3.0
> (in addition to your configuration changes)  :

Thanks for the patch.  However, I'm wondering why this existing
code doesn't fix the subject:

    if ( $utf8 ) {
        binmode(MAIL, ":utf8");
        if ($mesg =~ /^Subject: (.*)$/m) {
                my $new_subj = encode('MIME-Header', $1);
                $mesg =~ s/^Subject: .*$/Subject: $new_subj/m;
        }
    }

Note that this is applied only to text sent to sendmail,
not what is output to stdout using the -t (test) option.

Craig

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to