This is my current version that looks for a received from line to get an IP address to list. I hope the attachment doesn't get dumped... I'm posting the script so others can use it if they want and I'm also after comments on how to improve it.