Quoting Theo Van Dinter <[EMAIL PROTECTED]>:

> Hmmm...
> 
> Looking at the code, right after the connection is accepted, spamd does a
> reverse lookup on the
> connecting IP (127.0.0.1 in this case):
> 
>     my($port,$iaddr) = sockaddr_in($paddr);
>     my $name = gethostbyaddr($iaddr,AF_INET);
> 
> 
> What happens if you run the following script?
> 
> perl -e 'use Socket;' \
> -e 'print scalar gethostbyaddr(inet_aton("127.0.0.1"),AF_INET),"\n";'
> 
> it should spit out "localhost" or some such.  If it takes more than a
> second or two, you should look at your name resolution setup.  Make sure
> the proper entries are in /etc/hosts and that /etc/nsswitch.conf is
> looking at "files" first via the "hosts:" line.

I get "ryloth"... which is the name of the machine without the domain name.  
I'm assuming that is what is supposed to happen.

-Dan


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to