You are not logged in.

#1 2014-01-29 23:22:16

Paloran
Member
Registered: 2011-10-17
Posts: 24

How to tell Mutt NOT to encrypt locally saved mails?

Hello,
finally i have managed to setup Mutt with PGP Support, even Enigmail encrypted mails are now being automatically decrypted. But there is one thing that annoys me. I have a full disk encryption (I confess, apart from the boot partition…) so i don't need to locally encrypt the mails with PGP that are in my sent folder. Now all mails that i send are being encrypted with the public key of the recipient, so i'm not able to read then again. How can i change this behavior?

Here is the PGP relevant part of my .muttrc:

set pgp_use_gpg_agent = yes
set pgp_decode_command="gpg --no-verbose --batch --output - %f"
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_decrypt_command="gpg --no-verbose --batch --output - %f"
set pgp_sign_command="gpg --no-verbose --batch --output - --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --armor --te xtmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r"
message-hook '!(~g|~G) ~b"^-----BEGIN\ PGP\ (SIGNED\ )?MESSAGE"' "exec check-traditional-pgp" #mutt doesn't recognizes enigmails as encrypted otherwise
set pgp_autosign = yes

Offline

#2 2014-02-02 00:37:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: How to tell Mutt NOT to encrypt locally saved mails?

Paloran wrote:

Now all mails that i send are being encrypted with the public key of the recipient, so i'm not able to read then again. How can i change this behavior?

This is confusing. Mail that you have encrypted to send to another party (using their key) should be readable in your sent items folder.
See my mutt settings: https://bitbucket.org/jasonwryan/shiv/src/tip/.mutt/


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-02-02 00:59:22

o_caino
Member
Registered: 2013-06-06
Posts: 167

Re: How to tell Mutt NOT to encrypt locally saved mails?

AFAIK you must add yourself to the recipients if you want to be able to read the encrypted mail.

Last edited by o_caino (2014-02-02 01:00:22)

Offline

#4 2014-02-02 09:34:05

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: How to tell Mutt NOT to encrypt locally saved mails?

Have you set-up your alternates?
http://dev.mutt.org/doc/manual.html#alternates


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#5 2014-02-02 10:59:34

Vain
Member
Registered: 2008-10-19
Posts: 183

Re: How to tell Mutt NOT to encrypt locally saved mails?

Perhaps you're looking for fcc_clear?

Offline

Board footer

Powered by FluxBB