On Fri, Oct 30, 2009 at 08:27:14PM +0100, Marcin Wlodarczak wrote:
> 
> I was wondering if someone could help me to set up separate Sent folders
> for different accounts. From what I've seen, people tend to use
> folder-hooks for similar functionality but I would like the appropriate
> Sent folder to be chosen depending on the "From:" header, not on the
> mailbox I am reading.

send-hook '~f ^...@yourdomain\.com$' 'my_hdr Fcc:/folder/path/'

I think will do what you want. Don't forget to reset your Fcc: somehow
after this matches, such as with

send-hook . 'unmy_hdr Fcc:'

earlier in the muttrc, otherwise the default save folder change will
be persistent.

Reply via email to