LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

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

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


Hi,

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:

Code:
DEFAULT=/home/jack/Maildir/
MAILDIR=/home/jack/Maildir/
LOCKFILE=/home/jack/Maildir/procmail.lock
LOGFILE=/home/jack/Maildir/procmail.log
VERBOSE=yes

# :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.
 
  


Reply

Tags
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


All times are GMT -5. The time now is 01:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration