0

I have set up my iRedMail on AWS EC2 small instance, now everything is working fine under port 25, but I need to authenticate users to authenticate themselves.

In mautic "to authenticate we need following:"

Credentials need to authenticate user

I have created new user and password in iRedMail admin panel, but if I try to authenticate using that username an password in mautic its showing below error

**Connection could not be established with host ec2-54-169-33-216.ap-southeast-1.compute.amazonaws.com [Connection timed out #110] Log data: ++ Starting Swift_SmtpTransport !! The connection could not be established with host ec2-54-169-33-216.ap-southeast-1.compute.amazonaws.com [Connection timed out #110] (code: 0)
++ Starting Swift_SmtpTransport !! Connection could not be established with host ec2-54-169-33-216.ap-southeast-1.compute.amazonaws.com [Connection timed out #110] (code: 0)**

Is there anything I need to change in postfix's main.cf?

6
  • Did you open the necessary ports in your security group? – Michael Hampton Aug 10 '18 at 14:46
  • Really? Which ports did you open? – Michael Hampton Aug 10 '18 at 14:49
  • imgur.com/VGhxuTZ these are the ports I have opened these ports – Deepak Bharadwaj Aug 10 '18 at 14:54
  • 1
    Those are outbound rules. You are trying to make a connection inbound to an instance! – Michael Hampton Aug 10 '18 at 14:55
  • sorry michael, i have no idea about these, coz this is the first time i am working on it so, the thing is i have to send the mails from my application throufgh iRedMails to my contacts, how can i do it ?? – Deepak Bharadwaj Aug 10 '18 at 15:00
0

Port 25 is blocked in AWS. Try switching to another VPS. That is the only solution!

New contributor
Anupam Nath is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.