in reply to Perl and PGPMail

AS you say, I don't really know how to interface PGP with Perl, thus my posting here. I looked at the references you gave me, looked like they were all written in some other language (I only know Perl, and that is very basic stuff). As for the admin - they won't support any "third party" scripts, so I'm basically screwed 'til I can figure this out. Any one out there want to really dumb down their solution to help me out? Just tell me where I'm going wrong?

Replies are listed 'Best First'.
Re: Re: Perl and PGPMail
by saintbrie (Scribe) on Apr 04, 2004 at 23:04 UTC

    It is hard to say where the script is breaking down. I don't have pgp, so don't know what -fea +VERBOSE does... The best I can do is give you some hints on where to troubleshoot.

    Is the problem that the body is not decrypting properly? or that the body is simply not part of the message when you receive it? Does the body "look" right (obviously if it is encrypted you won't be able to read it, but it should take a fairly obvious shape). How does the body of the message compare to other pgp encrypted email messages that succeed? Is the email missing anything (headers, separators) that is necessary to decrypt it?

    If you print out the message to STDERR (or your error log, or even just back to the browser) does it look like an email message? Does it look like a pgp encrypted email message?

    Do you know for sure that just sending the output of pgp as the body of the email is what you need?

    Answering those questions should narrow it down for you, anyhow. Sorry I can't be of more help.