Agnello George wrote:
On 2/19/08, Daryl C. W. O'Shea <[EMAIL PROTECTED]> wrote:
but when i telnet from 121.240.XX.X it tries to connect ..but the
connection brakes after 30 seconds
spamd isn't exactly a telnet server for humans, it's not going to greet
you. :)
if it does not allow telnet then .......how does telnet work for
localhost eg : ( telnet localhost 783 )
If you want to talk to it, type: PING SPAMC/1.0
how do i ping this from remote server ( windows ) to the spamassissin server ??
ping spamc <ip adresss of spamassiss server>
No.. once you've connected to port 783 with telnet, type "PING
SPAMC/1.0" into your telnet client.
The server should respond with something like this and disconnect:
SPAMD/1.4 0 PONG
In general, the fact that spamd hangs up on you after 30 seconds of no
activity is completely normal. spamd doesn't allow idle connections to
hang around. If a spamc isn't feeding it mail, spamd assumes it has
crashed and hangs up with this text:
SPAMD/1.0 79 Timeout: (30 second socket timeout reading input from client)
Otherwise broken spamcs could tie up spamd sockets for very long periods
of time, eventually DoSing the server..