Outgoing mail from ec2

0

Hello everyone

I have a problem, mail server that I installed on ec2 cannot send email using the SMTP port, 465,587 can anyone help

Ahmadge
質問済み 1年前249ビュー
3回答
0
承認された回答

Do you get any errors when you try to send an email?
If you see an error, please share the message.

Are the required ports and IP addresses allowed in security groups and network ACLs?

profile picture
エキスパート
回答済み 1年前
  • my message error "delayed, Status: 4.4.1 Cannot connect to remote host", i try to telnet port 465 or 587 from my windows on ec2, not connecting

  • Are the required ports and IP addresses allowed in security groups and network ACLs? Port 465,587 already allow in scurity group & network ACLs

  • Thank you for sharing your message.
    We want to make sure that we can communicate with the mail server, so try running the telnet command with the global IP address of the EC2 instead of the domain.
    If you are able to communicate with the EC2 IP address, it is possible that the DNS settings are incorrect, so check that the MX record is registered correctly by using "nslookup" or similar. Check that EC2 is listening on port 465. If your EC2 is Linux, you can check the port number with the following command.

    lsof -i -P
    
0

Enter image description here

Ahmadge
回答済み 1年前
  • Thank you for sharing your message.
    We want to make sure that we can communicate with the mail server, so try running the telnet command with the global IP address of the EC2 instead of the domain.
    If you are able to communicate with the EC2 IP address, it is possible that the DNS settings are incorrect, so check that the MX record is registered correctly by using "nslookup" or similar. Check that EC2 is listening on port 465. If your EC2 is Linux, you can check the port number with the following command.

    lsof -i -P
    
0

For others who are reading along, there is an article about this: https://repost.aws/knowledge-center/ec2-windows-email-server-issues

profile pictureAWS
エキスパート
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ