On Thu, Sep 02, 2010 at 04:02:01PM +0200, Louis-David Mitterrand wrote:
reply-hook '~h(X-Original-)?To:[email protected]' "set hostname='example.net'"

try this:

reply-hook '~h "(X-Original-)?To:[email protected]"' set hostname=example.net

The regexp needs to be quoted, otherwise the parenthesis are interpreted as part of Mutt's pattern language.

me

Reply via email to