At 13:41 +0200 12 Sep 2002, Lukas Ruf <[EMAIL PROTECTED]> wrote:
> So, is there then an easy way to differentiate if an email get's
> composed completely from scratch or if an email is simply a reply?

A reply will have references, a message composed from scratch won't.  So
the pattern '~x.' will only match replies, and the pattern '!~x.' will
match only non-replies.

So if you never want to override the chosen From: header for replies you
could just put

  send-hook ~x. 'unmy_hdr From'

after the send-hooks you use to set your From: header.

-- 
Aaron Schrab     [EMAIL PROTECTED]      http://www.schrab.com/aaron/
 Any program which runs right is obsolete.

Reply via email to