Encrypting emails with GnuPG

Hello all,

I am using RT 3.7.6 with RTIR. I am trying to use GnuPG with RTIR and

send encrypted emails with RT. My RT_SiteConfig’s for GnuPG is
as below:

Set(%GnuPG,
Enable=>1,
OutgoingMessagesFormat=>RFC,
EncryptDataInDb=>0,
);

Set(%GnuPGOptions,
homedir=> ‘/usr/local/rt3/var/data/gpg’,
);

The keys under the gpg directory:

-rw-r–r-- 1 www www 640 Jul 31 15:58 pubring.gpg
-rw------- 1 root wheel 640 Jul 31 15:58 pubring.gpg~
-rw------- 1 root wheel 600 Jul 31 15:58 random_seed
-rw-r–r-- 1 www www 1329 Jul 31 15:58 secring.gpg
-rw-r–r-- 1 www www 1280 Jul 31 15:58 trustdb.gpg

I think that I have given the sufficient rights for apache.
There is no error at the logs. What is wrong here. Or what should I do
extra. Or how can I use pgp with RT 3.7.6.

Regards,

Caglar Gulçehre
caglar@ulakbim.gov.tr
Tübitak Ulakbim