procmail

Keith Ray keith at nullify.org
Wed Nov 19 10:03:08 CET 2003


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

Quoting "David M. Besonen" <davidb at panix.com>:

> thanks for the replies Thorsten and Steven, but i need to set this up
> on my isp's server which uses sendmail and procmail.

I use the following recipe to automatically check signed messages.  I
tried to write a recipe to check PGP/MIME messages, but didn't get very
far.

#Preliminaries
SHELL=/bin/sh

:0Bbfw:sign.lock
* ^-----BEGIN PGP SIGNED MESSAGE-----
| TMPFILE=`mktemp /tmp/procmail.XXXXXX` ; /bin/cat >$TMPFILE ;
/usr/local/bin/gpg --verify --batch --no-tty --logger-fd 1 $TMPFILE ;
/usr/bin/printf "\n\n" ; /bin/cat $TMPFILE ; rm -fP $TMPFILE

# Accept all the rest to your default mailbox
:0:
${DEFAULT}

 --
Keith Ray <keith at nullify.org> -- OpenPGP Key: 0x79269A12

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP) - GPGshell v2.95
Comment: Key at http://www.nullify.org/0x79269A12.asc

iD8DBQE/u5QIBxrjkHkmmhIRAqceAJ4ymkhpzTS40ik2UzEk7mPOaKg50ACfVYts
G+J6YWYOuMCsr3m0+8yLKPo=
=xwpg
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list