You are not logged in.

#1 2004-07-18 10:12:31

ncrfgs
Member
Registered: 2004-07-18
Posts: 12

GnuPG and saving outgoing mails

Is there a way to save outgoing encrypted messages before they got encrypted with Mutt or another MUA?

Thanks in advance.


Best regards.


Value your freedom, or you will lose it, teaches history.
``Don't bother us with politics,'' respond those who don't
want to learn.

-- Richard M. Stallman
    http://www.gnu.org/philosophy/linux-gnu-freedom.html

Offline

#2 2004-07-18 13:15:44

farphel
Forum Fellow
From: New Hampshire - USA
Registered: 2003-09-18
Posts: 250
Website

Re: GnuPG and saving outgoing mails

Well, if you're using mutt, IIRC, you specify the gpg commands in your config file.  You can probably pipe the message through 'tee' to save a copy prior to sending the output to gpg.  Just a thought anyway, it's been a while since I've used mutt, but it's very flexible, so there's gotta be a way.


Follow the link below, sign up, and accept one promotional offer.  If I can get five suckers (err... friends) to do this, I'll get a free iPod.  Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142

Offline

#3 2004-07-18 18:46:18

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: GnuPG and saving outgoing mails

You could also configure mutt to encrypt to the recipient (sp) and yourself.  That way the message will be encrypted in your sent mail folder, but you'll still be able to read it with your private key.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#4 2004-07-18 18:53:22

scottro
Member
From: NYC
Registered: 2002-10-11
Posts: 454
Website

Re: GnuPG and saving outgoing mails

I just have in my .muttrc the various gpg commands (taken from someone's web page) and fcc hook is to a SENT folder.

Then, if I'm browsing my SENT folder, it's in there, and opens pretty much automagically.

I have a page on mutt that might be helpful

http://home.nyc.rr.com/computertaijutsu/mutt.html which has a link to the commands to put in your .muttrc

Offline

#5 2004-07-19 00:09:15

ncrfgs
Member
Registered: 2004-07-18
Posts: 12

Re: GnuPG and saving outgoing mails

I have a page on mutt that might be helpful

It was very useful, thanks!

You could also configure mutt to encrypt to the recipient (sp) and yourself. That way the message will be encrypted in your sent mail folder, but you'll still be able to read it with your private key.

Great! I gave a look at the documentation but I still haven't found a way to do it.
Could you pls help me to manage to do it?


Thanks in advance.


Best regards.


Value your freedom, or you will lose it, teaches history.
``Don't bother us with politics,'' respond those who don't
want to learn.

-- Richard M. Stallman
    http://www.gnu.org/philosophy/linux-gnu-freedom.html

Offline

#6 2004-07-19 02:44:40

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: GnuPG and saving outgoing mails

set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0xE052EA40 -- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0xE052EA40 -- -r %r -- %f"

Only change 0xE052EA40 to your id.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#7 2004-07-21 04:37:38

ncrfgs
Member
Registered: 2004-07-18
Posts: 12

Re: GnuPG and saving outgoing mails

set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0xE052EA40 -- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0xE052EA40 -- -r %r -- %f"

Only change 0xE052EA40 to your id.

Great tip!

Where did you find it?

Thanks very much! It does exactly what I wanted to do.


Best regards.


Value your freedom, or you will lose it, teaches history.
``Don't bother us with politics,'' respond those who don't
want to learn.

-- Richard M. Stallman
    http://www.gnu.org/philosophy/linux-gnu-freedom.html

Offline

#8 2004-07-21 05:39:14

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: GnuPG and saving outgoing mails

Somewhere... on the web... you know...

Google told me.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

Board footer

Powered by FluxBB