Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

gpg

65 views
Skip to first unread message

KOI8

unread,
Apr 13, 2012, 4:23:02 AM4/13/12
to

How to specify --recipient with my own ID as scond recipient? I just want
read own messages in sent box. I did play with Muttrc.gpg. Unsuccessful.

--
Origin: Я утратил всякие надежды относительно будущего моей страны, если
сегодняшняя молодёжь возьмёт в свои руки бразды правления, ибо эта молодёжь
невыносима, невыдержанна, просто ужасна. - Гесиод

Thomas Wiegner

unread,
Apr 13, 2012, 4:53:25 AM4/13/12
to
On Fri, 13 Apr 2012, KOI8 <d...@null.id> wrote:

> How to specify --recipient with my own ID as scond recipient? I just want
> read own messages in sent box. I did play with Muttrc.gpg. Unsuccessful.

Add

#v+
encrypt-to 0xYOURKEYID
#v-

to your ~/.gnupg/gpg.conf

Cheers,

Thomas

--
[X] Nail here for new Monitor
Message has been deleted

KOI8

unread,
Apr 13, 2012, 5:20:03 AM4/13/12
to
Пт., 13 апр. 2012 11:54:31 числа Roger Burton West написал:
> KOI8 wrote:
>>How to specify --recipient with my own ID as scond recipient? I just want
>>read own messages in sent box. I did play with Muttrc.gpg. Unsuccessful.
>
> In ~/.gnupg/options, specify:
> encrypt-to [own ID]
Such file does not exist. No such option in gpg.conf file.

KOI8

unread,
Apr 13, 2012, 5:22:06 AM4/13/12
to
Пт., 13 апр. 2012 11:53:25 числа Thomas Wiegner написал:
>> How to specify --recipient with my own ID as scond recipient? I just want
>> read own messages in sent box. I did play with Muttrc.gpg. Unsuccessful.
>
> Add
>
> #v+
> encrypt-to 0xYOURKEYID
> #v-
>
> to your ~/.gnupg/gpg.conf

Key Id may vary. He depend on mail box.

Thomas Wiegner

unread,
Apr 13, 2012, 5:32:32 AM4/13/12
to
On Fri, 13 Apr 2012, KOI8 <d...@null.id> wrote:

>> #v+
>> encrypt-to 0xYOURKEYID
>> #v-
>>
>> to your ~/.gnupg/gpg.conf
>
> Key Id may vary. He depend on mail box.

This can also be added to the command line of the gpg call and probably
be switched with folder-hooks.

KOI8

unread,
Apr 13, 2012, 6:14:40 AM4/13/12
to
Пт., 13 апр. 2012 12:32:32 числа Thomas Wiegner написал:
>>> encrypt-to 0xYOURKEYID
>> Key Id may vary. He depend on mail box.
>
> This can also be added to the command line of the gpg call and probably
This is what I did try to do in Muttrc.gpg.

--
Origin: Кто сеет привилегии, пожинает революции. - К. Тилье

Jorgen Grahn

unread,
Apr 13, 2012, 7:02:57 AM4/13/12
to
On Fri, 2012-04-13, Thomas Wiegner wrote:
> On Fri, 13 Apr 2012, KOI8 <d...@null.id> wrote:
>
>> How to specify --recipient with my own ID as scond recipient? I just want
>> read own messages in sent box. I did play with Muttrc.gpg. Unsuccessful.
>
> Add
>
> #v+
> encrypt-to 0xYOURKEYID
> #v-
>
> to your ~/.gnupg/gpg.conf

Seems to me that would affect all gpg encryption, though? The user
would have to remember to pass --no-encrypt-to manually to disable
this.

/Jorgen

--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .

Rich Greenberg

unread,
Apr 13, 2012, 11:53:27 AM4/13/12
to
In article <jm8np6$n99$1...@speranza.aioe.org>, KOI8 <d...@null.id> wrote:
>
>How to specify --recipient with my own ID as scond recipient? I just want
>read own messages in sent box. I did play with Muttrc.gpg. Unsuccessful.

I am not sure what gpg has to do with this, or even what gpg is, but if
you put the following line in your .muttrc:

set record=$HOME/.mailspool/outbox

then all sent mail will be placed in "outbox" (or whatever you choose to
name it).

I also have the following:

alias outbox="mutt -f $HOME/.mailspool/outbox"

in my .profile, so the command "outbox" will start mutt pointing to
outbox.

Will this do what you want?

--
Rich Greenberg Sarasota, FL, USA richgr atsign panix.com + 1 941 378 2097
Eastern time. N6LRT I speak for myself & my dogs only. VM'er since CP-67
Canines: Val,Red,Shasta,Zero,Casey & Cinnar (At the bridge) Owner:Chinook-L
Canines: Red & Max (Siberians) Retired at the beach Asst Owner:Sibernet-L
Message has been deleted

Thomas Wiegner

unread,
Apr 13, 2012, 3:13:22 PM4/13/12
to
On Fri, 13 Apr 2012, KOI8 <d...@null.id> wrote:

>> This can also be added to the command line of the gpg call and probably
> This is what I did try to do in Muttrc.gpg.

please reread my last post. It looks like you missed the essential part:

#v+
be switched with folder-hooks.
#v-

Cheers,

Thomas

Jorgen Grahn

unread,
Apr 13, 2012, 4:58:56 PM4/13/12
to
On Fri, 2012-04-13, Roger Burton West wrote:
> Rich Greenberg wrote:
>
>>I am not sure what gpg has to do with this, or even what gpg is,
>
> There's your problem. Wikipedia will help with it.
>
> The original poster wants to add destination keys to the encrypted mail
> he's sending, the specific key to be based on the mailbox in use.

No, he "want read own messages in sent box" and tried to accomplish
that by doing what you mention. But he can also

set fcc_clear = yes

and not have his Fcc: copy encrypted at all. That may or may not be
acceptable to him or the people he communicate with.

Убить спамера

unread,
Apr 14, 2012, 12:15:57 AM4/14/12
to
Пт., 13 апр. 2012 22:13:22 числа Thomas Wiegner написал:
>>> This can also be added to the command line of the gpg call and probably
>> This is what I did try to do in Muttrc.gpg.
> please reread my last post. It looks like you missed the essential part:
> #v+
> be switched with folder-hooks.
> #v-
OK, key ID defined with pgp_sign_as. Now what?

--
Origin: Есть великие люди среди маленьких людей, и есть великие люди среди
великих людей. - Б. Шоу

Thomas Wiegner

unread,
Apr 14, 2012, 5:44:40 AM4/14/12
to
On Sat, 14 Apr 2012, Убить спамера <d...@null.id> wrote:
>> please reread my last post. It looks like you missed the essential part:
>> #v+
>> be switched with folder-hooks.
>> #v-
> OK, key ID defined with pgp_sign_as. Now what?

Erm, it would be helpful if you could describe *exactly* what you did.
I don't see what the pgp_sign_as has to do with your encryption problems.

Please read the documentation to mutt's *folder-hook* command, that
should do the trick for you.

You could also kind of brute force by adding all the relevant key IDs to
the encrypt-to option either in the mutt config or the gpg config
or consider Jorgens tip regarding the fcc_clear command.

Убить спамера

unread,
Apr 14, 2012, 7:43:59 AM4/14/12
to
Сб., 14 апр. 2012 12:44:40 числа Thomas Wiegner написал:
>> OK, key ID defined with pgp_sign_as. Now what?
>
> Erm, it would be helpful if you could describe *exactly* what you did.
> I don't see what the pgp_sign_as has to do with your encryption problems.
This option defined since 2009.

> Please read the documentation to mutt's *folder-hook* command, that
> should do the trick for you.
Could you point me out on suitable chapter?

> You could also kind of brute force by adding all the relevant key IDs to
> the encrypt-to
And he will encrypt to all defined IDs? I do not need that.

> option either in the mutt config or the gpg config
> or consider Jorgens tip regarding the fcc_clear command.

--
Origin: Знать цель, к которой мы стремимся, - это рассудительность; достигнуть
этой цели - верность взгляда; остановиться на ней - сила; попасть далее
цели - дерзость. - Ш. Дюкло

Thomas Wiegner

unread,
Apr 14, 2012, 11:43:24 AM4/14/12
to
On Sat, 14 Apr 2012, Убить спамера <d...@null.id> wrote:

>> Erm, it would be helpful if you could describe *exactly* what you did.
>> I don't see what the pgp_sign_as has to do with your encryption problems.
> This option defined since 2009.

signing!=encrypting

>> Please read the documentation to mutt's *folder-hook* command, that
>> should do the trick for you.
> Could you point me out on suitable chapter?

man muttrc

search for folder-hook

Убить спамера

unread,
Apr 14, 2012, 12:47:30 PM4/14/12
to
Сб., 14 апр. 2012 18:43:24 числа Thomas Wiegner написал:
>>> Erm, it would be helpful if you could describe *exactly* what you did.
>>> I don't see what the pgp_sign_as has to do with your encryption problems.
>> This option defined since 2009.
> signing!=encrypting
?

>>> Please read the documentation to mutt's *folder-hook* command, that
>>> should do the trick for you.
>> Could you point me out on suitable chapter?
>
> man muttrc
> search for folder-hook
I'm here because i did not found something useful and relevant there. You
have no idea how to fix problem, I guess.

--
Origin: Тот, кто не помнит своего прошлого, осуждён на то, чтобы пережить его
вновь. - Д. Сантаяна

Thomas Wiegner

unread,
Apr 14, 2012, 2:13:15 PM4/14/12
to
On Sat, 14 Apr 2012, Убить спамера <d...@null.id> wrote:

>>>> Erm, it would be helpful if you could describe *exactly* what you did.
>>>> I don't see what the pgp_sign_as has to do with your encryption problems.
>>> This option defined since 2009.
>> signing!=encrypting
> ?

Your problem is related to encryption. I doubt that any signing related
command will help here.

>>>> Please read the documentation to mutt's *folder-hook* command, that
>>>> should do the trick for you.
>>> Could you point me out on suitable chapter?
>>
>> man muttrc
>> search for folder-hook
> I'm here because i did not found something useful and relevant there. You
> have no idea how to fix problem, I guess.

Sigh! OK, for once I RTFM it for you, from man mutrc:

#v+
folder-hook [!]regexp command
When mutt enters a folder which matches regexp (or, when regexp is
preceded by an exclamation mark, does not match regexp), the given
command is executed.

When several folder-hooks match a given mail folder, they are
executed in the order given in the configuration file.
#v-

This in combination with 'set pgp_encrypt_sign_command' or 'set
pgp_encrypt_sign_command' should do exactly what you want. If you don't
get it now, you have no intention to fix problem, I guess.

EOD for me here.

Убить спамера

unread,
Apr 15, 2012, 5:58:22 AM4/15/12
to
Сб., 14 апр. 2012 21:13:15 числа Thomas Wiegner написал:
>>> signing!=encrypting
> folder-hook [!]regexp command
> When mutt enters a folder which matches regexp (or, when regexp is
> preceded by an exclamation mark, does not match regexp), the given
> command is executed.
>
> This in combination with 'set pgp_encrypt_sign_command' or 'set
> pgp_encrypt_sign_command' should do exactly what you want. If you don't
> get it now, you have no intention to fix problem, I guess.
>
> EOD for me here.
Your allusions useless.

--
Origin: Преступника с деньгами современный мир принимает как честного человека.
- В. Швебель

indulekha

unread,
Apr 15, 2012, 8:25:20 AM4/15/12
to
On 2012-04-15, õÂÉÔØ ÓÐÁÍÅÒÁ <d...@null.id> wrote:
> Сб., 14 апр. 2012 21:13:15 числа Thomas Wiegner написал:
>>>> signing!=encrypting
>> folder-hook [!]regexp command
>> When mutt enters a folder which matches regexp (or, when regexp is
>> preceded by an exclamation mark, does not match regexp), the given
>> command is executed.
>>
>> This in combination with 'set pgp_encrypt_sign_command' or 'set
>> pgp_encrypt_sign_command' should do exactly what you want. If you don't
>> get it now, you have no intention to fix problem, I guess.
>>
>> EOD for me here.
> Your allusions useless.
>

Yes, I'm fairly certain he's figured that out now.
:D
--
❤ ♫ ❤ ♫ ❤ ♫ ❤
Indulekha

Убить спамера

unread,
Apr 15, 2012, 9:20:35 AM4/15/12
to
Вс., 15 апр. 2012 15:25:20 числа indulekha написал:
> Yes, I'm fairly certain he's figured that out now.
FAQ should answer on such questions. He don't.

--
Origin: Свобода радует не столь сильно как угнетает рабство. - Геродиан

indulekha

unread,
Apr 15, 2012, 9:33:22 AM4/15/12
to
On 2012-04-15, õÂÉÔØ ÓÐÁÍÅÒÁ <d...@null.id> wrote:
> Вс., 15 апр. 2012 15:25:20 числа indulekha написал:
>> Yes, I'm fairly certain he's figured that out now.
> FAQ should answer on such questions. He don't.
>

You're doing it incorrectly. The FAQ is only the introduction.
You must read the manual (man mutt), become very familiar
with it. Alternatively, for the impatient there are many
tutorials and howtos online -- use your favorite search
engine. And for the *really* impatient, just search for
something like "muttrc gpg" and copy and paste from
someone else's working configuration to use as a starting
point. But beware, the impatient methods will only help
postpone the inevitable -- one day you'll need that manual!
:)

If all this is too complicated for you, use something else.
We won't hold it against you.

--
❤ ♫ ❤ ♫ ❤ ♫ ❤
Indulekha

0 new messages