On 16 Jun 2011, at 20:11, W B Hacker wrote:
>> What is the corect way to rewrie the subject line?
>
> 'Correct' depends on what you want.
>
> This preserves the original but stuffs a word in at the beginning:
>
> message = Subject: *Suspect* $h_Subject:
>
> CAVEAT: Unless you specifically strip the ORIGINAL 'Subject:' it will still exist, just be pushed down, and 'usual' no longer displayed even in view-headers of an MUA. It WILL still show if they have a true 'View ALL headers' or if view message source is used.
>
> Generally more good than harm to leave that in place.
Except that RFC5322 forbids multiple Subject: headers. So, it may produce unexpected results. Better to remove the original header. It's still completely recoverable.
--
Ian Eiloart
Postmaster, University of Sussex
+44 (0) 1273 87-3148