* caff:
authorfranck <franck@b513b33f-fedd-0310-b452-c3deb5f4c849>
Sun, 24 Jan 2010 19:13:35 +0000 (19:13 +0000)
committerfranck <franck@b513b33f-fedd-0310-b452-c3deb5f4c849>
Sun, 24 Jan 2010 19:13:35 +0000 (19:13 +0000)
   + Set the Sender header with the email address which is used for the From
     header. This overrides the default value which was set by the
     MIME::Entity Perl module based on the local hostname. (Closes: #556782)

git-svn-id: svn://svn.debian.org/pgp-tools/trunk@452 b513b33f-fedd-0310-b452-c3deb5f4c849

caff/caff
debian/changelog

index 362ff95ff17fdc63ed1b7a15af2b07f621db4c00..9378562164c4c916d1a46e72119ce6372d183a1c 100755 (executable)
--- a/caff/caff
+++ b/caff/caff
@@ -843,6 +843,7 @@ sub send_mail($$$@) {
        $message_entity->head->add("Subject", "Your signed PGP key 0x$key_id");
        $message_entity->head->add("To", $address);
        $message_entity->head->add("From", '"'.Encode::encode('MIME-Q', $CONFIG{'owner'}).'" <'.$CONFIG{'email'}.'>');
        $message_entity->head->add("Subject", "Your signed PGP key 0x$key_id");
        $message_entity->head->add("To", $address);
        $message_entity->head->add("From", '"'.Encode::encode('MIME-Q', $CONFIG{'owner'}).'" <'.$CONFIG{'email'}.'>');
+       $message_entity->head->add("Sender", '"'.Encode::encode('MIME-Q', $CONFIG{'owner'}).'" <'.$CONFIG{'email'}.'>');
        $message_entity->head->add("Reply-To", $CONFIG{'reply-to'}) if defined $CONFIG{'reply-to'};
        $message_entity->head->add("Bcc", $CONFIG{'bcc'}) if defined $CONFIG{'bcc'};
        $message_entity->head->add("User-Agent", $USER_AGENT);
        $message_entity->head->add("Reply-To", $CONFIG{'reply-to'}) if defined $CONFIG{'reply-to'};
        $message_entity->head->add("Bcc", $CONFIG{'bcc'}) if defined $CONFIG{'bcc'};
        $message_entity->head->add("User-Agent", $USER_AGENT);
index 247cad4743ceac9a0aa1ab8f1a9235348f183920..2e1b997281f2d729112c69bd39be7382d8af78e5 100644 (file)
@@ -1,12 +1,19 @@
 signing-party (1.1.3-1) UNRELEASED; urgency=low
 
 signing-party (1.1.3-1) UNRELEASED; urgency=low
 
+  TODO:
+    + Wait for a check against #556782.
+
   * Debian package:
     + Updated my email address in d.control.
     + Added myself as contributor in d.copyright
   * keylookup:
     + Fixed typo noticed by lintian in manpage keylookup.1.
   * Debian package:
     + Updated my email address in d.control.
     + Added myself as contributor in d.copyright
   * keylookup:
     + Fixed typo noticed by lintian in manpage keylookup.1.
+  * caff:
+    + Set the Sender header with the email address which is used for the From
+      header. This overrides the default value which was set by the
+      MIME::Entity Perl module based on the local hostname. (Closes: #556782)
 
 
- -- Franck Joncourt <franck@debian.org>  Sun, 10 Jan 2010 13:37:23 +0100
+ -- Franck Joncourt <franck@debian.org>  Sun, 24 Jan 2010 20:04:26 +0100
 
 signing-party (1.1.2-1) unstable; urgency=low
 
 
 signing-party (1.1.2-1) unstable; urgency=low