Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.