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
preguntada hace un año249 visualizaciones
3 Respuestas
0
Respuesta aceptada

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
EXPERTO
respondido hace un año
  • 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
respondido hace un año
  • 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
EXPERTO
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas