X-Git-Url: http://git.sthu.org/?a=blobdiff_plain;ds=sidebyside;f=caff%2Fcaff;h=8e57fd22df45882f868bd7acaecf57de05115b48;hb=ce59495f895a0950be1ba8cc2fb7345b681a08ee;hp=35be431932aa20e283b390fb3599820552896a9b;hpb=e201631c7543dfd60a38d08c7328bc13f147e149;p=pgp-tools.git diff --git a/caff/caff b/caff/caff index 35be431..8e57fd2 100755 --- a/caff/caff +++ b/caff/caff @@ -97,11 +97,20 @@ Import keys from file. Can be supplied more than once. =item $HOME/.caffrc - configuration file +=item $HOME/.caff/keys/yyyy-mm-dd/ - processed keys + +=item $HOME/.caff/gnupghome/ - caff's working dir for gpg + +=item $HOME/.caff/gnupghome/gpg.conf - gpg configuration + +useful options include use-agent, default-cert-level, etc. + =back =head1 CONFIGURATION FILE OPTIONS The configuration file is a perl script that sets values in the hash B<%CONFIG>. +The file is generated when it does not exist. Example: @@ -226,6 +235,10 @@ The UIDs for which signatures are included in the mail. =back +=item B [string] + +Add a Reply-To: header to messages sent. Default: none. + =item B [string] Address to send blind carbon copies to when sending mail. @@ -247,6 +260,10 @@ Default: none. http://pgp-tools.alioth.debian.org/ +=head1 SEE ALSO + +gpg(1), pgp-clean(1), /usr/share/doc/signing-party/examples/caffrc.sample. + =cut use strict; @@ -705,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();