Old habits
Pulled out some classic books this weekend.

Better off sed.
I'm sure PowerShell has a regex library that's great. But when you don't want to spend a whole day learning about .NET and trying to extrapolate C# code into a simple script, there's always your good old (win32) copy of sed.
FOR /F %%A in ('dir /B *.tmp') DO (
CP %%A temp.tmp
sed -e "N;N;s/Host: [^\n]*\n//;s/@\([0-9]\{1,3\}.\)\{1,3\}[0-9]\{1,3\}://" temp.tmp > %%A
DEL temp.tmp )You have got to be kidding.
Who does this????

Fortunately though, in this case stupidity is its own reward:
[0EBC] 16:21:51 *** <retard@domain.com> <friendoftard@otherdomain.com> 1 58355330 00:13:56 TOO-DATA WZW48454 [0EBC] 16:21:51 >>> 554 5.3.4 Message size exceeds fixed maximum message size
Sucks that you wasted your time trying to send this thing 20 times in a row, buddy. I guess maybe you should read that bounce message the server keeps so-helpfully sending back.
Hey Apple, die.
My 8-year-old desktop computer finally bit the dust. As a result I spent most of this weekend tracking down a decent new machine, removing all the garbage that's pre-installed, and installing all the things I actually use (there is zero overlap, just in case you wondered).

