I have a folder-hook set up which basically uses a particular email account when in a folder. I have it set up as:
set envelope_from_address="addr...@email.com" set use_envelope_from=yes set from = "addr...@email.com" set realname = "Name, Real" set forward_format = "[FW frm %a:%s]" folder-hook . 'unset smtp_url' folder-hook '(mutt|fedora|postfix|fetchmail|openbox)' 'set from = em...@address.com; set smtp_url="something"; set smtp_pass="somethingelse"; set envelope_from_address="em...@address.com"; set use_envelope_from=yes; set from = "em...@address.com"; my_hdr Bcc:; set forward_format = "[FW frm %a:%s]";set realname = "Real Name"; set ssl_force_tls = yes; set ssl_starttls = yes' But I have noticed that when I go to another (default) folder (not in the list above), after one of the folders above (mutt, say), I still have the modified folder-hook settings go to the new folder. How do I automagically revert back to the default setting when I am done visiting these special folders with folder hooks (such as mutt in the example above)? Many thanks for your suggestions and best wishes, Ranjan