Spamd won't listen to spamc
Ed Greshko
Ed.Greshko at greshko.com
Tue Jan 22 00:05:34 UTC 2013
On 01/21/2013 06:06 PM, Chuck Forsberg WA7KGX N2469R wrote:
> This is the maillog entry I get when I try to pass an email to spamc.
>
> ]: spamd: unauthorized connection from omen.com [70.89.176.169] at port 55566 at /usr/bin/spamd line 1271.
> Jan 21 02:03:51 omen spamd[25898]: prefork: child states: II
>
You should be sending these questions to the "users" list since F18 has been released. You are more than likely to get a better response then posting here.
However...... While I don't currently have sendmail configured and/or using procmail, I don't think my system has any problem....
root 26947 1 0 07:27 ? 00:00:02 /usr/bin/spamd --pidfile /var/run/spamd.pid -d -c -m5 -H
root 26948 26947 0 07:27 ? 00:00:00 spamd child
root 26949 26947 0 07:27 ? 00:00:00 spamd child
netstat -nap returns
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN 26947/spamd.pid -d
and....
spamc < test.eml returns the message with the following headers added....
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f18x
X-Spam-Level:
X-Spam-Status: No, score=-2.2 required=5.0 tests=DKIM_SIGNED,RCVD_IN_DNSWL_MED,
SPF_PASS,T_DKIM_INVALID,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2
additionally ....
[egreshko at f18x ~]$ telnet localhost 783
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
helo
SPAMD/1.0 76 Bad header line: helo
Connection closed by foreign host.
Which is what I would expect... With the following recorded in the maillog as expected....
Jan 22 00:02:26 f18x spamd[26948]: spamd: connection from localhost [127.0.0.1] at port 47657
Jan 22 00:02:40 f18x spamd[26948]: spamd: bad protocol: header error: helo
Jan 22 00:02:40 f18x spamd[26947]: prefork: child states: II
--
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled
More information about the test
mailing list