Read Me
###GnuPG::Interface - Perl interface to GnuPG
(http://search.cpan.org/~ftobin/GnuPG-Interface-0.33/lib/GnuPG/Interface.pm)
get the following dependencies from http://software.opensuse.org
rpm -ivh perl-GnuPG-Interface-0.43-12.1.noarch.rpm perl-Any-Moose-0.14-20.1.noarch.rpm perl-Mouse-0.93-1.6.i586.rpm perl-MRO-Compat-0.11-4.1.noarch.rpm perl-Class-MOP-1.11-7.2.i586.rpm perl-Class-Method-Modifiers-Fast-0.041-3.1.i586.rpm perl-Class-C3-0.23-5.1.noarch.rpm perl-Data-OptList-0.106-16.1.noarch.rpm perl-Devel-GlobalDestruction-0.02-4.4.i586.rpm perl-List-MoreUtils-0.22-77.1.i586.rpm perl-Package-DeprecationManager-0.10-8.1.noarch.rpm perl-Package-Stash-0.13-8.1.noarch.rpm perl-Sub-Name-0.04-7.1.i586.rpm perl-Task-Weaken-1.03-4.1.i586.rpm perl-Try-Tiny-0.07-3.1.noarch.rpm perl-Algorithm-C3-0.08-4.1.noarch.rpm perl-Class-C3-XS-0.13-5.1.i586.rpm perl-Sub-Install-0.925-12.1.noarch.rpm perl-Params-Util-1.01-1.9.i586.rpm perl-Scope-Guard-0.20-3.1.i586.rpm perl-Sub-Exporter-0.982-15.1.noarch.rpm perl-Package-Generator-0.103-1.4.noarch.rpm
rpm -ivh perl-Class-MethodMaker-2.15-1.9.i586.rpm
(Each module in the GnuPG::Interface bundle relies on Class::MethodMaker to generate the get/set methods used to set the object's data members. This is very important to realize. This means that any data member which is a list has special methods assigned to it for pushing, popping, and clearing the list.)
###Mail::GPG - Handling of GnuPG encrypted / signed mails
rpm -ivh
####Postfix configuration files are stored in /etc/postfix. The two main postfix configuration files are master.cf and main.cf, although we will only be dealing with main.cf here. First we are going to make some additions or changes to the main.cf configuration file. The following lines should be added, edited or uncommented:
mydomain = example.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks_style = host
mynetworks = 192.168.0.0/24, 127.0.0.0/8
save the work and restart postfix
/etc/inint.d/postfix restart
####Send a test mail to a local user using telnet:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 host.example.com ESMTP Postfix>
EHLO testdomain.com
250-host.example.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
MAIL FROM: <user@testdomain.com>
250 2.1.0 Ok
RCPT TO: <local-user@example.com>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Subject: Hello local-user
Hey local-user,
I just wanted to send some test mail to you :-)
.
250 2.0.0 Ok: queued as B95C8110064
QUIT