On Fri, Apr 12, 2002 at 12:30:10PM -0600, Dan Wilson wrote: > Nope... It just hangs: > [root@ryloth Mail-SpamAssassin-2.11]# telnet localhost 783 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > > I guess that means it's a problem in spamd then... I've got the debug option > turned on for spamd, but when I run an email through it, nothing is found in > the logs. It does output stuff to the logs on startup though. > > Thanks for any help.
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. -- Randomly Generated Tagline: It's not easy to juggle a pregnant wife and a troubled child, but somehow I managed to squeeze in 8 hours of TV a day. -- Homer Simpson Lisa's First Word _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk