-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A long time ago, in a galaxy far, far way, someone said...
> No, you've just not yet realized it. 8^) Read > /usr/share/doc/exim/spec.txt.gz and skip to section 29 on the > lookuphost router. One of the options there is called 'gethostbyname' > and causes exim to use the gethostbyname() function instead of relying > on DNS (of course, gethostbyname can use DNS, in addition to > /etc/hosts, LDAP, NIS, whatever). Doh! You're right - I didn't look very closely at the spec ;) > There is one major problem with using this option, though: using > gethostbyname prevents MX records from being used as that library > function doesn't handle any MX stuff. That isn't a good thing at all. No, it's not. But it is simpler for those who don't want to be bothered to implement DNS for everything to work right. > There is a way to handle this, and to use gethostbyname only for mail > matching a specific domain. I don't know off hand how to do this, > though, and I don't have the time to read through spec.txt in as much > detail as I need. I do believe, however, that it would result in a much > cleaner and easier to maintain exim.conf than the solution you're using > now. It would probably involve LDAP or MySQL (or some other database type) to match which host handles which domain name in a virtual-hosting- type setup. Hrm.... - -- - ---------------------------------------------------------------------- Phil Brutsche [EMAIL PROTECTED] GPG fingerprint: 9BF9 D84C 37D0 4FA7 1F2D 7E5E FD94 D264 50DE 1CFC GPG key id: 50DE1CFC GPG public key: http://tux.creighton.edu/~pbrutsch/gpg-public-key.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6FDXU/ZTSZFDeHPwRAuM6AJ9I5GOZcu7qB5Xe444p2F+C5b6ISgCg4Lv8 wwFHnZ69jDyhDkwZow9xjEU= =jb/3 -----END PGP SIGNATURE-----