Our setup is as below:
Application server (running IIS) > Sendmail relay > Exchange (Internal)/Internet
Our mail domain is domain.com. The Sendmail relay is configured to reject mail with a MAIL FROM: address of @domain.com (since only Exchange should use this, not application servers).
We have an application on a server named App1 that needs to send email on behalf of a user. So, we were thinking of using the Send on Behalf functionality. Therefore, the application would send mail with:
Have I got these the right way around?
Also, we need to ensure that the MAIL FROM: is not @domain.com. Does anyone know, when an application sends email - is the MAIL FROM: derived from the From: or Sender:, or does this purely depend on the application?