Re: Changing my_hdr back to default

2000-10-12 Thread -kevin-

Ben,

On 00-08-07 15:33, Ben Beuchler [EMAIL PROTECTED] wrote:
 I've setup up a macro for sending mail as another "persona" that looks
 something like this:
 
 macro index M ":my_hdr From: [EMAIL PROTECTED]enterm"
 
 What I'm trying to work out is a way to automatically switch back to
 using my normal information for any future emails.
 
 Any suggestions?

I didn't see this one mentioned, but since I sort my messages
(using procmail) into separate folders, I just use folder hooks to
switch identities:


#   Don't let mutt set the header
#   This will be a personalities thing,
#   which will let me author messages based on current mailbox
#   default
folder-hook . "my_hdr From: -kevin- [EMAIL PROTECTED]"
folder-hook . "my_hdr Organization: none"
folder-hook . "set signature=~/.signature"
send-hook '~t [EMAIL PROTECTED]' "set signature=~/.signature_love"

#   [EMAIL PROTECTED]
folder-hook =in-birdbrain "my_hdr From: -kevin- [EMAIL PROTECTED]"
folder-hook =in-birdbrain "my_hdr Organization: BirdBrain Systems"
folder-hook =in-birdbrain "set signature=~/.signature.birdbrain"
fcc-hook '~f [EMAIL PROTECTED]' =out-birdbrain


This is actually handy because generally I want my identity to
match the messages I am responding to.  I also threw in stuff
which stores outbound messages in separate folders.

-- 
-*   -kevin-*-
-* sick with the good infection *-
-*   [EMAIL PROTECTED]   *-
-* http://www.pobox.com/~kathey *-



Re: Changing my_hdr back to default

2000-08-08 Thread Michael Tatge

Ben Beuchler muttered:
 I've setup up a macro for sending mail as another "persona" that looks
 something like this:
 
 macro index M ":my_hdr From: [EMAIL PROTECTED]enterm"
 
 What I'm trying to work out is a way to automatically switch back to
 using my normal information for any future emails.

write special rcfiles for each profile. and use macros so switch
between them.

macro index ^F2 ":source ~/.mutt/muttrc" "reset to default"
marco index ^F3 ":source ~/.mutt/profile1" "become person 1"
marco index ^F4 ":source ~/.mutt/profile2" "become person 2"

where ~/.mutt/profile# contains all configurguration stuff.
i.e my_hdr, signature, attribution, whatever
  
HTH,

Michael
-- 
The program isn't debugged until the last user is dead.

PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65  40FA 5967 ACA1 0B57 7C13



Changing my_hdr back to default

2000-08-07 Thread Ben Beuchler

I've setup up a macro for sending mail as another "persona" that looks
something like this:

macro index M ":my_hdr From: [EMAIL PROTECTED]enterm"

What I'm trying to work out is a way to automatically switch back to
using my normal information for any future emails.

Any suggestions?

Thanks,
Ben

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612) 321-9290 x101
Bitstream Underground   www.bitstream.net



Re: Changing my_hdr back to default

2000-08-07 Thread Michael Elkins

On Mon, Aug 07, 2000 at 03:33:30PM -0500, Ben Beuchler wrote:
 What I'm trying to work out is a way to automatically switch back to
 using my normal information for any future emails.

If mutt is configured to use the correct address without the use of my_hdr,
you can simple use something like:
bind index \eM :unmy_hdr from
alternatively you can use another `my_hdr' command to set it back to
whatever you want.

me

 PGP signature