[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: email auto-reply w/ pgp keys



Hi Jeremy,
	Try the following in one of your procmail files. I use it and it
has been working just fine...

:0
* ^Subject:.request pgpkey
* ! ^FROM_DAEMON
* $ ! ^X-Loop: adren@provision.net
{
# Save a copy just in case
:0 c:
IN.PGP.Requests

:0 fhw
| formail  -rI"Subject: PGP Key Request: Robert V. MacQuarrie <adren@provision.net>" \
	-I"From: Robert V. MacQuarrie <adren@provision.net>" \
        -I"Precedence: junk" \
        -I"X-Loop: adren@provision.net" \
        -I"Mime-Version: 1.0" \
        -I"Content-Type: application/pgp; format=keys-only" \
        -I"Content-Description: PGP (pgp-us 2.6.3a) Key: Robert V. MacQuarrie <adren@provision.net>" \
        -I"Content-Transfer-Encoding: 7bit" \
        -I"X-Subliminal-Message: Debian Linux http://www.debian.org Debian Linux"

:0 fbw
| cat - ; sh -c "pgp -kxaf adren@provision.net 2>/dev/null"

:0 efbw
| cat - ; echo "Sorry, my PGP key is not available at the moment."

:0 w
* > 1
! -oi -t

}


--Rob

#########################################################################
Robert V. MacQuarrie                   Web Designing For Both
robert@provision.net             Personal And Small Business Solutions
(609)384-5901                     P.O. Box 285, Woodbury, N.J., 08096
PGP Key Request: Reply to this email with the subject as "request pgpkey"
#########################################################################


On Thu, 8 Apr 1999, Jeremy wrote:
>I've seen a few messages recently on the list telling
>how to get a user's PGP key automatically by an email
>auto-responder.  I'm assuming this is done with procmail
>filtering.  If anyone that has this set up could send
>me the relevant lines out of their .procmailrc files,
>I would like to see them.
>Thanks,
>Jeremy
>  email : darqside@blueriver.net
>pgp key : http://www.blueriver.net/~darqside/pgpkey.asc 




Reply to: