Okay, I've caught spamd failing to connect in the past. I'm now trying
the following:
piping a message in pine to /usr/local/bin/spamc -l -x -d quark.gushi.org
-S -u danm
I get this:
spamc: connect(AF_INET) to spamd at 65.125.237.251 failed, retrying (#1 of
3): Oper
ation timed out
spamc: connect(AF_INET) to spamd at 65.125.237.251 failed, retrying (#2 of
3): Operation timed out
spamc: connect(AF_INET) to spamd at 65.125.237.251 failed, retrying (#3 of
3): Operation timed out
spamc: connection attempt to spamd aborted after 3 retries
%telnet quark 783
Trying 65.125.237.251...
(nothing)
openssl s_client -connect quark:783
(nothing)
So I logged into the machine. Twelve established connections, literally
HUNDREDS of connections in CLOSE_WAIT state.
At this point, I'm more waiting for the problem to show up. I've searched
my mailbox for non-spamassasin touched messages before, and posted on it
(as usual, with zero responses -- subject line was "Logging Spamc Connect
Failures").
Nothing shows up in my mail logs (or /var/log/messages), although
supposedly spamc uses syslog -- no mention of what facility or priority it
uses in the manpage.
I'm setting -l on my spamc command line, so that errors will be at least
stuck in the users procmail.log instead of NOWHERE, which is better than
nothing.
I've increased spamd's max_children to 50 -- supposedly this will be more
apache-like in the future, with the children growing and shrinking as load
demands -- if I've read correctly. Luckily I have a whole box dedicated
to running spamd.
At this point I'm at the "let's see if it happens again stage" rather than
the "it's fixed but I hate the solution stage". It would be GREAT if I
could get some actual feedback on how to solve this before I go file it as
a bug.
SpamAssassin is a great piece of software, but I'm amazed at how few
answers I get from the community -- and how many people insist on running
old versions. But then, what do you expect from an Apache project? (I
use php 4.4 and apache 1.3).
-Dan
Proud member of the "cmon, someone else HAS TO HAVE encountered this"
club.
--
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------