I am getting bald with this guys:
On a Linux VPS (CentOS), I have setup a mail server (Exim+Dovecot+Clamav+SpamAssassin) but scanning mail for spam using SpamAssassin is proving to be a challenge. I am not a Linux expert, especially when it comes to challenges associated with VPS, but I can pretty much RTFM and succeed. This one is beating me:
On my FreeBSD servers, I can easily get the desired results:
(15:59:00 <~>) 0 $ sockstat -l | grep 783 root perl 83997 5 tcp4 127.0.0.1:783 *:* root perl 83996 5 tcp4 127.0.0.1:783 *:* root perl 10281 5 tcp4 127.0.0.1:783 *:* (15:57:21 <~>) 0 $ telnet 127.0.0.1 783 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. CONT SPAMD/1.0 76 Bad header line: CONT Connection closed by foreign host.`
However, on the Linux VPS when I run the same test, it just hangs there ... nothing responds on the port, even though I can see spamd listening on 783:
[root@vps exim]# netstat -anp | grep 783 tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN 21602/spamd.pid
If any of you runs their servers on VPSes and are able to communicate with spamd, please tell me where to look.
Af it might help, I can connect to the POP3 port on this server from remote locations, BUT not from localhost (127.0.0.1)! Since spamd is set to listen on 127.0.0.1, I cannot test it from a remote server, and I don't intend to change it to listen on the public IP for test purposes.
Could it be something I need to change on the Linux?