On Wed, Mar 24, 2010 at 05:39:31PM +0000, Jamie Griffin wrote:
>            send-hook . 'my_hdr From: Jamie Griffin <ja...@fantomatic.co.uk> ; 
> \
>                   my_hdr Reply-To: ja...@fantomatic.co.uk'

Setting the Reply-To the same as your From: address is ok, but
redundant.  I would just do 'unmy_hdr reply-to' instead.

>            send-hook '~t mutt-users' 'my_hdr From: Jamie Griffin 
> <ja...@fantomatic.co.uk> ; \
>                   my_hdr Reply-To: mutt-users@mutt.org'

I think instead of setting the Reply-To for mailing lists, you should
instead add:
        subscribe mutt-users@mutt.org
to your ~/.muttrc.  This will cause Mutt to add a Mail-Followup-To:
header field which will indicate that you are subscribed to the list, so
group replies should only go to this list.  This has the benefit of
making it easier if someone wants to send you a private off-list email.

> What would be even more desirable is if I can set the hook to match a
> pattern based on my cs.man.ac.uk address used in the To: header of the
> email received, so for example any email sent To:
> myusern...@cs.man.ac.uk I get in my inbox, when I reply to it the
> From: and Reply-To: headers are set as they are in the third hook
> above. I have not been able to get that work at all.

You would be able to accomplish this, but only if you replace your
default send-hook with:

set from=ja...@fantomatic.co.uk         #default address
alternates myusern...@cs.man.ac.uk
set reverse_name                        #use alternate when replying

..followed by and send-hook's to override the above...

me

Attachment: pgpUcIiIuFWeQ.pgp
Description: PGP signature

Reply via email to