LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Setup Home (DSL + Netgear Router) DNS (bind) for use with qmail on Cent-OS 5.3 (http://www.linuxquestions.org/questions/linux-server-73/setup-home-dsl-netgear-router-dns-bind-for-use-with-qmail-on-cent-os-5-3-a-805175/)

sheps126 04-30-2010 09:28 AM

Setup Home (DSL + Netgear Router) DNS (bind) for use with qmail on Cent-OS 5.3
 
Hi Community,

Thanks for taking the time to read (and hopefully reply to) my post.

I have read through as many posts in the LQ forums as I can, but have not been able to find help with my problem - if there is one, I'll gladly go where I am pointed.

I would like to setup a qmail server for learning purposes (if you strongly feel Postfix is better, feel free to let me know). When I started setting up qmail (using Life with qmail), it suggested that having a DNS is the best approach. In the spirit of learning, I decided then to create another server for DNS only, and use that for qmail.

My problem is that, as this is a home installation, the internet is behind a Netgear DG834Gv5 router, on a DSL line that has a dynamic IP address. I am using DynDNS, but also don't mind having to update any DNS entries to keep up with the change, this is not exactly a production-grade setup.

In addition, I also have access to another DNS server where I can create authoritive entries for any domain I register. I have done that for a domain, and would like to point part of that to my home DNS so that I can learn.

So essentially, I would like to have a new zone for home.mydomain.org on my home DNS so that I can create new entries for *.home.mydomain.org such as qmail.home.mydomain.org etc. there.

I assume that this would include port forwarding on the router which is not a problem, but I truly have no clue where to start. I have a very basic install of Cent-OS 5.3 (no X and just Base a few admin and dev tools) and just installed the latest RPM of bind (9.3.x).

Am I making life difficult for myself? Should I abandon project? Is there a much simpler way to do this?

Many thanks in advance.
I await while staring at the blinking cursor.
Lawrance

rweaver 04-30-2010 12:48 PM

Honestly, there was a time when qmail was a reasonable and good choice. That hasn't been the case in 99.9% of mail server setups in the last 3-4 years. Postfix, sendmail, and exim all provide better choices for today in my opinion. qmail isn't maintained, its no more secure (due to requiring so many patches to get it running with todays standards), it tends to backscatter (by default), it's lost the speed advantage it once had, there are better antispam features easily implementable in the other daemons, the other daemons better support advanced mailing features, it's far more complex than any of the other three popular mailer daemons, and when it breaks its often times much harder to fix due to the patches and everyone knowing a different "version" of qmail (qmailrocks, lifewithqmail, qmailtoaster -- while all similiar they're enough different that when something breaks and you really gotta dig in... it's a nightmare.) There is no circumstance TODAY I would recommend a new setup be done with qmail... in the past I admin'd and setup several and as a consultant recommended it on many occasions, but in good conscious I could no longer do that.

Edit: (When it was released into the public domain I really hoped someone would pick it up and do it justice as it was an amazing mailer at the time it was created, but there seems to be next to no interest in that and most projects have fallen to the wayside that had much promise.)

sheps126 04-30-2010 02:36 PM

Thanks for the feedback on the qmail isssue, it has helped a lot. It's too easy to get caught up in the debate on the best MTA. After a little more research, I think I will start to look at Postfix. There does seem to be more help with it, and it seems to be a really good MTA, too.

I really want to know if it's possible to process outgoing mail with a script of some sort before it's queued for sending. With qmail it looked like a bunch of patching and other hacks were necessary, which is what I want to avoid. Postfix looks a little better suited to this kind of thing. Have you had any experience with an issue like this? Would another MTA be better to use than Postfix?

Also, is it possible for you to assist on my DNS query? I have managed to get my hands on the book 'DNS and BIND', so I've a lot of reading ahead. But I'm uncertain if I'm going about this the wrong way.

Thanks again for taking the time to respond.
Lawrance


All times are GMT -5. The time now is 10:41 AM.