Email sending and receiving issue.

off topic:
I see lot of failed logins, please disable root login.
There are lot of topics on internet how to harden your SSH .

ontopic:
Opendoor but : did you tried to rebuild your exim ?+ dovecot
Checked your domain with dnschecker and it looks all right so no DNS problems
(you are using the same ip for ns1 and ns2 single point of failure, consider to buy an extra ip or use your providers his DNS server if desired
 
They seem correct contabo nameservers.

You could try this.
Edit the file, remove the "search invalid" and add at first line, above the others.
nameserver 1.1.1.1
nameserver 8.8.8.8

After that, restart network:
service startips restart
or just reboot vps.

Does that help?
 
@Richard G I changed the nameservers and restarted as per your instructions but nothing changed. Emails are still not being sent or got back to frozen.
 

Attachments

  • Screenshot_43.png
    Screenshot_43.png
    38.1 KB · Views: 16
  • Screenshot_44.png
    Screenshot_44.png
    64 KB · Views: 17
The mx records for hostingmart.co are miss-configured. You dont have Priorities set seems like. Also those MX records dont point to your server. They are 3rd party mx records.

1644516610912.png
You might want to hire an admin to setup your system.

See this link for consulting
 
Last edited:
@Richard G I changed the nameservers and restarted as per your instructions but nothing changed. Emails are still not being sent or got back to frozen.
Don't know you problem but only quick response from me.
Contabo has in your panel own DNS settings and their nameservers for the domains there on your "vps" at them.
So take care of that part and their support could help you with that.

Also the basics at the domain registrars should be ok.

Here i use for less important the contabo dns / nameservers.

Those are also the one's in your basic resolv.conf therefore if not using you need the others to as Richard told you , and important the resolv.conf there you should protect against overwrite at reboots (if you are using other then default from them) while that is in Contabo system a issue https://html.duckduckgo.com/html?q=protect resolv.conf chatr
 
The mx records for hostingmart.co are miss-configured.
That's only on the main host. His site is on the same server and those MX records are correct. So the MX records of the main server domain to not interfere with his domains mail, those are 2 different things. The rDNS is setup correctly so with his own MX addres things should work.

@faisalcodex I see in the log like "smtp.you..." and the rest is gone. That is not a default addres.. smtp.yourserver.com or what does it say there?
Seems there is something going wrong.

Can you place the full text of that smtp.you... etc. from the log?
 
@Richard G I am copying and pasting the outgoing error there





Emails are received from server accounts but not from outsiders like Gmail, yahoo etc.


 
For this if it is one of yours check:


You should also ask the support Contabo Germany , as i did point out before you have some options in their panel for nameserver parts of them, better to use this maybe?

I can't help only point out what i see in tests

An important to kwow you have on your hostname IPv6 in use and active, but not for mail domains / mailserver on it , i don't know if this could be problematic? https://en.internet.nl/mail/shared.hostingmart.co/669192/

"


Verdict:​


No receiving mail servers (MX) are set on your domain that has A/AAAA records. We recommend you to explicitly indicate that your domain does not accept email by configuring a "Null MX" record.

Test explanation:​


We check if there is at least one AAAA record with IPv6 address for every receiving mail server (MX). In case no mail server is defined, we give a notification and we execute other subtests of the mail test that are still relevant."
 
Last edited:
lookup of host "smtp.yourisp.com" failed in smart_route router
So this was the line I was talking about. Did you masked this entry yourself, or does it really say smtp.yourisp.com there? Because if you did not mask it, then this is the culprit.

However, you also should fix the MX records for hostingmart.co because they are still not good and still can cause issues too.
 
So this was the line I was talking about. Did you masked this entry yourself, or does it really say smtp.yourisp.com there? Because if you did not mask it, then this is the culprit.

However, you also should fix the MX records for hostingmart.co because they are still not good and still can cause issues too.
I mistakenly fired some commands which is why It is not sending an email now. Before it was sending emails to my all of my clients but now I thought when I fired the wrong commands it is not sending. Can you tell which commands I have to use to reset my roundcube so that I able to fix that issue.
 
Why are you using smart route anyway if you have your own server at Contabo?
I am using the smart way for different reasons. let's suppose if any of my clients used to put invalid passwords and his IP Got Blocked then how he will be able to reach me out if I am using the same server for service-providing websites as well.
 
I mistakenly fired some commands
What kind of commands ?
I am using the smart way for different reasons
I think because of this some settings are faulty or not working as expected:
2022-02-09 09:01:56 1nHhvI-0002rG-K8 == [email protected] R=smart_route defer (-32): lookup of host "smtp.yourisp.com" failed in smart_route router
Try to go to the default settings and work from there.
Can you tell which commands I have to use to reset my roundcube so that I able to fix that issue.

cd /usr/local/directadmin/custombuild
./build update
./build roundcube
 
I am using the smart way for different reasons.
Well you're not in luck them, because smart route which you use is SMTP which is outgoing traffic from your server, not incoming traffic to your server. So if their ip get blocked, they can't reach you anyway.

Like Active8 said. First start working from the beginning so things work correctly and from there do changes if needed.

Before running the update and build commands remove the old version.
rm -rf /var/www/html/roundcubemail* -R
and any custom configs you might have made somewhere else for Roundcube.
 
That "smtp.yourisp.com" is only an example. You need to use your own SMTP host details.
I've tried to read back through the thread for that, but it's a bit confusing.
I'm guessing you need to use one of :
shared.hostingmart.co
smtp.hostingmart.co
or maybe ?

You could try those (one at a time). The worst is it still won't work.
 
Back
Top