Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd October 2007, 17:05
cooljai cooljai is offline
Member
 
Join Date: May 2007
Location: /dev/random
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to cooljai
 
Question how to Digitally sign mails?

Dear friends,

I want to send digitally signed mails through my PHP/perl scripts. I'm comfortable with using "gpg" tool, after creating my public/pvt keys, I'm able to sign and mail contents of a file using following command:

Code:
 /usr/bin/gpg --no-tty --yes  --local-user $email --clearsign $filename
Now that command will add text " -----BEGIN PGP SIGNED MESSAGE----- " etc. in message and moreover the mail clients are not
detecting it as a signed mail. To verify that mail, I've to cut/paste contents and pass it to gpg again.

I saw some mails which comes in inbox (thunderbird, outlook etc), the mail client automatically detects them as digitally signed mails and show their contents. (without extra text like "--Begin PGP SIGNED.." "--End " etc.)

I need any hint/clue as how to accomplish this using scripts (I'm on CentOS 4.5). Am I able to implement it using GPG or should I concentrate on any other technology (may be S/MIME or digital Certificates/openSSL, though I dont know much about them)

Your expert comments will be highly appreciated.

Thanks
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix canít send mails thavaht Server Operation 4 19th June 2007 19:26
how to verify if mails got sent? Ovidiu Server Operation 7 29th March 2007 14:25
Sendmai can send mails but unable to receive mails satimis Server Operation 10 20th February 2007 17:10
How to send mails using php mail function outside domain pankaj Technical 1 19th December 2005 22:09
How to retrive mails from 2nd server dstme Server Operation 3 1st December 2005 18:28


All times are GMT +2. The time now is 02:21.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.