Fix recursive first_part
[app-edwardng.git] / edwardng
index 7e1363f2cb05e07c41d6e0a56f1e9971949e626f..a86e32843adf83b57a4600199fac03efd725076f 100755 (executable)
--- a/edwardng
+++ b/edwardng
@@ -14,14 +14,19 @@ edwardng - GnuPG email sign/encrypt testing bot
 
 =head1 SYNOPSIS
 
-edwardng --
+Manually:
 
+  edwardng --from=edwardng@example.org --key=12345678 < mail.eml
+
+In F</etc/aliases>:
+
+  edwardng: |/path/to/edwardng --from=edwardng@example.org --key=12345678 --keydir=/srv/edwardng-keydir --debug --logfile=/var/log/edwardng
 
 =head1 DESCRIPTION
 
 EdwardNG is a reimplementation of the Edward reply bot referenced in L<https://emailselfdefense.fsf.org/>.
 
-It takes mail messages, checks them for PGP signatures and encryption, then replies appropriately.
+It reads an email from STDIN, checks it for PGP signatures and encryption, then replies appropriately.
 
 =head1 OPTIONS
 
@@ -47,6 +52,10 @@ ID of key used for encrypting replies.
 
 Path to GnuPG homedir.
 
+=item B<--logfile>=I</path/to/logfile>
+
+If B<--debug>, append debug information to this file. Ignored if B<--no-debug>.
+
 =item B<--passphrase>=I<passphrase>
 
 Private key passphrase.
@@ -87,6 +96,10 @@ Corresponds to B<--key>.
 
 Corresponds to B<--keydir>.
 
+=item EDWARDNG_LOGFILE
+
+Corresponds to B<--logfile>.
+
 =item EDWARDNG_PASSPHRASE
 
 Corresponds to B<--passphrase>.
This page took 0.0102 seconds and 4 git commands to generate.