Encrypting to gpg groups

2014-04-07 Thread Patrick Ben Koetter
Greetings,

is it possible to automatically send encrpyted messages to GnuPG groups?

>From gpg(1):

--group name=value1
Sets  up  a  named group, which is similar to aliases in email
programs.  Any time the group name is a recipient (-r or --recipient),
it will be expanded to the values specified.

I thought I'd give it a try, but failed. What I tried was adding a group like
this and send a message to vorst...@sys4.de:

$ grep vorst...@sys4.de ~/.gnupg/gpg.conf 
group vorst...@sys4.de = p...@sys4.de m...@sys4.de

Regards

p@rick

-- 
Patrick Ben Koetter
p...@state-of-mind.de


displaying the outbox

2014-04-07 Thread Ulrich Lauther
Hi all,

I save my outgoing messages in a file outbox,
using "set record=+outbox " in my .muttrc

Now when I open this file (mutt -f outbox),
I see the subjects of the sent messages, that´s fine.
I also see the sender, who is always myself - no surprise.
It would be much more helpfull, to see the recipient instead.
Is there an option to achieve this?

Thanks for any help!

ulrich


Re: displaying the outbox

2014-04-07 Thread Patrick Shanahan
* Ulrich Lauther  [04-07-14 15:13]:
> I save my outgoing messages in a file outbox,
> using "set record=+outbox " in my .muttrc
> 
> Now when I open this file (mutt -f outbox),
> I see the subjects of the sent messages, that´s fine.
> I also see the sender, who is always myself - no surprise.
> It would be much more helpfull, to see the recipient instead.
> Is there an option to achieve this?

I use:
 folder-hook =outbox 'set index_format="%?M?v& ? %4C %Z %{%b %d} %-18.18F (%4c) 
%s"'

that's a one liner

I suggest you check my changes in the-fine-manual as there are *many*
options.

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://linuxcounter.net


Re: displaying the outbox

2014-04-07 Thread Matthias Apitz
El día Monday, April 07, 2014 a las 09:12:23PM +0200, Ulrich Lauther escribió:

> Hi all,
> 
> I save my outgoing messages in a file outbox,
> using "set record=+outbox " in my .muttrc
> 
> Now when I open this file (mutt -f outbox),
> I see the subjects of the sent messages, that´s fine.
> I also see the sender, who is always myself - no surprise.
> It would be much more helpfull, to see the recipient instead.
> Is there an option to achieve this?

Hi,
I can imagine that the problem is: a sender is always one person, while
the recipients could be many.

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz, , http://www.unixarea.de/ f: +49-170-4527211
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5


Re: displaying the outbox

2014-04-07 Thread Patrick Shanahan
* Matthias Apitz  [04-07-14 16:18]:
> El día Monday, April 07, 2014 a las 09:12:23PM +0200, Ulrich Lauther escribió:
> 
> > Hi all,
> > 
> > I save my outgoing messages in a file outbox,
> > using "set record=+outbox " in my .muttrc
> > 
> > Now when I open this file (mutt -f outbox),
> > I see the subjects of the sent messages, that´s fine.
> > I also see the sender, who is always myself - no surprise.
> > It would be much more helpfull, to see the recipient instead.
> > Is there an option to achieve this?
> 
> Hi,
> I can imagine that the problem is: a sender is always one person, while
> the recipients could be many.
> 

The *problem* is the setting of index_format for the outbox folder, it is
in the manual.
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://linuxcounter.net


Re: displaying the outbox

2014-04-07 Thread Matthias Apitz
El día Monday, April 07, 2014 a las 04:31:12PM -0400, Patrick Shanahan escribió:

> > I can imagine that the problem is: a sender is always one person, while
> > the recipients could be many.
> > 
> 
> The *problem* is the setting of index_format for the outbox folder, it is
> in the manual.

You have not got my point: To: could be a big list of recipients, how do
you want to display this?

matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz, , http://www.unixarea.de/ f: +49-170-4527211
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5


Re: displaying the outbox

2014-04-07 Thread Ulrich Lauther
On Mon, Apr 07, 2014 at 03:25:06PM -0400, Patrick Shanahan wrote:
> 
> I use:
>  folder-hook =outbox 'set index_format="%?M?v& ? %4C %Z %{%b %d} %-18.18F 
> (%4c) %s"'
> 
%-18.18F does not work for me: I still see my own name.
However, %-18.18t achieves what I want.

Though the manual says:

%F
author name, or recipient name if the message is from you

Anyway, thanks for the quick help.

ulrich


Re: displaying the outbox

2014-04-07 Thread Derek Martin
On Mon, Apr 07, 2014 at 11:14:44PM +0200, Ulrich Lauther wrote:
> %-18.18F does not work for me: I still see my own name.
> However, %-18.18t achieves what I want.

Check out the alternates command; I believe that's why you're not
getting what you expect with %F.

-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.



pgpDil7V37sQa.pgp
Description: PGP signature


Re: displaying the outbox

2014-04-07 Thread Jon LaBadie
On Mon, Apr 07, 2014 at 11:14:44PM +0200, Ulrich Lauther wrote:
> On Mon, Apr 07, 2014 at 03:25:06PM -0400, Patrick Shanahan wrote:
> > 
> > I use:
> >  folder-hook =outbox 'set index_format="%?M?v& ? %4C %Z %{%b %d} %-18.18F 
> > (%4c) %s"'
> > 
> %-18.18F does not work for me: I still see my own name.
> However, %-18.18t achieves what I want.
> 
> Though the manual says:
> 
> %F
> author name, or recipient name if the message is from you
> 
> Anyway, thanks for the quick help.
> 
After your original post I looked in the manual and
found the %F format.  When I tried it I got mixed
results.  The problem was that my several email
aliases were not recognized as me.  Messages from
my primary email address showed the recipient's
address in the index.  It also flagged them as To:.

Jon
-- 
Jon H. LaBadie j...@jgcomp.com
 11226 South Shore Rd.  (703) 787-0688 (H)
 Reston, VA  20190  (609) 477-8330 (C)


Re: displaying the outbox

2014-04-07 Thread Ulrich Lauther
On Mon, Apr 07, 2014 at 11:22:59PM -0400, Jon LaBadie wrote:
> On Mon, Apr 07, 2014 at 11:14:44PM +0200, Ulrich Lauther wrote:
> > On Mon, Apr 07, 2014 at 03:25:06PM -0400, Patrick Shanahan wrote:
> > > 
> > > I use:
> > >  folder-hook =outbox 'set index_format="%?M?v& ? %4C %Z %{%b %d} %-18.18F 
> > > (%4c) %s"'
> > > 
> > %-18.18F does not work for me: I still see my own name.
> > However, %-18.18t achieves what I want.
> > 
> > Though the manual says:
> > 
> > %F
> > author name, or recipient name if the message is from you
> > 
> > Anyway, thanks for the quick help.
> > 
> After your original post I looked in the manual and
> found the %F format.  When I tried it I got mixed
> results.  The problem was that my several email
> aliases were not recognized as me.  Messages from
> my primary email address showed the recipient's
> address in the index.  It also flagged them as To:.
> 
> Jon

> > author name, or recipient name if the message is from you

The concept of "message is from you" is not clear to me.
How does mutt decide whether a message is from me or not?
Does it look at the From: field, and if so, what is it compared to?
My login-name?

ulrich