Problems with sending and recreceiving emails

SYSTEM INFORMATION
OS type and version Ubuntu Linux 20.04.6
Virtualmin version 7.9.0 Pro

hello can any one help me with my issues i have my own server at home with its own webserver and email server to and im having issues with sending and receiving emails and when i do a check on mxtoolbox i get this error

any help will be much appreciated

Sort of implies no valid MX record.

I thought mxtools required the FQDN to search

Your ISP is probably blocking port 25. They may, but probably won’t, be willing to open it for you. Even if they are willing, many servers will automatically block you based on being in a block of home users. Blame spammers. They will infect any machine they can and home users are notoriously bad at digital hygiene.

I don’t see any indication it is DNS-related. Appears to be a network problem (i.e. no port 25).

how do i fix the isissue with port 25

my dns servers is with namecheap as that is where i have my domain name this is also my firewall setup on my server


and this is my server setup too

Font host from home. Use a data center that allows port 25 to be opened… in the uk fasthosts do a very small vp server at £1.00 + vat monthly, you could easy host mail on that and your domain at home

Has nothing to do with your local firewall. If you installed Virtualmin using the install script, you already have all the necessary ports open.

Presumably your network provider or hosting provider blocks port 25. Some will open it on request (e.g. Vultr), others require you to use an outside mail relay like Mailgun, Sendgrid, Amazon SES, etc.

This behind a UK domestic router even with port 25 open … as this is a domestic router i guess it will be blocked by all receiving servers. Hence the point of a vps at £1 per month … i guess anyone could afford that rather than using a domestic ip address

1 Like

Yep, even if the hosting provider is willing to open port 25, and even if OP has a static IP, being on the IP of a consumer ISP guarantees terrible deliverability. A lot of mail servers block that kind of IP.

Best to use a relay.

Sometimes you can do some spying and see what mail server they are using and use that as a relay as well did that with my provider for about a year until they finally closed up that hole. If you email the isp do some spying and see where the headers all lead sometimes you’ll get lucky I was able to relay via their mail server for some time using mail.myprovider.net:25 hehe even though I couldn’t sendmail directly using port 25. Little hint was their website had zero to do with the mail system totally different Domain ending in .com vs .net so I did some poking around and was able to relay mail through them freely it was rather odd but it worked no password needed. I didn’t want to pay another fee…

Now I use ZOHO they are dirty cheap but have a free plan too if you need something to get by on until you get some scratch.

Most of the mail relay services have a free tier, if you only send a few emails, and it’s quite cheap even if you go over the free tier. We send a lot of mail for this forum (several hundred notification emails go out every day), and it’s only about 10 bucks a month.

But, OP probably also needs to solve incoming mail, which is a harder problem to solve for a system without port 25. If you want to run a full mail server (rather than just sending email), you need port 25. An outgoing relay won’t solve that one.

correct which is why I suggested ZOHO cause its really like the only other way if they got everything locked up!

i dont have a vps set up on my home server and im looking to use a free email sever

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