Courier is a mail server targeted at people who send and receive mail,
and as such expects them to have some sort of name server. My external
IP has a DNS entry so I can actually use my mail server (and my
internal hosts have dynamic entries from DHCP), and if you're managing
a network large enough to have internal mail servers and still using
/etc/hosts, I really pity you.
A nit to pick...
On linux glibc and solaris, you don't use '/etc/hosts', you use whatever
libnss_* module /etc/nsswitch tells you to use..
This means you can have a large network of machines which are managed
by Ldap or NIS that don't ever hit DNS for local lookups.
Now, I admit smtp servers are 'special', but you *are* breaking several
assumptions most people expect by not using the OS provided nss lookups.
And yes, I deal with around 200 odd hosts that still use /etc/hosts
lookups.. they are the compute nodes for a couple of 32-64 node clusters.
It's not *that* big a deal since the cluster nodes are identical. But I
am looking at either libnss_ldap, or running a ldap->bind dns server.
The ldap->bind->dns route DOES have several disadvantages, most notably
convincing it to update quickly when you make an ldap change.
--
--------------------------------------------------------------------------
Troy Benjegerdes 'da hozer' hoz...@drgw.net
Somone asked my why I work on this free (http://www.fsf.org/philosophy/)
software stuff and not get a real job. Charles Shultz had the best answer:
"Why do musicians compose symphonies and poets write poems? They do it
because life wouldn't have any meaning for them if they didn't. That's why
I draw cartoons. It's my life." -- Charles Shultz