On 08.07.2012, suvayu ali wrote: > This is what I have tried: > > reply-hook "~h 'Delivered-To: mygmailid+keyword@gmail\.com'" \ > "set from = 'emailid@xxxxxxxxxxxxxxx'" It's the other way 'round (look at your ' and "): reply-hook '~h "Delivered-To: +mygmailid\\+keyword@gmail\.com"''my_hdr From: emailid@xxxxxxxxxxxxxxx' > I have also tried the message-hook with no success. Does anyone have any > idea what I'm doing wrong? Your problem is the pattern-matching, which is wrong at several places. You won't get any errormessage from mutt parsing your .muttrc, because what you do is valid , but it doesn't do what you expect it to do. Look at my string, which is tested with the latest mutt-1.5.21 from the developers hg-repository (since I've rewritten small parts of the routines in sendlib to fit my needs). You'll see what you did wrong and then you can look up the items here: http://www.mutt.org/doc/manual/manual-4.html (I've been using mutt since it has been forked from ELM, and have still some difficulties doing correct pattern-matching...) Hope this helps! -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org