| 1 |
this is kuvert, a wrapper around sendmail or other MTAs that |
| 2 |
does gpg signing/signing+encrypting transparently, based |
| 3 |
on the content of your public keyring(s) and your preferences. |
| 4 |
|
| 5 |
how it works: |
| 6 |
------------- |
| 7 |
|
| 8 |
you need to configure your MUA to submit mails to kuvert instead of |
| 9 |
directly. you configure kuvert either to present an SMTP server to |
| 10 |
your MUA, or you make your MUA to use kuvert_submit instead of executing |
| 11 |
/usr/sbin/sendmail. kuvert_submit will spool the mail |
| 12 |
in kuvert's queue iff there is a suitable configuration file. |
| 13 |
|
| 14 |
kuvert is the tool that takes care of mangling the email. it reads the |
| 15 |
queue periodically and handles emails in the queue: signing or encrypting |
| 16 |
the mail, then handing it over to /usr/lib/sendmail or an external SMTP |
| 17 |
server for transport. |
| 18 |
|
| 19 |
(why a queue? because i thought it might be useful to make sure that none of |
| 20 |
your emails leaves your system without kuvert handing it. you might be |
| 21 |
very paranoid, and kill kuvert whenever you leave your box (and remove |
| 22 |
the keyrings as well).) |
| 23 |
|
| 24 |
installation: |
| 25 |
------------- |
| 26 |
|
| 27 |
on debian systems you simply install the kuvert package, construct |
| 28 |
a suitable .kuvert configuration file and off you go. |
| 29 |
an example config file is provided |
| 30 |
at /usr/share/doc/kuvert/examples/dot-kuvert. |
| 31 |
|
| 32 |
on other systems you need to do the following: |
| 33 |
|
| 34 |
you need perl perl 5.10+, gpg and some of non-core perl modules: |
| 35 |
MIME::Parser, Mail::Address, Net::SMTP 1.28 (in core but not new enough |
| 36 |
with some distributions), IO::Socket::SSL 2.007, Net::Server::Mail::ESMTP, |
| 37 |
File::Slurp, Proc::ProcessTable and Encode::Locale. |
| 38 |
|
| 39 |
optional: get linux-kernel keyutils package, the gpg-agent or some |
| 40 |
other passphrase cache of your choice. |
| 41 |
|
| 42 |
run make, make install DESTDIR=/ as root |
| 43 |
-> kuvert, kuvert_submit, the manpages and one helper module |
| 44 |
will be installed in /usr/bin, /usr/share/man/man1 and |
| 45 |
/usr/share/perl5/Net/Server/Mail/ESMTP/, respectively. |
| 46 |
|
| 47 |
configuration: |
| 48 |
-------------- |
| 49 |
|
| 50 |
read the manpages for kuvert(1) and kuvert_submit(1) and |
| 51 |
consult the example config file "dot-kuvert". you will need |
| 52 |
to create your own config file as ~/.kuvert. sorry, no autoconfig here: |
| 53 |
this step is too crucial for a mere robot to perform. |
| 54 |
|
| 55 |
then start kuvert and inject a testmail, look at the logs to check |
| 56 |
if everything works correctly. |
| 57 |
|
| 58 |
(historical note: kuvert came into existence in 1996 as pgpmail and |
| 59 |
was used only privately until 99, when it was extended and renamed |
| 60 |
to guard. some of my friends started using this software, and in |
| 61 |
2001 it was finally re-christened kuvert, extended even further |
| 62 |
and debianized. in 2008 it received a major overhaul to also provide |
| 63 |
inbound smtp as submission mechanism, outbound smtp transport and better |
| 64 |
controllability via email addresses. until 2008 kuvert supported pgp2.x.) |
| 65 |
|
| 66 |
please report bugs to me, Alexander Zangerl, <[email protected]>. |
| 67 |
|
| 68 |
The original source can always be found at: |
| 69 |
http://www.snafu.priv.at/kuvert/ |
| 70 |
|
| 71 |
Copyright (C) 1999-2017 Alexander Zangerl |
| 72 |
|
| 73 |
This program is free software; you can redistribute it and/or modify |
| 74 |
it under the terms of the GNU General Public License version 2 |
| 75 |
as published by the Free Software Foundation. |
| 76 |
|
| 77 |
This program is distributed in the hope that it will be useful, |
| 78 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 79 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 80 |
GNU General Public License for more details. |
| 81 |
|
| 82 |
You should have received a copy of the GNU General Public License with |
| 83 |
the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; |
| 84 |
if not, write to the Free Software Foundation, Inc., 59 Temple Place, |
| 85 |
Suite 330, Boston, MA 02111-1307 USA |
| 86 |
|