i was wondering.
Suppose i have an exchange server, (the domain can be me@company.com), also, i have a relay server, that accepts requests to internet domains (gmail/yahoo/etc).
suppose i send a mail to: (you@company.com; him@gmail.com) - from a user in the domain (me@company.com)
The mail is sent to the exchange server, then the exchange groups the domains (company.com and gmail.com) => it puts the mail into you@company.com mailbox.
then, the exchange sees that it needs to send into him@gmail.com, so it will send it to the relay server.
the relay server will get the SMTP request:
from: me@company.com
to: you@company.com; him@gmail.com
the question is - how does the smtp relay server knows not to send it to you@company.com - thus causing duplicate mails received?
also, how does the gmail server knows not to try to send the mails it receives again? (because they only get smtp requests, similar to a client that sends the mail)
thanks in advanced!