LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-28-2010, 10:51 AM   #1
perfectpol7
Member
 
Registered: Feb 2009
Posts: 84

Rep: Reputation: 15
mx records


i am running linux ubuntu mail server, over the weekend emails stop coming in or going out. i dig my server from the server itself and i am get this results

perfectpol@mycompany$ dig mycompany.com mx
;; global options: printcmd
;; connection timeout; no server could be reached

then on a window workstation the results of nslookup is
server: www.mycompany.com
address: 179.a.a.6
***www.mycompany.com can't find mx: Non-existent domain

contact my ISP and said the problem lays with local, since my server does host the emails. (by locally mean host them at my company server)

I supectthat mx files have been corrupted or delete. How then should i resolve this, firstly I am new to the company and not all that good in linux. All the server is in command line. I tried to view the /etc/resolv.conf and it was blank. HELP.

thanks
 
Old 04-28-2010, 10:59 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by perfectpol7 View Post
i am running linux ubuntu mail server, over the weekend emails stop coming in or going out. i dig my server from the server itself and i am get this results

perfectpol@mycompany$ dig mycompany.com mx
;; global options: printcmd
;; connection timeout; no server could be reached

then on a window workstation the results of nslookup is
server: www.mycompany.com
address: 179.a.a.6
***www.mycompany.com can't find mx: Non-existent domain

contact my ISP and said the problem lays with local, since my server does host the emails. (by locally mean host them at my company server)

I supectthat mx files have been corrupted or delete. How then should i resolve this, firstly I am new to the company and not all that good in linux. All the server is in command line. I tried to view the /etc/resolv.conf and it was blank. HELP.

thanks


you would need to edit the nameserver zone files.

you would need a record such as

Code:
mailserver  IN MX  10    hostname

hostname    IN  A        ipaddress
assuming dns is the problem here
if possible, could you find out which type of dns server is running and if you even host it...

you need to do a bit of verbose checking here....the hosts connecting to the mail server - what is their error message?

Last edited by centosboy; 04-28-2010 at 11:02 AM.
 
Old 04-28-2010, 12:23 PM   #3
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
First there are no such things as mx files There are mx records which are a component of the dns system and specified inside the configuration file for the domain.

From what you're saying you host your domain on bind? If so post your bind configuration files and we'll give you a hand getting things in order.

As far as your /etc/resolv.conf goes it should probably be:

search mycompany.com
domain mycompany.com
nameserver IPAddrOfNameServerPrimary
nameserver IPAddrOfNameServerBackup

You can view a file by 'cat'ing it... eg: cat /etc/resolv.conf and you can edit a file in vi, nano, pico, etc.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MX Records Brandon.Wamboldt Linux - Server 2 05-04-2009 03:50 PM
Reading caller detail records(CDR ) records eliufoo Linux - Networking 2 12-16-2008 11:31 PM
DNS Zone Records - MX Records ddzc Linux - Software 8 05-24-2007 01:26 PM
1+0 records in how to disiable in DD command "1+0 records out" Kotresh Linux - Software 3 03-08-2007 08:57 AM
MX Records Terri Linux - Networking 2 01-21-2002 07:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration