I was really thinking something more of a one keystroke macro kinda
thing that would immediately change my from address etc... Your
solution is nice, but it a) waits until sending, and b) relies on the to
address. I want to be able to change froms regardless of to. Anyone
else?
-Mike Arrison
On Tue, Jun 04, 2002 at 05:47:04AM +0200, Benjamin Pflugmann wrote:
> How about using a send-hook that checks for the to/from/cc. Mine for
> this list looks like (1-1 copy from my muttrc):
>
> send-hook '~C "^mutt-(users|dev)@mutt\.org$" | ~f ^benjamin-mutt@pflugmann\.de$' ' \
> my_hdr From: [EMAIL PROTECTED] ; \
> set attribution="On %d, %F wrote:" ; \
> set signature="~/.signature_mutt" ; \
> set pgp_sign_as="0xDA119C70" '
>
> # in contrast to '~C listadress ( ~P | ~p )' this rule will also
> # catch private mail which relates to the list. send-hook assures the
> # correct mail address is set.
> fcc-save-hook '~f ^benjamin-mutt@pflugmann\.de$ | \
> ~C ^benjamin-mutt@pflugmann\.de$' =archive/rmutt.gz
>
> fcc-save-hook '~C ^mutt-dev@mutt\.org$' =archive/mutt_dev.gz
> fcc-save-hook '~C ^mutt-users@mutt\.org$' =archive/mutt_user.gz
>
> HTH,
>
> Benjamin.
>
> --
> [EMAIL PROTECTED]