On Tue, Jul 09, 2002 at 11:52:57AM -0400 or thereabouts, Jay Daniels wrote:
> On Tue, 2002-07-09 at 11:33, Hal Burgiss wrote:
> > On Tue, Jul 09, 2002 at 11:23:23AM -0400, Jay Daniels wrote:
> > > 
> > > Now that I have mutt working with imap I still can't use it because
> > > I receive mail from different address which end up in this mailbox.
> > > So how do you do aliases in mutt?  I created an aliases file but
> > > when I use emacs as my editor I have no option to pick which alias
> > > to put in my From address when sending mail or replying. Editing the
> > > From address by hand is a pain.
> > 
> > I believe this is set in ~/.muttrc, and the default is
> > ~/.mail_aliases, which works for me. 
> > 
> > AFAIK, there is two ways to start composing new mail: one is where
> > mutt prompts for To: and Subject: lines. This is where you use
> > aliases. Just hit <tab> to see them all, or put in first part of a
> > known address and hit <tab>. AFAIK, you cannot do this after you are
> > actually in full blown 'compose' mode.
> >  
> 
> Then aliases is not what I thought it was.  I wanted aliases for From:
> in which I could choose what goes in the From field.  mutt never prompts
> me for the From address, but only for the subject and to field.

Hi Jay, 
Yes you can use really anything you want in the From field when you want
to send new mail, versus sending a reply mail (which you can also do),
but I am assuming this is for new mail... You have the option of setting
up macros in the .muttrc file.  I have a few, but basically, when you
hit "m" it will use the standard from.  Now, I set up a macro so that
when I use "M" it will switch to another address in my From field. 

To do this, add something like this in your .muttrc file. Really, the
possibilities are endless for this.

macro index M ":my_hdr From: Gary <[EMAIL PROTECTED]><enter><mail>"
macro index m ":my_hdr From: Gary <[EMAIL PROTECTED]><enter><mail>"
macro index + ":my_hdr From: Gary <[EMAIL PROTECTED]><enter><mail>"
 
also, you can always modify your From header before sending by hitting
ESC f and modifying it.
-- 
Best regards,
Gary   

Today's thought: Accept that some days you're the pigeon, and some
days you're the statue.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to