Does anyone know whether there’s a way to “tag” mail that comes through a Dreamhost forwarding address? E.g., all mail sent to "firstname.lastname@example.org" would carry a line such as
Does anyone know how to do this?
Not sure about tagging with your method, but the full headers of a message will show that it came through DreamHost in the Received: lines.
True, but the Received header only shows the first address that the message went “through.” I.e., if a message is received for email@example.com, forwarded to firstname.lastname@example.org, and then sent on to email@example.com, only the first address shows up in the headers. In my particular case, I’d like to be able to see "firstname.lastname@example.org" somewhere in the headers.
As long as it’s not one of the mXXXXXX mailboxes, you can use procmail to add a header using the formail -A command.
Thanks, Scott. I’ve never used procmail before, but it looks like it’s time to learn!