We help IT Professionals succeed at work.

Exchange 2010 recipient address rewritten

sibliege
sibliege asked
on
Hello,

I have a problem with Exchange 2010.
I have 2 email domain where mx is hosted on a linux server (spam/antivirus gateway)
This linux server send mail to my exchange after filtering (directly to port 25)
Both domain are accepted on exchange and email are deliverd well.

The only problem I have is that exchange "rewrite" the recipient adress with the default domain of user AD.

Here is the explanation:
I have a user1 mailbox wich have 2 domain alias
user1@domain.com (default in AD)
user1@domain.lu

If I send mail to user1@domain.com => mail is received and I can see in Outlook Web app that the reipient is user1@domain.com, so it's OK (the AD defaulkt adress is user@domain.com)

If I send a mail to user1@domain.lu => mail is received and I can see in Outlook app that the recipient is user1@domain.com. This mean exchange always rewrite the recipient adress with the default domain! So this is a problem for my user because they cannot "see" when someone send mail to them with domain.lu domain...

So the simple question is, how to tell exchange to not rewrite the recipient adress and keep  the original???

Thanks for help


Comment
Watch Question

You can see the difference if you make a distribution group for the second mailaddress.


Raymond
Awarded 2009
Top Expert 2010

Commented:
The message will be sent to domain.lu but if you reply to that message because your default address is domain.com that is what the message will be sent from.

When you say they "see" the domain.com address, how exactly do you mean?

Author

Commented:
In Outlook web app, if I put the mouse on the recipient field in the mail (meaning myself) the mail show is user1@domain.com instead of user1@domain.lu
It should appear as user1@domain.lu since the mail has been send to user1@domain.lu, isn't it?
Awarded 2009
Top Expert 2010
Commented:
Exchange does not re-write the recipient field.

If you hover over the recipient field it will autodetect what your primary email address is.
If you look at the message headers you will see it was sent to user1@domain.lu

Author

Commented:
You're perfectly right. After some more test it appear that:

in OWA the recipient field is rewritten with default email
=> Question, how to disable that?
in Outlook using RPC, the same mail is correctly adressed to user1@domain.lu, so it mean the problem of adress is only in Web OWA.

However, in both case, OWA or Outlook using RPC, when responding to the mail send to user1@domain.lu, the response received is from user1@domain.com

So how to fix that?

Thanks
SteveArchitect/Designer

Commented:
Demazter is spot on. the address isnt rewritten but when it resolves the address to an AD user it only shows the default, seen when you hover the mouse over the recipient.

I've had a user take exception to this and the easiest solution is to create a rule that moves messages to the alternative address into an different folder, based on the address the message was to. This makes it easy for the user to know which address the message was sent to.

Author

Commented:
OK,

this fix the OWA issue, however what about when responding to mail!?
Why the response is coming from domain.com instead of domain.lu ???
Awarded 2009
Top Expert 2010
Commented:
As I already said, it doesn't matter how many email addresses you have associated with an individual user it will ALWAYS reply with the default address.
The only way to resolve this is to use different accounts for each email address.

Author

Commented:
it's exchange account, I can not add several account as POP3.
If I want to do that I need to setup 2 outlook profile, this is horrible!
Are you telling me that the most advanced MTA in the world is not able to handle 2 alias on the same mailbox????
Awarded 2009
Top Expert 2010

Commented:
Exchange accounts are completely different from POP3
And yes, with Outlook (2007 and older) you cannot setup 2 Exchange Accounts in the same profile.
However with Outlook 2010 you can.

Author

Commented:
I just want to choose the sender adress, is it not possible to add a "from" filed?
You can also put the usser@domain.lu in a distribution group. In Outlook you can use this group in the from field. Put the user@domain.com as a member of the group and give this user permissions to this group.

You can also see in both owa and outlook that the mail has been sent to a distribution group.

Raymond
Awarded 2009
Top Expert 2010

Commented:
using the from field will not allow you to select which email address associated to the same user account you can use.

As I have already said multiple times, this can be done if you have another mail account for each address.

if the addresses are part of the same mail account it is not possible

Author

Commented:
i'm very frustrated that a so expensive software as exchange can not handle a so basic task!
Awarded 2009
Top Expert 2010

Commented:
It is not designed to work this way.
SteveArchitect/Designer

Commented:
@sibliege

Although its rare I defend Microsoft, on this occasion you are trying to implement multiple addresses in a way other than the one designed by Microsoft.
if you set it up how they recommend it will perform this basic task quite happily.

You can use the 'from' field to specify which email account the message comes from but they canot be one of your own aliases. It must be another account.

Author

Commented:
OK, thanks all for informations however I think it's very stupid from microsoft to not handle several alias when replying.

Personnaly I think that replying with the adress used by the sender to contact you should be available.
I think it's a basic task so I wonder why you all defend Microsoft...

So i will let the domain.com on exchange and setup a POP3 account for the domain.lu.
What a stupidity!
Awarded 2009
Top Expert 2010

Commented:
Microsoft Exchange is one of the biggest selling products in the IT industry.  I recall a Microsoft MVP telling me once that if Microsoft Exchange was a company in it's own right then it would be the 9th biggest company in the world based on sales/turnover.

That tells me a lot of people like it.

It is not a basic task, and I would be suprised if any system allowed you to chose which of multiple email addresses assigned to a particular user can be used, this is why there is a primary e-mail address.

>>Personnaly I think that replying with the adress used by the sender to contact you should be available.
it is but you need to use 2 different mailboxes.  And with the new version of Outlook you can open them both at the same time.

Author

Commented:
My users will use Outlook 2010, so I would be able to setup 2 exchange account?

So I will view 2 account branch in my Outlook?
Awarded 2009
Top Expert 2010

Commented:
Yes, outlook 2010 provides this functionality.

IF you have the different addresses configured as different mailboxes then it will automatically reply from the correct recipient also.

Author

Commented:
We was talking about this problem with a colleague.
And we have an idea that we have to test.
We will settup a POP3/SMTP account for the email user1@domain.lu where the account is set up to not download any mail. However, the smtp side is configured tu use SMTP of exchnage (authenticated)
meaning when my user want to send as another adress, he just have to choose the account for sending.

I think it could be the solution without any other software...
Awarded 2009
Top Expert 2010

Commented:
If you are planning to use Outlook 2010 then I wouldn't bother with the POP3 account use the dual mailbox method it's much better.

Author

Commented:
Finally, I have choose to setup a POP3/SMTP account where the server is exchnage for SMTP, POP3 retrieval is disabled.

With that, I can respond with the account I want.