i was wondering.
Suppose i have an exchange server, (the domain can be [email protected]), also, i have a relay server, that accepts requests to internet domains (gmail/yahoo/etc).
suppose i send a mail to: ([email protected]; [email protected]) - from a user in the domain ([email protected])
The mail is sent to the exchange server, then the exchange groups the domains (company.com and gmail.com) => it puts the mail into [email protected] mailbox.
then, the exchange sees that it needs to send into [email protected], so it will send it to the relay server.
the relay server will get the SMTP request:
from: [email protected]
to: [email protected]; [email protected]
the question is - how does the smtp relay server knows not to send it to [email protected] - 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!