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

    • Can we bring back manual save?
    • Wow, imagine you dump hundreds of hours into completing things and unlocking stuff and you lose it all. Back in the day when cheats were built into games, you could at least unlock things again that way without spending hundreds of hours again. But those days are long gone for some reason as no one builds cheats into games anymore. So it's even more painful that studio that's on its 6th installment **** it up so badly.
    • Spotify finally removes the disco ball app icon in the latest update by Ivan Jenic Image: Spotify Spotify has just released an update that removes its now infamous disco ball icon. The update reverts the app icon to the familiar flat green logo after weeks of mixed reactions online. The icon arrived on May 13 as part of the company's 20th anniversary celebration and was always intended to be temporary, though Spotify only confirmed that after the backlash started. The disco ball took the internet by storm, as the reception was split. A vocal group of users called it ugly and disorienting, with some iOS users noting that the 3D glowing effect made the app look like it was stuck mid-update. On the other end, the icon picked up a following of its own. Its retro, three-dimensional look immediately stood out against the flat, minimalist aesthetic that has dominated app design for years. It even started a small movement, spawning what people started calling "discomorphism," a mashup of disco and skeuomorphism. Other brands started posting disco ball versions of their own logos, probably in an effort to ride the wave of memes that flooded the internet during late May. Spotify has had a turbulent relationship with its user base lately. Besides the disco ball icon, which certainly wasn't appreciated by everyone, the company has also received backlash for its willingness to include AI-generated music on its platform. On May 17, Spotify promised the old icon would return “in a few weeks.” And now it looks like that time has finally arrived. So, whether you liked the disco ball or it made you uncomfortable, it’s now gone for good. The next time you update the Spotify app on your phone, the old, flat-design icon will return.
  • Recent Achievements

    • One Year In
      slackerzz earned a badge
      One Year In
    • One Year In
      highriskpaym earned a badge
      One Year In
    • One Month Later
      highriskpaym earned a badge
      One Month Later
    • Week One Done
      highriskpaym earned a badge
      Week One Done
    • Week One Done
      FBSPL earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      519
    2. 2
      PsYcHoKiLLa
      197
    3. 3
      +Edouard
      157
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!