LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-01-2012, 04:31 PM   #1
jbennett
Member
 
Registered: Apr 2012
Distribution: CentOS 6.2
Posts: 45

Rep: Reputation: Disabled
Procmail & PGP?


Yes, I realize that procmail is outdated and that there are other options in its place.

However, it appears that procmail is my only option at this point.

I am attempting to configure OTRS to recieve emails from Nagios. Per the OTRS documentation, I am directed towards procmail use.

Since I cannot use POP3 or IMAP, I am stuck using procmail. This fact is out of my control seeing as how our Exchange guys don't want to enable POP3 or IMAP as it is apparently going away with the next release of Exchange.

In attempting to get procmail set-up, I keep running into issues.

Apparently, I need some way to verify the download authenticity via PGP as indicated on the downloads page.

When I try and install PGP on my system, I am faced with the following:

Code:
[root@otrs tmp]# rpm -ivh PGPcmdln_6.5.8_Lnx_FW.rpm
error: Failed dependencies:
        libstdc++.so.2.8 is needed by pgp-6.5.8-rsaref658.i386
[root@otrs tmp]# yum install libstdc++.so.2.8
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centos.fastsoft.net
 * epel: archive.linux.duke.edu
 * extras: centos.aol.com
 * rpmforge: archive.cs.uu.nl
 * updates: centos.corenetworks.net
Setting up Install Process
No package libstdc++.so.2.8 available.
Error: Nothing to do
[root@otrs tmp]# yum install libstdc++.so.6
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centos.fastsoft.net
 * epel: archive.linux.duke.edu
 * extras: centos.aol.com
 * rpmforge: archive.cs.uu.nl
 * updates: centos.corenetworks.net
Setting up Install Process
Package libstdc++-4.4.6-4.el6.i686 already installed and latest version
Nothing to do
I'm assuming that this means I'm SOL and need to use something else, like GnuPG since PGP is apparently relying on an old release and I have the newest release (rightly so)?

This is foreign to me at this point.

Any guidance would be appreciated.

This is on a CentOS 6.3 machine with OTRS 3.1.4.

Last edited by jbennett; 10-01-2012 at 04:47 PM.
 
Old 10-01-2012, 06:16 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Quote:
Originally Posted by jbennett View Post
Yes, I realize that procmail is outdated and that there are other options in its place.
WHAAAT? I mean, uh? Like what options?


Quote:
Originally Posted by jbennett View Post
I am stuck using procmail. This fact is out of my control seeing as how our Exchange guys don't want to enable POP3 or IMAP as it is apparently going away with the next release of Exchange.
WHAAT? AFAIK Exchange 2013 still has a CAS and CAS still provides HTTP, POP, IMAP and SMTP access*.


Quote:
Originally Posted by jbennett View Post
I'm assuming that this means I'm SOL and need to use something else, like GnuPG since PGP is apparently relying on an old release and I have the newest release (rightly so)?
PGPcmdln_6.5.8_Lnx_FW.rpm is a package from the past, a from manifestation the turn of the Millennium. And you're not SOL because you've got access to GnuPG.
 
Old 10-02-2012, 08:55 AM   #3
jbennett
Member
 
Registered: Apr 2012
Distribution: CentOS 6.2
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
WHAAAT? I mean, uh? Like what options?
My understanding was that maildrop was an option and that procmail was no longer maintained.



Quote:
WHAAT? AFAIK Exchange 2013 still has a CAS and CAS still provides HTTP, POP, IMAP and SMTP access*.
In any case, our Exchange team refuses to support POP3 & IMAP. This is simply out of my hands. I have been fighting it for a year and I know those before me have been fighting it. The server team refuses to even support Linux in the first place, so the fact that I'm attempting to A) learn Linux on my own B) implement a ticketing system with Nagios (also Linux based) is a double whammy against any requests I make. I need to find a way to make this work without their assistance before they will believe that it is a viable option in the first place.


Quote:
PGPcmdln_6.5.8_Lnx_FW.rpm is a package from the past, a from manifestation the turn of the Millennium. And you're not SOL because you've got access to GnuPG.
Knowing this, and diving a bit deeper into GnuPG, I'm not sure how to decrypt the Procmail download with a PGP signature using GnuPG. It seems that most documentation I can find is vague at best. Any guidance?

I have generated my GnuPG key successfully. However, I'm unsure of the next steps. I'm thinking I need to publish this key?

However, when I try to do this I get an error. I am attempting to do this from behind a proxy, which has proven to be a source of issues int he past.

Code:
[root@otrs tmp]# gpg --keyserver pgp.mit.edu --send-key xxxxxxxx
gpg: sending key xxxxxxxx to hkp server pgp.mit.edu
gpgkeys: HTTP post error 7: couldn't connect to host
gpg: keyserver internal error
gpg: keyserver send failed: Keyserver error
I have tried setting the GPG proxy as follows:

Code:
[root@otrs tmp]# gpg --keyserver-options http-proxy=http://user:password@proxy.company.org:8080
gpg: Go ahead and type your message ...


^C
gpg: signal Interrupt caught ... exiting
When I try to send the key after setting this, I get the following:

Code:
[root@otrs tmp]# gpg --keyserver pgp.mit.edu --send-key xxxxxxxx
gpg: sending key xxxxxxxx to hkp server pgp.mit.edu
gpgkeys: HTTP post error 22: The requested URL returned error: 503
gpg: keyserver internal error
gpg: keyserver send failed: Keyserver error
I have also set the proxy with the following commands without much luck on this front.

Code:
[root@otrs tmp]# export http_proxy=http://user:password@proxy.company.org:8080/
[root@otrs tmp]# export https_proxy=https://user:password@proxy.company.org:8080/

Last edited by jbennett; 10-02-2012 at 10:00 AM. Reason: Additional information
 
Old 10-02-2012, 10:19 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Quote:
Originally Posted by jbennett View Post
Apparently, I need some way to verify the download authenticity via PGP as indicated on the http://www.procmail.org/downloads page.
Sorry, completely avoidable, I didn't read your OP too well I spose: just ensure "gpgcheck" is set to "1" in /etc/yum.repo.d/Centos-Base.repo and then install the standard Procmail package from the base repository and be done with it. For reasons why see http://www.centos.org/docs/5/html/5....anagement.html and particularly http://www.centos.org/docs/5/html/5....k-rpm-sig.html.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash & gpg/pgp rblampain Programming 3 08-16-2005 02:03 AM
PGP & Kmail BashTin Linux - Software 9 04-09-2004 12:38 PM
need simple procmail & .forward help BaerRS Linux - Software 1 05-01-2003 10:41 AM
Postfix & Procmail Problem jdehnert Linux - Software 2 03-28-2003 11:35 AM
Procmail & mail attachments PcHammer Linux - Software 1 02-05-2003 09:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration