1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
|
Index: sendpage-1.0.3/sendmail2snpp
===================================================================
--- sendpage-1.0.3.orig/sendmail2snpp 2009-05-19 07:13:02.000000000 -0700
+++ sendpage-1.0.3/sendmail2snpp 2009-05-19 07:13:28.000000000 -0700
@@ -22,6 +22,34 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# http://www.gnu.org/copyleft/gpl.html
+=head1 NAME
+
+sendmail2snpp - converts sendmail messages into a page
+
+=head1 SYNOPSIS
+
+sendmail2snpp recipient
+
+=head1 DESCRIPTION
+
+This tool takes a message body and sends it to the "snpp" client, essentially
+performing the same as 'email2page | snpp -- "$@"'.
+
+=head1 AUTHOR
+
+Kees Cook <kees@outflux.net>
+
+=head1 COPYRIGHT
+
+sendmail2snpp is free software; it can be used under the terms of the GNU
+General Public License.
+
+=head1 SEE ALSO
+
+perl(1), sendpage(1), Mail::Internet(3), email2page(1p)
+
+=cut
+
# to tee off the pages, use this:
#$cmd="tee /tmp/page.$$ | email2page | snpp ".join(" ",@ARGV);
$cmd="email2page | snpp ".join(" ",@ARGV);
Index: sendpage-1.0.3/sendpage-db
===================================================================
--- sendpage-1.0.3.orig/sendpage-db 2009-05-19 07:13:02.000000000 -0700
+++ sendpage-1.0.3/sendpage-db 2009-05-19 07:14:57.000000000 -0700
@@ -22,6 +22,71 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# http://www.gnu.org/copyleft/gpl.html
+=head1 NAME
+
+sendpage-db - manipulate Sendpage recipient database
+
+=head1 SYNOPSIS
+
+sendpage-db [OPTIONS]
+
+=head1 OPTIONS
+
+=over 4
+
+=item -c DB_TYPE
+
+Specify the database connection type (e.g. "dbi:mysql").
+
+=item -U DB_USER
+
+Specify the database user to connect as (e.g. "sendpage").
+
+=item -P DB_PASS
+
+Specify the database password use when connecting.
+
+=item -a
+
+Add an entry to the database, reading from stdin.
+
+=item -d
+
+Delete an entry to the database, reading from stdin.
+
+=item -p
+
+Show all database entries.
+
+=item -v
+
+Run in verbose mode.
+
+=item -h
+
+Display a summary of all the available command line options.
+
+=back
+
+=head1 DESCRIPTION
+
+This tool is used to manipulate the recipient database that can be
+optionally used by Sendpage.
+
+=head1 AUTHOR
+
+Todd T. Fries <todd@fries.net>
+
+=head1 COPYRIGHT
+
+sendpage-db is free software; it can be used under the terms of the GNU General
+Public License.
+
+=head1 SEE ALSO
+
+perl(1), sendpage(1), snpp(1)
+
+=cut
use Getopt::Std;
use Sendpage::Db;
|