]> git.sthu.org Git - pgp-tools.git/commitdiff
allow adding a Reply-To: header
authormyon-guest <myon-guest@b513b33f-fedd-0310-b452-c3deb5f4c849>
Sun, 7 Aug 2005 20:51:53 +0000 (20:51 +0000)
committermyon-guest <myon-guest@b513b33f-fedd-0310-b452-c3deb5f4c849>
Sun, 7 Aug 2005 20:51:53 +0000 (20:51 +0000)
git-svn-id: svn://svn.debian.org/pgp-tools/trunk@162 b513b33f-fedd-0310-b452-c3deb5f4c849

caff/caff
debian/changelog

index 75ffcfd7e700cf098f5306e3cda34f1af2b0ae2e..8e57fd22df45882f868bd7acaecf57de05115b48 100755 (executable)
--- a/caff/caff
+++ b/caff/caff
@@ -235,6 +235,10 @@ The UIDs for which signatures are included in the mail.
 
 =back
 
+=item B<reply-to> [string]
+
+Add a Reply-To: header to messages sent. Default: none.
+
 =item B<bcc> [string]
 
 Address to send blind carbon copies to when sending mail.
@@ -718,6 +722,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", '"'.$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->send();
index 4b547d7cb9ae4c82098ecfa99d89689fb403b425..b1f3c7e86215eadceeccc47832133e958c78d00b 100644 (file)
@@ -3,8 +3,10 @@ signing-party (0.4.1-2) unstable; urgency=low
   * caff:
      + create configfile on first use (Closes: #316611).
      + note use of ~/.caff/gnupghome/gpg.conf in manpage (Closes: #321235).
+     + allow adding a Reply-To: header (Closes: #321007, thanks to Joost van
+       Baal for the patch).
 
- -- Christoph Berg <cb@df7cb.de>  Sun,  7 Aug 2005 22:41:43 +0200
+ -- Christoph Berg <cb@df7cb.de>  Sun,  7 Aug 2005 22:50:43 +0200
 
 signing-party (0.4.1-1) unstable; urgency=low