Package: signing-party
Version: 1.1.8-1
Tag: patch

caff does not add a Date header to outgoing emails, and neither does
msmtp.  The attached patch should fix this.
--- /tmp/caff.orig	2014-09-02 13:35:08.730662370 -0700
+++ /usr/bin/caff	2014-09-02 13:42:39.000000000 -0700
@@ -383,6 +383,7 @@
 use IO::Select;
 use Getopt::Long;
 use GnuPG::Interface;
+use POSIX qw(strftime);
 
 my %CONFIG;
 my $REVISION = '$Rev: 638 $';
@@ -907,6 +908,7 @@
 			Data        => $message);
 	};
 
+	$message_entity->head->add("Date", (strftime "%a, %b %e %Y %H:%M:%S %z", localtime));
 	$message_entity->head->add("Subject", "Your signed PGP key 0x$key_id");
 	$message_entity->head->add("To", email_to_ascii(Encode::decode('utf-8', $address)));
 	$message_entity->head->add("From", '"'.Encode::encode('MIME-Q', $CONFIG{'owner'}).'" <'.$CONFIG{'email'}.'>');

Reply via email to