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
posta un anno fa249 visualizzazioni
3 Risposte
0
Risposta accettata

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
ESPERTO
con risposta un anno fa
  • 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
con risposta un anno fa
  • 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
ESPERTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande