Can I set up a forwarder that parses the emails?


#1

Quick Background:
I have an email forwarder setup, but I want to be able to send a text message from my mobile phone to this forwarder without it revealing my mobile number when it relays the message.

forward@mydomain.com --> friend@blah.com

I think I might have a partial solution, but I need advice.

  1. I think I’d have to run a script from a shell-enabled username set to read all incoming mail (do I need to make a new username “forward” or can I use my main shell account?)

  2. Use grep or sed to parse out the FROM field or maybe just any email address reference

  3. Forward the message

Any ideas, suggestions, or starting places to check are all greatly appreciated.