Link to home
Start Free TrialLog in
Avatar of JRoyse
JRoyseFlag for United States of America

asked on

RCPT TO email address domain or ip address?

Using Exchange 2003.  We are running a test email scenario through the following:

1. telnet 25 10.34.56.78 (email server)
2. type in: MAIL FROM: Sender@Sender_domain.local
3. RCPT TO: Destination@destination.local
4. SUBJECT: Test <CRLF then . and CRLF>
**Mail goes through fine..**

Next Scenario with IP in RCPT TO::
1. telnet 25 10.34.56.78 (email server)
2. type in: MAIL FROM: Sender@Sender_domain.com
3. RCPT TO: Destination@10.34.56.78
4. SUBJECT: Test <CRLF then . and CRLF>
**Mail does not go through**

Is there a RFC that states what a valid RCPT TO: has to include? (ip addres OK, or domain name necessary?)

 It was my assumption that best practice was to use user@domain_name.local and if that wasn't resolvable via public DNS (like Destination@destination.local), the net best thing is you would build a host alias entry on the "hosts" file of the sending mail server to get it to look like normal email.  In this example the DNS domain_name.local may be over a leased line, not a domain that exists on the root server DNS.
Avatar of Govvy
Govvy
Flag of United States of America image

Needs to be a domain name and yes you can add entry to hosts file to get round DNS issue
Avatar of JRoyse

ASKER

Thanks - I agree that a domain name is important, but is it necessary (like a RFC #)?
ASKER CERTIFIED SOLUTION
Avatar of Govvy
Govvy
Flag of United States of America 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 JRoyse

ASKER

thx