Hi there, I'm new to mutt being a long-time Pine fanatic.  Just
because I was bored today I switched to mutt (don't ask why, I'm not
sure myself) and so far I'm somewhat impressed.

I search the archive and couldn't find a satisfactory answer to this
question...  I used the Pine roles somewhat exclusively.  I've got
this, my default email address, but I also send out "admin" messages
at times that need a different email address.  These messages are
also put into a folder by the name of "freezerburn" by procmail.

I've spent about an hour now trying to make a macro (\ea) to set the
signature to ~/.signature-admin and to change the From: line with
my_hdr but I can't get it to work.  I also tried the send-hook
command to match me replying to all messages in the freezerburn
mailbox but I think I might just be confused on that part (should I
put in send-hook "[EMAIL PROTECTED]" instead of the folder name? 
ie. someone sends a message to admin@... and I want to reply with
that same email address).

This is what I currently have in my .muttrc:

macro index \ea 'set signature=~/.signature-admin; \
  my_hdr From: Freezer Burn Admin <[EMAIL PROTECTED]>'

send-hook =freezerburn 'set signature=~/.signature-admin; \
  my_hdr From: Freezer Burn Admin <[EMAIL PROTECTED]>'

I think I know where I went wrong with the send-hook, but why won't
the macro work properly?  Do I need to put a compose command in there
somehow?  I'm a little lost on how to write the macros properly...

Thanks a million in advance.

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org

Current Linux uptime: 13 days 2 hrs and 24 mins.

Reply via email to