-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I do some administration for friends.
Their machine have a non-permanent connection to the internet, so I use e-mail 
to get their logs.
As I don't wanna put these information on postcards, I patched logcheck to use 
GPG.
I think it may be useful to other people.

76a77,80
> # A small feature to send crypted mail if they have to pass on the internet
> # Your root account should know the public key of your SYSADMIN.
> # MAIL_ENCRYPT=1
> 
78c82,88
< MAIL=mail
- ---
> 
> if [ "$MAIL_ENCRYPT" -eq 1 ]; then
> MAIL="gpg -s -a -r "$SYSADMIN" -e | mail"
> else
> MAIL="mail"
> fi
> 

I have something equivalent for msec, but I coded it with my feet.

CU
CPHIL

- -- 
Inside my heart is breaking 
My make-up may be flaking 
But my smile still stays on 
        -- Freddy Mercury "The show must go on"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9YV42YJwqltj/jHgRAh0HAKCS0QcUjnOLvIrT5W5k97Yogz0IAQCgpRbG
JgQW2zI5uX8HDRIlOAr9LGc=
=+VTd
-----END PGP SIGNATURE-----


Reply via email to