Forum Moderators: bakedjake

Message Too Old, No Replies

Any MUTT Fans Here?

Linux text based email client.

         

Nick_W

7:24 am on Oct 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

Anyone using Mutt here? - I love it, but the rc file can be tricky sometimes ;-)

I'm trying to find how to do this: Make it that whenever I'm in folder xyz, the From: and Reply-To: fields read nick@xyz.com rather than the default.

Do I use a folder-hook for that? If so, how?

Many thanks...

Nick

danny

5:26 am on Oct 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



whenever I'm in folder xyz, the From: and Reply-To: fields read nick@xyz.com rather than the default

I think what you need are "folder-hook" commands. Here's an example:

folder-hook ~/mail/.danny 'my_hdr From: Danny Yee <entity@danny.oz.au>' 

This sets the From: header explicitly, whenever I'm in the folder ~/mail/.danny. You can do somethign similar to set the Reply-To: header (though if From: is right, you shouldn't need that).

Danny.

Nick_W

7:06 am on Oct 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks danny, that works great.

TIP: If you have a folder-hook for for all your folder like:

folder-hook . 'my_hdr......

Then that needs to come after any more specific ones.

Thanks again..

Nick