Banyan He wrote:
Hi guys,
I am experiencing the issue with SA. I just installed SA and ask it
listen on port 10025. Forward the messages from postfix to 10025 and
then sending out the messages back to postfix at port 10026 after
scanning.
Don't try to forward directly to spamd. Feed the messages to spamc and
have it forward them to your spamd. Spamc and Spamd are designed to be a
client/daemon pair, hence their names: spamc(lient) and spamd(aemon)
There is a special protocol that spamd expects to see, which is not
SMTP. This is documented, but it's probably a lot more than you can make
postfix do directly:
http://svn.apache.org/repos/asf/spamassassin/tags/spamassassin_current_release_3.2.x/spamd/PROTOCOL
Right now, something wrong with it. I tested the daemon by using
telnet tool.
There's nothing wrong with spamd, it just doesn't work the way you think.
telnet localhost 10025
It shows me the error below,
Escape character is '^]'.
SPAMD/1.0 76 Bad header line:
Connection closed by foreign host.
Any advices will be appreciated.
About the only thing you can do reasonably over telnet is send it a PING
command. Anything else and you should be using the spamc program.