Hi All,
I think what Michelle is trying to say is that courier seems to be
getting information from /etc/hosts, as evidenced by the fact that
switching the order of the 2nd and 3rd lines in /etc/hosts makes
a difference in how a reverse-lookup from courier will resolve.
IIRC, courier uses gethostbyxxxx() calls and perhaps these functions
consult /etc/hosts under the covers? I know that in Solaris, the
gethostbyxxxx() functions provide what looks like DNS functionality
by first consulting /etc/nsswitch.conf, and then consulting the
appropriate name services (files, DNS, NIS, LDAP) listed therein.
William
Gordon Messmer wrote:
> Michelle Konzack wrote:
>
>>If I have and /etc/hosts:
>>
>>127.0.0.1 localhost
>>192.168.0.10 samba.michistest.ir
>>192.168.0.10 mail.michistest.ir
>>192.168.0.20 michelle1.michistest.ir
>>192.168.0.30 tp570.michistest.ir
>>
>>it would not work
>
>
> What would not work?
>
>
>>since a REVERSE-Lookuo to <mail.michitest.ir> will
>>resolv <samba.michistest.ir>. Putting the MAILSERVER on the first
>>entry after <localhost> like:
>>
>>127.0.0.1 localhost
>>192.168.0.10 mail.michistest.ir
>>192.168.0.10 samba.michistest.ir
>>192.168.0.20 michelle1.michistest.ir
>>192.168.0.30 tp570.michistest.ir
>>
>>will work properly...
>>
>>Otherwise my OWN courier-server would not work here.
>>
>
>
> Clarify how you think that information is used. I have no idea where
> you're going with that.
>
>
>>So, I have no "named" running in my local network with currently 26
>>machines active but it still works. How comes?
>>
>
>
> Because DNS isn't required to accept messages for relay?
>
>
>>Note: My domain (I have changed the domainname) is registered
>> but only for private use which include my mailhost...
>>
>
>
> What does "is registered" mean?
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> courier-users mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users