테스트 프로젝트에 사용하고있는 EC2 인스턴스가 있습니다. 이메일을 보내고 싶지만 이메일을 보낼 필요가 없습니다.ec2 인스턴스에서 메일 수신 (내 도메인 없음)
나는 포트 25를 열고 전자 메일 처리를 위해 mailx
을 설치했습니다. mail
을 입력하면 이미 이메일을 보냈지 만 No mail for ec2-user
이 표시됩니다.
필자의 요구 사항은 몇 가지 전자 메일이 전송 된 실제적인 기본 사항이므로 산업용 강점 솔루션이 실제로 필요하지 않습니다.
나는 또한 MX 레코드를 설정해야한다는 것을 알고 있지만 이것이 내가 혼란스러워하는 곳이라고 생각한다. 따라서 전자 메일 (적어도 github에 따르면)은 [email protected]
(x가 ip를 대체 함)입니다. 는 IP가
>[[email protected] ~]$ nslookup
> server
Default server: 172.16.x.xx
Address: 172.16.x.xx#53
> set q=MX
> ip-xx-xxx-xx-xxx.us-west-2.compute.internal
Server: 172.16.x.xx
Address: 172.16.x.xx#53
Non-authoritative answer:
*** Can't find ip-xx-xxx-xx-xxx.us-west-2.compute.internal: No answer
Authoritative answers can be found from:
us-west-2.compute.internal
origin = ns0.us-west-2.compute.internal
mail addr = hostmaster.amazon.com
serial = 201210xxxx
refresh = 3600
retry = 3600
expire = 3600
minimum = 60
>
다시 X 년대 :
내가 MX 레코드 http://kb.kerio.com/product/kerio-connect/server-configuration/mail-delivery-and-dns-records/what-is-an-mx-record-and-how-is-it-created-1210.html을 설정하기위한 다음 지시 사항을 따르
, 나는 오류가 발생합니다.몇 가지 전자 메일을받을 수 있도록 ec2에서 mx 레코드를 설정하는 직접적인 방법은 무엇입니까? ec2가 제공하는 것 이외에 다른 도메인이 없습니다.