-   Linux - Server (
-   -   Switch from PGP/MIME to ASCII Armor? (

jbiggs12 08-23-2012 01:40 AM

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.

i_vanl 12-20-2014 09:29 PM

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

All times are GMT -5. The time now is 12:41 AM.