Sending Email using IP Address instead of Domain Name

前端 未结 2 1641
生来不讨喜
生来不讨喜 2021-02-18 22:37

I am trying to avoid running through DNS servers to get an email message to an address on one of my hosted virtual accounts.

I know I can surround the IP address with sq

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-18 22:46

    A virtual host needs a domain name in order to figure out what to do. You want to send it to an IP address instead of a domain name. Thus it is not going to work through normal methods. You might be able to specify a "default" domain if none match Otherwise, your only hope is to manually forge email. By this, I mean:

    telnet 123.456.78.9 25
    HELO myhostname.mydomain
    MAIL From: 
    RCPT To: 
    DATA
    From: myemail@mydomain
    To: user@domain.com
    Subject: Testing
    
    This is a test
    .
    QUIT
    

提交回复
热议问题