LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-16-2010, 03:04 PM   #1
BassSpy
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Rep: Reputation: 0
CentOS 5.5 Email Server MX Settings


I'm currently in the process of bringing email inhouse at my company. We have a domain through GoDaddy which is pointed (Not MX Settings, however) to our one static IP address. I followed the steps on www.linuxmail.info including the tests. I'm running Postfix and Dovecot. I can send email to outside addresses i.e. Gmail and Yahoo, but cannot receive from the outside (only internal). My hostname is mail.<mycompany>.local, with SMTP and POP3 open on both the outside and linux firewalls.

What do I need to set my MX Settings on GoDaddy and what, if anything, else do I need to do in Linux?

Thank you,
 
Old 07-17-2010, 01:39 PM   #2
jcalzare
Member
 
Registered: Aug 2009
Location: Chicago
Distribution: CentOS
Posts: 114

Rep: Reputation: 34
First make an A record:

mail.domain.com. IN A <ipaddress of the mx server>

Then make the MX record:

domain.com. IN MX 30 mail.domain.com.

You may want to change the hostname of that server though, as you may face some email delivery issues to the outside world using a .local tld. You should also set up reverse DNS for that IP address to match up with the mail server's hostname, this will aid in email delivery as well.

Last edited by jcalzare; 07-17-2010 at 01:41 PM. Reason: rDNS
 
1 members found this post helpful.
Old 07-18-2010, 10:41 AM   #3
BassSpy
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the reply. I'm to the point where I can telnet into my server and test it on that level, but I'm assuming that my .local hostname is the reason no mail is actually getting to the mailbox. DNScolos.com mentioned something about greylisting. Is that the case?
 
Old 07-18-2010, 12:40 PM   #4
jcalzare
Member
 
Registered: Aug 2009
Location: Chicago
Distribution: CentOS
Posts: 114

Rep: Reputation: 34
If your MX record is set to something at domain.local, systems on the internet are not going to be able to email you.

If you are trying to test locally and it's not working, run tail -f /var/log/maillog on the mail server, and execute mail -v address@domain.com from a terminal. This will not only give verbose output on the client machine, but will show you server side what's going on.

Hope this helps.
 
Old 07-19-2010, 05:26 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Moved: This thread is more suitable in Linux Server and has been moved accordingly to help your thread get the exposure it deserves.
 
  


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
CentOs Squid settings rahul_khatavkar Linux - Security 2 10-09-2009 04:05 PM
Email server- CentOS or Debian tuananh87vn Linux - Server 5 03-20-2009 02:29 PM
LXer: CentOS 4.6 Server Setup: LAMP, Email, DNS, FTP, ISPConfig LXer Syndicated Linux News 0 01-10-2008 03:40 PM
LXer: CentOS 5.1 Server Setup: LAMP, Email, DNS, FTP, ISPConfig LXer Syndicated Linux News 0 12-06-2007 03:21 PM
Migrating from Lotus Domino Email Server 6.5 to Linux email Server sailu_mvn Linux - Software 0 08-22-2006 11:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:19 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