Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-23-2012, 01:40 AM   #1
LQ Newbie
Registered: Feb 2011
Location: /dev/null
Distribution: Gentoo
Posts: 14

Rep: Reputation: Disabled
Switch from PGP/MIME to ASCII Armor?


For the last few years I've been using a system where my server snatches email via POP from several of my accounts, deletes it on the remote server, and encrypts it via GPG where I can read it on my computer.

However, I've recently acquired a new mobile phone and I'd like to read my email with K-9, which doesn't support messages with the PGP document attached. I was wondering how I could modify my ~/.procmailrc to change this. Here it is for the moment:


# :0:
# * ^X-Spam-Status: yes
# .Spam/cur

:0 H
# modify your filter, which mails to encrypt, here:
* ^To.*@.*
   MYHDRS=`formail -XContent-Type: -XContent-disposition: -XContent-transfer-encoding:`
   :0 fh
   | formail -I 'Content-Type: multipart/encrypted; protocol="application/pgp-encrypted";boundary="MfFXiAuoTsnnDAfX"' -I Content-transfer-encoding: -I Content-disposition:

   :0 fb
   # replace with your PGP key ID here:
   | { cat ~/.gpg-mime-start ; { echo "$MYHDRS" ; echo ; cat - ; } | gpg --batch --quiet --always-trust -a -e -r 2452A44C; cat ~/.gpg-mime-end; }
I'd appreciate any and all help.
Old 12-20-2014, 09:29 PM   #2
LQ Newbie
Registered: Dec 2014
Posts: 1

Rep: Reputation: Disabled
I currently use APG app which integrates with K9 to decrypt and encrypt PGP messages.


android, email, gpg, mime, server

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
S/MIME and PGP,SSL, TLS metallica1973 Linux - Security 4 08-13-2007 07:49 PM
PGP/MIME vs Clearsigning - What's the practical difference? rignes Linux - Security 4 11-12-2006 09:22 PM
Using Aegypten PGP/Mime Email in Mandrake kwalker Linux - Security 1 07-12-2004 02:38 AM
PGP/Mime for MDK Kmail - Agypten kwalker Linux - Software 0 07-02-2004 01:53 AM
PGP/MIME for windows Ztyx General 4 09-19-2002 08:39 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:13 PM.

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