Kai Weber wrote:
> I am searching for a way defining a default TO: address depending on the
> actual folder. Let's say I am in the mutt's Mailinglist folder. If I
> press "m" I want a default address [EMAIL PROTECTED] there.
>
> I think it is an folder-hook thing, but I have no idea how to implement
> this. Any suggestions & tips?
This might help or give you a starting place, anyway:
folder-hook . 'unmy_hdr To:'
folder-hook =IN-L-mutt-users 'my_hdr To: [EMAIL PROTECTED]'
Obviously, I use "=IN-L-mutt-users" as the mailing list folder;
you should sdjust that accordingly for your situation.
A problem with this, though, is that list-replies tend to have
the list address twice in the To: field. I haven't spent any
time determining a method to correct that.
Good luck!
-- Mr. Wade
--
Linux: The Choice of the GNU Generation