As covered, the pipe probably isn't what I want to do. Looking into the advanced content filter, these seems two paths; execute a script as a process from postfix (spawn) or setup a simple proxy indepdenent of postfix. Either one would probably work.
In either case, spawn or proxy, is it possible to pass the sasl_username forward? I don't need to know the full credentials, just the username associated if there is one. I know using the pipe method there are several things that it can do that it appears the other two can't, or am I just reading it wrong. I did look into xforward but it doesn't seem to pass the sasl_username. Gary-