Email is not sending

Ubuntu Server 22.04 LTS (HVM)
Virtualmin version 7.7

Previously i open an form for I’m not able to send emails here is the URL for complete audit Email is receiving but not sending

Experts says the port 25 is not open that’s why you not able to send emails but when i check my all port i found its open for port 25, also connect the port 25 using telnet command

Please help me out

You did not find anything of the sort. local connections prove nothing about the world.

You need to try to connect to a mail server on the internet, to prove or disprove you have port 25.

If you are on Amazon Web Services, you absolutely 100% do not have port 25, unless you have used the process I linked you to (and even then you may not get it, I don’t know what is required).

But, if you need to prove it, try to connect to our mail server. It should look something like this:

telnet 25
Connected to
Escape character is '^]'.
220 ESMTP Postfix
221 2.0.0 Bye

Of those lines, you type telnet 25 and assuming you get the next few lines, you type QUIT to exit.

But, I’d be surprised if you get anything. It’ll probably just timeout. Because you almost certainly don’t have port 25, and you need to do what we told you to do.

Thankyou for the confirmation, Yes you correct it’s connection timeout :smiling_face_with_tear:
We can close this form

I also mentioned in the last thread that AWS has an internal forum that you can ask about this from the AWS side of things.

While that’s true, we already provided multiple solutions to OPs problem. And, pretty much guaranteed to be the same answers they get from the Amazon forum; I linked Amazon docs that explain how to send mail from Amazon Web Services.

Establishing a connection with that community might be beneficial regardless. Plus, like I said, my test install of Discourse sends from AWS without problems and I don’t remember having to do anything with AWS. But, it’s been half a year now so I may be mistaken. I’d think the Lightsail interface would be locked down tighter and that’s what I use.

They also will have more experience looking at the AWS side of things for answering questions. OP seems to need a little hand holding.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.