Email Server Help On Redhat


Recommended Posts

Ok quick question i run a clark connect webserver, and i have my webmail setup with my smtp and pop servers running. i also have a domain. my problem is that i can send mail out to a test email address "yahoo" but when i send it back to my webserver it says that it cant find a mx exchange server or a ip address. ok in my dns settings for my domain i have "@ - ip and mail - ip" added under MX (Mail Exchangers). do i need to set up anything under CNAMES or A Host for this to work right? also i have a commercial account with my isp so all the mail ports are open. what am i doing wrong?

Link to comment
https://www.neowin.net/forum/topic/267071-email-server-help-on-redhat/
Share on other sites

If you want to have mail sent to [email protected] sent to your server, then you have to have your server registered as yourdomain.com. It's not good enough to just have yourdomain.com as your domain in your server's settings, because no DNS servers know about it :)

If you have a static IP address, then by all means, make an A record for your domain (I'm assuming you already have a registrar by the language you used).

However, if you have a dynamic IP address then you'll need to set up a dynamic DNS service. I use DynDNS myself, but there are others like No-IP(.com) out there. There are a few things you might want to know about this though. Firstly, some mail servers block certain dynamic IP ranges (since dynamic IP's are usually used by home users, who are the most liable to have open relays). Secondly, if you have a domain name then you'll need to make a CNAME record to point to your dynamic dns service. The problem with CNAMES is that (last time I checked) they aren't great if you want to have MX backups. If this is just your own server and you don't need backups for when you have an outage for example, then that's not much of a problem.

I hope that answers your question :)

Edit: No-IP link killed by spam filter

If you want to have mail sent to [email protected] sent to your server, then you have to have your server registered as yourdomain.com. It's not good enough to just have yourdomain.com as your domain in your server's settings, because no DNS servers know about it :)

If you have a static IP address, then by all means, make an A record for your domain (I'm assuming you already have a registrar by the language you used).

However, if you have a dynamic IP address then you'll need to set up a dynamic DNS service. I use DynDNS myself, but there are others like No-IP(.com) out there. There are a few things you might want to know about this though. Firstly, some mail servers block certain dynamic IP ranges (since dynamic IP's are usually used by home users, who are the most liable to have open relays). Secondly, if you have a domain name then you'll need to make a CNAME record to point to your dynamic dns service. The problem with CNAMES is that (last time I checked) they aren't great if you want to have MX backups. If this is just your own server and you don't need backups for when you have an outage for example, then that's not much of a problem.

I hope that answers your question :)

Edit: No-IP link killed by spam filter

585236493[/snapback]

yes i have a static ip set up in my router. i know i did the no-ip when i had dynamic dns long ago but now i have a commercial account with my ISP and they gave me a static. So how would i go about setting that up for my mail to come to my linux box?

yes i have a static ip set up in my router. i know i did the no-ip when i had dynamic dns long ago but now i have a commercial account with my ISP and they gave me a static. So how would i go about setting that up for my mail to come to my linux box?

For starters, you need to get a domain registrar. I've only heard good things about GoDaddy, but there are many others to choose from. Check that the domain you want is available, and if so, register it :)

Edited by scaife
For starters, you need to get a domain registrar. I've only heard good things about GoDaddy, but there are many others to choose from. Check that the domain you want is available, and if so, register it :)

585236680[/snapback]

i do have a domain and i have it at godaddy.com. what do i need to add in my A Records or MX mail Records or CNAME Records to make it send my @domain.org mail to my mail server i have runnen?

I don't have GoDaddy.com as my registrar, so I can't tell you the specifics of how exactly to do it. It doesn't necessarily have to be mail.yourdomain.com. E.g. if you have mail sent to [email protected], then yourdomain.com needs to be pointing to your server's IP address.

Edited by scaife
I don't have GoDaddy.com as my registrar, so I can't tell you the specifics of how exactly to do it, but the minimum you would need is an A record pointing to your IP address for your domain. It doesn't necessarily have to be mail.yourdomain.com.

585236731[/snapback]

i do i have www.mydomain and like webserver.mydomain added to A record and they are resolving ok i can access my website witch runs on the same box as my webserver. but when i try to send a email to my @domain address from like a yahoo account it gives me this

"Sorry, I couldn't find a mail exchanger or IP address. (#5.4.4)" in a failure notice

Ah, so I was on the wrong track... I don't have any MX records set up for my domain and it doesn't receive this... so I'm wondering if you've got any MX records set up, because from what I've gathered, an incorrectly set up MX record could possibly cause this. Try running `dig domain.com`, that will show you all the DNS information for your domain (incl. MX records).

I've never enountered this particular error before, and so this advice is only what I think could help isolate the problem; somebody with more experience than I would be better to help you this.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I agree when are you going to read this (really poor BTW) article? Here is a better article so you actually know what is going on and answers questions you had in other comments --> https://arstechnica.com/gadgets/2026/05/speed-boosting-low-latency-profile-is-one-of-the-improvements-coming-to-windows-11/ It is unclear if one will be able to disable the new profile at this point but I am not seeing any reason why one would.
    • I disagree; they come off very "bitchy" and "whiny". Make a great product and combine that with a great price (free) and people will come over to your side. Or build it and they will come as they say. Constantly trying to get attention by complaining all the time, will turn people off to your product.
    • It use to be a nightmare, with LibreOffice supporting a newer draft ODF standard by default, and Microsoft Office supporting the older non-draft standard. Now that they both support the same version of ODF, they should be interoperable.
    • Brave Browser 1.91.171 by Razvan Serea Brave Browser is a lightning-fast, secure web browser that stands out from the competition with its focus on privacy, security, and speed. With features like HTTPS Everywhere and built-in tracker blocking, Brave keeps your online activities safe from prying eyes. Brave is one of the safest browsers on the market today. It blocks third-party data storage. It protects from browser fingerprinting. And it does all this by default. Speed - Brave is built on Chromium, the same technology that powers Google Chrome, and is optimized for speed, providing a fast and responsive browsing experience. Brave Browser also features Brave Rewards, a system that rewards users with Basic Attention Tokens (BAT) for viewing opt-in ads. This innovative system provides an alternative revenue model for content creators and a way to support the Brave community. SlimBrave Neo takes all the good things about Brave and makes them even better by keeping everything clean, light, and privacy-focused. It removes the extra clutter, turns off features you might not need, and cuts down on anything that could slow you down or collect unnecessary data. Because it relies on simple settings and policies instead of modifying the browser itself, you still get full Brave compatibility—just in a smoother, lighter, and more privacy-friendly package. Brave Browser 1.91.171 changelog: General Fixed Cardano not being disabled on upgrade to Brave Origin. Upgraded Chromium to 149.0.7827.103. Origin Removed “Survey Panelist” setting from brave://settings/privacy. Fixed P3A and usage ping under brave://settings/privacy being displayed on first launch on Linux. Upgraded Chromium to 149.0.7827.103. Download: Brave Browser 64-bit | 1.2 MB (Freeware) Download: Brave Browser 32-bit View: Brave Homepage | Offline Installers | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Hi. As the title suggests, I can't access the forum on my phone. I'm using Edge on Android and when I try to navigate to the forum I get a "we value your privacy" popup and none of the buttons are clickable. It effectively stonewalls me from reading any forum content.
  • Recent Achievements

    • One Month Later
      Jamswaz earned a badge
      One Month Later
    • Week One Done
      Jamswaz earned a badge
      Week One Done
    • Rookie
      Marzoid went up a rank
      Rookie
    • Community Regular
      coch went up a rank
      Community Regular
    • One Year In
      slackerzz earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      518
    2. 2
      PsYcHoKiLLa
      190
    3. 3
      +Edouard
      156
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!