Xymon Mailing List Archive search

spamd

3 messages in this thread

list Lars Ebeling · Mon, 2 Oct 2006 10:19:31 +0200 ·
Dear All,

I try to test the spamd-test. But it does not work, since it is running on localhost and hobbit tests on hostname. Ie:

$ telnet localhost 783                                         Trying...                                                      Connected to localhost.                                        Escape character is 'ÜÅ'.                                      PING SPAMC/spam                                                SPAMD/1.2 0 PONG                                               Connection closed by foreign host.


                             $ telnet leopg9 783                                            Trying...                                                      telnet: Unable to connect to remote host: Connection refused   $     
Could anyone help me?

                                                         Regards
Lars Ebeling
Hobbithobbyist
http://leopg9.no-ip.org


¤ "If you can't be a good example, then you'll just have to be a horrible warning."
--Catherine Aird
list Christian Rehberger · Mon, 2 Oct 2006 10:32:58 +0200 ·
Hi Lars,
quoted from Lars Ebeling
I try to test the spamd-test. But it does not work, since it is
running on localhost and hobbit tests on hostname. Ie:

$ telnet localhost 783
Trying...
Connected to localhost.
Escape character is 'ÜÅ'.
PING SPAMC/spam
SPAMD/1.2 0 PONG
Connection closed by foreign host.

$ telnet leopg9 783
Trying...
telnet: Unable to connect to remote host: Connection refused
$

Could anyone help me?
this looks like the LISTEN on port 783 is only on 127.0.0.1.
What shows the "netstat -an | grep 783" command on your machine?

Chris

-- 
Dipl. Ing. (FH) Christian Rehberger
System Consultant · OCLC PICA GmbH
Grünwalder Weg 28g · 82041 Oberhaching · Germany
t +49-(0)89-61308 333 · f +49-(0)89-61308 399 
e user-612b35aa5f4b@xymon.invalid · w http://www.oclcpica.org
list John Gallet · Mon, 2 Oct 2006 10:35:57 +0200 (CEST) ·
Hi,
quoted from Christian Rehberger
I try to test the spamd-test. But it does not work, since it is running
on localhost and hobbit tests on hostname. Ie:
This might not be the preferred solution but AFAIC I just added a localhost entry in the bb-host file to monitor all localhost services. 
127.0.0.1 localhost # NOCOLUMNS:files,ports,procs,msgs imap spamd no-conn clamd

It looks like the "no-conn" is ignored by the way, for whatever reason.

Also note that :
PING SPAMC/spam                                                SPAMD/1.2 0 PONG                                               
the expected answer in the ad hoc file is just "PONG" so you might have to change that if it does not work. 
HTH
JG