<<< Date Index >>>     <<< Thread Index >>>

Re: change the from based on mailbox...



On Mon, Apr 05, 2004 at 03:54:50PM +0200, Zbyszek wrote:
> On Mon, Apr 05, 2004 at 09:27:44AM -0400, Sam Carleton wrote:
> > I would like to change my from information based on the mailbox
> > that I am currently in.  I have email addresses like sales@ and
> > support@ that go into a different mailbox then my regualr mail.
> > When I reply to one of those emails, I would like it to look
> > like it came from Sales Department <Sales@...> rather then my
> > personal info.  Is that possible with Mutt?
> > 
> > Sam
> 
> Append something like this in your .muttrc:
> 
> set envelope_from
> 
> folder-hook =qwerty 'my_hdr From: My Name <myid@xxxxxxxxxx>'
> 
> mailboxes $MAIL
> mailboxes =qwerty

Ok, I figured out the whole folder-hook and the send-hook, because,
as someone else suggested, I read TFM;)  But in reading TFM, I did
not understand how to implement mailboxes for ./Maildir/.

I would like define things so that Mutt looks in both of the
following mailboxes for new mail:

~/Maildir/
~/Maildir/sales

How do I go about doing this?

Sam