[Webcalendar] sign by gpg an email
Rob Janssen
r.janssen a t uw-werk.nl
Fri, 05 Mar 2004 10:27:06 +0100
Reimar Bauer schreef:
>Dear all,
>
>it would be fine if I could use a gpg key to sign automaticly all mails which
>are sent by the webcalendar. One key for all users of the calendar would be
>enough.
>
>If I like to implement this myself where do I have to start?
>
>regards
>
>Reimar
>
>
I think it would be simplest to write a script or perl program that can
send the message that appears
on standard input, like a "sendmail -t -oi" does.
This script will add the signature to the message, and will then pass it
on to sendmail -t -oi
You can configure the location of the sendmail program when installing
webcal, and there you give the
name of your script instead of the real sendmail.
Of course you will need to put it in some secure place and put the right
security settings on it, as anybody
who knows about this script and can run it, will be able to send mail
that appears to be signed by webcal.
(of course only users that can login to the system, may be not a problem
when it is only a webserver)
Rob