Webscript Problems....Converting from PGP to GPG
Todd G. Hewett
toddhewett@sprynet.com
Tue Jul 8 11:34:13 2003
Howdy Folks,
I am trying to get a perlscript working using GPG as opposed to the
PGP50i it is currently working with.
###
The PGP Command is...
(/usr/local/bin/pgpe -fatr name@isp.com +force=1 2>/dev/null) |
/usr/bin/mail -s 'Title of subject line' name@isp.com
The GPG command I thought would work is.
(/usr/bin/gpg -fatr 'name@isp.com' +force=1 2>/dev/null) | /bin/mail -s
'Title of subject line'
name@isp.com
###
The following command line input sends an email fine.
echo 'check this out' | (gpg -ater 'name@isp.com' 2>/dev/null) |
/bin/mail -s ''Title of subject line' name@isp.com
###
And this command line sends an empty message
echo 'check this out' | (gpg -fatr 'name@isp.com' 2>/dev/null) |
/bin/mail -s 'Title of subject line' name@isp.com
I am hoping there is something obvious that someone can help me with here.
Thanks For the help,
Todd Hewett