We are migrating to a new SMTP host, and have found some issues with some of the sendmail instances I have inherited. The new SMTP host requires all "from" addresses to be from domains we are verified owners of.
I have spent a couple of days trying countless results from google without any results, so thought I would make a post since this seems too specific.
The situation:
We have a sendmail instance set up for one of our domains, I'll use @foo.bar. There are aliases set up to forward messages to certain people on our actual mail domain, examples:
accounting: [email protected], [email protected]
test: [email protected]
If [email protected] emails [email protected], the message gets sent to [email protected] and [email protected] through our sendmail instance with "[email protected]" as the sender.
The problem:
Since the sender is "[email protected]" the message is blocked with our new SMTP host, since we are not verified owners of "microsoft.com"
In sendmail, is there any way to masquerade the "from" address to always be a specific address, and make the "reply-to" the original person who sent the email?
So in the example above, always make the "from" address a generic email address we are owners of, and set "reply-to" to "[email protected]"?
At this point, I am almost convinced it is not possible, but thank you to anyone who is willing to help.