Re: selecting from when sending an email

2008-10-09 Thread Jeff Kinz
On Tue, Oct 07, 2008 at 12:14:57AM -0500, Kyle Wheeler wrote:
 (and/or signatures), the answer is usually to create a macro that will 
 change all the necessary settings. For example:
 
 macro compose f1 set signature=~/.mutt/wifesig; my_hdr From: [EMAIL 
 PROTECTED]enter

Wait - does f1 tell mutt that the F1 key is used to activate
this macro?

Yes, I'm really asking this, never saw saw mutt use the function
keys. 

-- 


Re: selecting from when sending an email

2008-10-09 Thread Christian Brabandt
Hi Jeff!

On Thu, 09 Oct 2008, Jeff Kinz wrote:

 On Tue, Oct 07, 2008 at 12:14:57AM -0500, Kyle Wheeler wrote:
  
  macro compose f1 set signature=~/.mutt/wifesig; my_hdr From: [EMAIL 
  PROTECTED]enter
 
 Wait - does f1 tell mutt that the F1 key is used to activate
 this macro?

Yes.

regards,
Christian
-- 
  • If you need more than 3 levels of indentation, you're screwed anyway, and
should fix your program.
   Linus Torvalds: Linux 1.3.53 CodingStyle documentation.


Re: selecting from when sending an email

2008-10-07 Thread Robert Svoboda
* Joseph [EMAIL PROTECTED] [2008-10-07 08:50]:
 When sending an email to certain person I have a hook:

 send-hook '~t [EMAIL PROTECTED]|~t
 [EMAIL PROTECTED]' my_hdr From: Joseph
 [EMAIL PROTECTED]; set signature=~/.mutt/signature$

 Now the problem is when my wife wants to send an email to
 one of these persons my From: email and my signature is
 automatically selected.  Is there a way to select different
 headers (from, signature etc) when sending and email the the
 same person?

try http://wiki.mutt.org/?ConfigTricks look for Set From
header before sending

-r


Re: selecting from when sending an email

2008-10-07 Thread Michael Tatge
* On Mon, Oct 06, 2008 11:48PM -0500 Kyle Wheeler ([EMAIL PROTECTED]) muttered:
 How exactly is mutt supposed to know whether it's you or your wife at 
 the keyboard?

Well you could use macros, but hey unix gave us the nice concept of user
config files. Why not make her an own account and tweak the config a bit?

HTH,

Michael
-- 
It's God.  No, not Richard Stallman, or Linus Torvalds, but God.
(By Matt Welsh)

PGP-Key-ID: 0xDC1A44DD
Jabber: [EMAIL PROTECTED]


Re: selecting from when sending an email

2008-10-07 Thread Joseph

On Tue, 07 Oct 2008, Robert Svoboda wrote:


* Joseph [EMAIL PROTECTED] [2008-10-07 08:50]:

When sending an email to certain person I have a hook:

send-hook '~t [EMAIL PROTECTED]|~t
[EMAIL PROTECTED]' my_hdr From: Joseph
[EMAIL PROTECTED]; set signature=~/.mutt/signature$

Now the problem is when my wife wants to send an email to
one of these persons my From: email and my signature is
automatically selected.  Is there a way to select different
headers (from, signature etc) when sending and email the the
same person?


try http://wiki.mutt.org/?ConfigTricks look for Set From
header before sending

-r


Thank you, that is what I was looking for :-)

--
#Joseph
GPG KeyID: ED0E1FB7


selecting from when sending an email

2008-10-06 Thread Joseph

When sending an email to certain person I have a hook:

send-hook '~t [EMAIL PROTECTED]|~t [EMAIL PROTECTED]' my_hdr From: Joseph [EMAIL 
PROTECTED]; set signature=~/.mutt/signature$

Now the problem is when my wife wants to send an email to one of these persons my From: 
email and my signature is automatically selected.
Is there a way to select different headers (from, signature etc) when sending 
and email the the same person?

--
#Joseph
GPG KeyID: ED0E1FB7


Re: selecting from when sending an email

2008-10-06 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday, October  6 at 10:45 PM, quoth Joseph:
 When sending an email to certain person I have a hook:

 send-hook '~t [EMAIL PROTECTED]|~t [EMAIL PROTECTED]' my_hdr From: Joseph 
 [EMAIL PROTECTED]; set signature=~/.mutt/signature$

 Now the problem is when my wife wants to send an email to one of these 
 persons my From: email and my signature is automatically selected.
 Is there a way to select different headers (from, signature etc) when sending 
 and email the the same person?

How exactly is mutt supposed to know whether it's you or your wife at 
the keyboard?

~Kyle
- -- 
America will never be destroyed from the outside. If we falter and 
lose our freedoms, it will be because we destroyed ourselves.
 -- Abraham Lincoln
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkjq6iEACgkQBkIOoMqOI15q8gCgpm2r+cn71bjxV9Pluee9wfQ8
l+IAoNBbYpPVl6mFetMK6TNvrehBylWR
=A92w
-END PGP SIGNATURE-


Re: selecting from when sending an email

2008-10-06 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday, October  6 at 11:10 PM, quoth Joseph:
 When sending an email to certain person I have a hook:

 send-hook '~t [EMAIL PROTECTED]|~t [EMAIL PROTECTED]' my_hdr From: Joseph 
 [EMAIL PROTECTED]; set signature=~/.mutt/signature$

 Now the problem is when my wife wants to send an email to one of these 
 persons my From: email and my signature is automatically selected. 
 Is there a way to select different headers (from, signature etc) when 
 sending and email the the same person?

 How exactly is mutt supposed to know whether it's you or your wife at 
 the keyboard?

 That is my question.

The *usual* way that people do this is that two people don't share a 
single email account and client.

But for those that want to be able to toggle between return addresses 
(and/or signatures), the answer is usually to create a macro that will 
change all the necessary settings. For example:

macro compose f1 set signature=~/.mutt/wifesig; my_hdr From: [EMAIL 
PROTECTED]enter

~Kyle
- -- 
To invent, you need a good imagination and a pile of junk.
-- Thomas Jefferson
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkjq8FEACgkQBkIOoMqOI149HACfU5pwfwmZLeusILx65Tz2iqze
IN4An0ndpNKKT+eTE0VBeGyhvQB4rIKK
=uLRR
-END PGP SIGNATURE-


Re: selecting from when sending an email

2008-10-06 Thread Joseph

On Mon, 06 Oct 2008, Kyle Wheeler wrote:


On Monday, October  6 at 10:45 PM, quoth Joseph:

When sending an email to certain person I have a hook:

send-hook '~t [EMAIL PROTECTED]|~t [EMAIL PROTECTED]' my_hdr From: Joseph [EMAIL 
PROTECTED]; set signature=~/.mutt/signature$

Now the problem is when my wife wants to send an email to one of these persons my From: 
email and my signature is automatically selected.
Is there a way to select different headers (from, signature etc) when sending 
and email the the same person?


How exactly is mutt supposed to know whether it's you or your wife at 
the keyboard?


~Kyle



That is my question. I could put my_hdr From: Joseph [EMAIL PROTECTED], [EMAIL 
PROTECTED]; set signature=~/.mutt/join_siganture
and delete one of the entries but maybe somebody has a better idea.

--
#Joseph
GPG KeyID: ED0E1FB7