unable to set working send-hook
Hi all!
although I've been using mutt under GNU/Linux for a few years now, I've
just subscribed to the list and this is my first post.
Despite various attempts to set different _From_ addresses and/or
signatures according to the ML I'm writing to I always end up with the
same result: the _send-hook_ will only work for replies to messages
coming from a particular list but not for my first message to the list!
Here follows the relevant part of my .muttrc and I hope you can tell me
what is wrong with these settings.
Thanks for your attention.
Regards,
Ennio.
-------- quote ------
# default hook
set default_hook =3D "~f %s !~P | (~P ~C %s)"
send-hook . unmy_hdr \
my_hdr From: Ennio-Sr <user1@xxxxxx> ; \
my_hdr Reply-To: Ennio-Sr <user1@xxxxxx> ; \
set signature=$HOME/.sign1
# these are ok even together with the above
#send-hook . \
#my_hdr From: Ennio-Sr <user1@xxxxxx> ; \
#my_hdr Reply-To: Ennio-Sr <user1@xxxxxx> ; \
#set signature=$HOME/.sign1
unhook * ; \
send-hook '~t ppc' 'my_hdr From: Ennio-Sr <user2@xxxxxx>; \
my_hdr Reply-To: Ennio-Sr <user2@xxxxxxxxxx> ; \
set signature=$HOME/.sign2'
unhook * ; \
send-hook '~t debian' 'my_hdr From: Ennio-Sr <use4@xxxxxx>'
unhook * ; \
send-hook '~t majordomo' 'my_hdr From: Ennio-Sr <use5@xxxxxx>'
------ unquote -----
--
[Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo. \\?//
Fa' qualche cosa di cui non sei capace!" (diceva Henry Miller) ] (°|°)
Ricevo solo messaggi Content-Type: plain/text (no html o multipart). )=(
!!! --> e-mail a mio nome via OE (M$) sono false e infette <-- !!!