Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've installed debian woody running as my web server and I've just installed Postfix to act as the mail server. I'm having problems sending and receiving mail from within my mail client Thunderbird. I am using an external SMTP server at the minute to send mail and get:
I'm still having a few problems with DNS though. I can send and receive mail to and from email@example.com but that is because I have the pop and smtp servers set to my internal IP address. Has anyone got any pointers to getting the DNS piece sorted. Links to detailed HowTos or FAQs or a detailed explanation here for a struggling newbie will be much appreciated !!
I'm not sure if I'm asking the right question here ....
My broadband router is allowing NAT which is also my DNS server, so I don't really need to set my mail server up as a DNS server. My domain is pointing to my IP address fine. I am able to e-mail from a totally different e-mail account, which is outside of my network, and I receive that mail when the pop server is set to 192.168.4.10.
I suspect there are some simple config files settings that will allow me to use my router as it's primary DNS server.
I'm really having trouble understanding how this setup will resolve DNS.
the howto above is definitely a great reference, and thorough too. I put together my own (small) DNS about a month ago and documented it as simply as I could, (I'm trying to do this for everything I set up)
it just walks through the very minimum of steps i took to get my own DNS up and running from a fresh SuSE installation. If you want to take a look (I can't promise its perfect) its written from a newbie (my) point of view. You can read it here:
If i understand you correctly - you are not receiving email from the outside world on your new email server is that correct? Not sure I understand correctly what you're asking? If that's the case I think its likely you need to run named and set up an MX 10 record to indicate the location of your mailserver to the outside world? Do I mis-understand?
not quite ... I do receive mail if sent to my e-mail address firstname.lastname@example.org. But at the moment the pop server within my e-mail client, Thunderbird, is set to 192.168.4.10. So mail is getting all the way through from outside of my domain. But, if I set the pop server name to mail.mydomain.org instead of 192.168.4.10, I get nada, nothing.
Like the HowTo ! It's making sense .. I don't have a named running anywhere or a named.conf or /var/lib/named directory. I feel as though I am missing something. I'm running Debian Woody with apt-get available if that is any help.
Keeping in mind I'm new to this also (anyone feel free to jump in here). What I was doing with the /etc/hosts file was essentially telling your linux box that it is named "mail.domain.com". Since you're using other machines on your network I don't think the quick and dirty hosts file modification is going to do the trick. You can keep 192.168.4.10 as your mailserver if you want to -- (and it works right?)
but if you want your internal network to be able to resolve 192.168.4.10 as mail.domain.net I think you're going to have to set up a small dns. The reason why you can't find "named" or any of the directories i mentioned earlier i think is likely because you don't have BIND installed on your host machine. the BIND package comes with the DNS server (named) which you'll have to run and configure to do this (per my earlier post).
Since I'm not really knowledgable on Debian (I use RPM's on SuSE) I can't give you good instructions on how to install BIND.... but I think you can find them here:
So sounds like you have BIND installed which is good. You're getting there quickly. There are some more steps for you to complete to get everything working properly.
First - check to make sure that your installation is working and your booted up running the DNS server 'named'
to do so type the following in your shell:
ps -C named
Its should spit out what process named is running -- this is good and means it is running. if it comes back blank or without mentioning named then you don't have your named server running. If this is the case (named is not running) stop here and try to start it. In SuSE 9.2 the command is 'rcnamed start' which spits out some-on screen text confirming that named did begin. Reading through the article you installed from - you may have to type: '/etc/init.d/bind9 start' which should do the same thing. then do another 'ps -C named' and see if its running
Assuming you've got it going now you need to configure to your network entries. Right now, you see, your DNS is only running a 'cache' server which doesn't help you alot (it mirrors whats already out there on the internet). So you have to ADD your own records to make named work for you. So what do you do:
create a forward lookup database
create a rev lookup database
edit named.conf to refer to these databases (create your zones) which hold the name -- ip address information for your network
to do this follow step #2 at this site here. if the directory /var/lib/named doesn't exist go ahead and create it.