[Pgp-tools-commit] r162 - in trunk: caff debian

Christoph Berg myon-guest at costa.debian.org
Sun Aug 7 20:51:54 UTC 2005


Author: myon-guest
Date: 2005-08-07 20:51:53 +0000 (Sun, 07 Aug 2005)
New Revision: 162

Modified:
   trunk/caff/caff
   trunk/debian/changelog
Log:
allow adding a Reply-To: header

Modified: trunk/caff/caff
===================================================================
--- trunk/caff/caff	2005-08-07 20:42:43 UTC (rev 161)
+++ trunk/caff/caff	2005-08-07 20:51:53 UTC (rev 162)
@@ -235,6 +235,10 @@
 
 =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 @@
 	$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();

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2005-08-07 20:42:43 UTC (rev 161)
+++ trunk/debian/changelog	2005-08-07 20:51:53 UTC (rev 162)
@@ -3,8 +3,10 @@
   * 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 at df7cb.de>  Sun,  7 Aug 2005 22:41:43 +0200
+ -- Christoph Berg <cb at df7cb.de>  Sun,  7 Aug 2005 22:50:43 +0200
 
 signing-party (0.4.1-1) unstable; urgency=low
 





More information about the Pgp-tools-commit mailing list