Link to home
Start Free TrialLog in
Avatar of mvalpreda
mvalpredaFlag for United States of America

asked on

Exchange 2010 - Have 'from' address be different domain than internal?

I have a client that uses a 3rd party vendor for keeping track of job applicants. When the recruiter sends a candidate to be interviewed, the person doing the interview fills out a web form about the interview that is sent back to the recruiter. All the emails are being sent from our own internet Exchange 2010 SP3 RU5 server via an SMTP connector on port 587.

When the form sends the email from the interviewer back to the recruiter, the FROM address is going out as the interviewers address....which is an external domain.

Is there a way to allow emails to be sent through my Exchange server with a different FROM domain?
Avatar of Mahesh
Mahesh
Flag of India image

It is as good as setting up new SMTP name space
You need to create new accepted domain in Exchange 2010 and also you need to register that SMTP domain on internet
Then you need to provide separate email address to interviewer where new smtp domain will reflects

Also you need to add MX entry for this domain at ISP end

Mahesh
ASKER CERTIFIED SOLUTION
Avatar of Jamie McKillop
Jamie McKillop
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mvalpreda

ASKER

I know I don't need a new MX record. That makes no sense as I am not accepting email for those domains.

I have a relay connector already. In talking with the web form vendor, this is what I think is happening.....

Interviewer fills out web form and clicks submit
Web form connects to my SMTP server
Authenticates with a "do-not-reply" account I gave them
Does all the SMTP commands
Gets to the "From" command - the domain it comes from is not part of my Exchange organization and drops the email

I have other devices in the world using this same SMTP connector to send email, the difference is that those emails are send from an email address that exists in our organization. These other emails are not.

In looking at that article, it appears that is what I am trying to do. My external SMTP connector is configured on ports 465 and 587, all IP addresses. Authentication is TLS, Basic and Integrated Windows. Permission groups is just Exchange Users.

I guess at the end of the day I want anyone who authenticates to be able to relay. I'm afraid if I add Anonymous users to the Permission Groups, I'll be an easy relay server!
The problem is you are authenticating, which will require you to use the default SMTP address on the account you are using. If you setup a new receive connector as per the instructions I linked, you will be able to use any From address you want.

-JJ
Sounds like the jist of it is....if you authenticate, you need to use the email address of the account you are authenticating with. If you secure it by IP address, you can do whatever you want.
I did that and I get this when doing a test from Outlook:

550 5.7.1 Client does not have permissions to send as this sender

I removed the authentication and it went through. Is there any way to have it use a password?
How are you running the test? You need to use an SMTP client that isn't authenticated and the IP address of the client need to be specified on the receive connector. Sending a message through a telnet session is the easiest way to test.

-JJ
I tested using Outlook. I did it with no authentication and locked down to the IP address I was on and it went though.

I was hoping to do the same thing with authentication, but not locking down the IPs.
You can use externally secured receive connector as stated above but still I don't understand how this will send mails to out internet with any from address which is non existent domain (According to your question you want reply to be gone through different domain name (SMTP name space) ?

How 3rd party vendor email server accepts emails from non existent smtp domain name ?

I know externally secured connector can be used very well to send emails to your organization email addresses by any fake address in from field

Mahesh
If you want to authenticate, you need to have rights in Exchange to send as that address. To do that, create a mail contact in Exchange for the address. You can then open the properties page of the contact in ADUC and go to the Security tab and assign the send-as right to the user.

-JJ
I don't need them contacting me every time for a new person. Securing by IP should be sufficient. Thanks.