From owner-freebsd-questions Wed Jul 24 3:38:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1A9437B400 for ; Wed, 24 Jul 2002 03:38:55 -0700 (PDT) Received: from grant.org (grant.org [206.190.164.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A47743E31 for ; Wed, 24 Jul 2002 03:38:55 -0700 (PDT) (envelope-from mgrant@splat.grant.org) Received: from splat.grant.org (mgrant@splat.grant.org [213.39.2.177]) by grant.org (8.12.3/8.12.3) with ESMTP id g6OAcko3013567; Wed, 24 Jul 2002 06:38:47 -0400 (EDT) (envelope-from mgrant@splat.grant.org) Received: (from mgrant@localhost) by splat.grant.org (8.11.6+Sun/8.11.6) id g6O8UJt23230; Wed, 24 Jul 2002 10:30:19 +0200 (MEST) Date: Wed, 24 Jul 2002 10:30:19 +0200 (MEST) Message-Id: <200207240830.g6O8UJt23230@splat.grant.org> From: Michael Grant To: Dan Nelson Cc: questions@FreeBSD.ORG Subject: Re: spamass-milter Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > When I send a test spam, logging in /var/log/maillog shows: > > > > spamd[5955]: info: setuid to root succeeded > > spamd[5955]: Still running as root: user not specified, not found, or set > > to root. Fall back to nobody. > > You should only see that once, when you start it. Each email should > put something like this in maillog: I definitely see the "Still running" message with each mail message. It seems spamd restarts over and over and prints this each time it starts. > Jul 23 00:12:58 <2.6> dan spamd[852]: connection from localhost [ 127.0.0.1 ] at port > 61541 > Jul 23 00:13:00 <2.6> dan spamd[81022]: clean message (2.3/8.0) for root:26 in 2 > seconds, 6170 bytes. > Jul 23 00:13:00 <2.6> dan sm-mta[81020]: g6N5Cvfs081020: Milter change: header > X-Spam-Status: (etc) > Jul 23 00:13:00 <2.6> dan sm-mta[81020]: g6N5Cvfs081020: Milter change: header > X-Spam-Level: (etc) > > Is the milter running? You have to start it separately from > sendmail. Here's what's running, if by "milter" you mean spamass-milter which creates the socket, yes, that's running. ps -ax | grep spam 6303 ?? Is 0:02.37 /usr/bin/perl /usr/local/bin/spamd -a -c -d 10319 ?? I 0:00.01 /usr/local/bin/spamc 10440 ?? I 0:00.01 /usr/local/bin/spamc 10482 ?? I 0:00.02 /usr/local/bin/spamc 10518 ?? I 0:00.01 /usr/local/bin/spamc 10562 ?? I 0:00.01 /usr/local/bin/spamc 10575 ?? I 0:00.01 /usr/local/bin/spamc 10613 ?? I 0:00.01 /usr/local/bin/spamc 10662 ?? I 0:00.01 /usr/local/bin/spamc 10698 ?? I 0:00.01 /usr/local/bin/spamc 10750 ?? I 0:00.01 /usr/local/bin/spamc 10784 ?? I 0:00.01 /usr/local/bin/spamc 10826 ?? I 0:00.01 /usr/local/bin/spamc 10863 ?? I 0:00.01 /usr/local/bin/spamc 10901 ?? I 0:00.01 /usr/local/bin/spamc 10959 ?? I 0:00.01 /usr/local/bin/spamc 10995 ?? I 0:00.01 /usr/local/bin/spamc 11013 ?? I 0:00.01 /usr/local/bin/spamc 11045 ?? I 0:00.01 /usr/local/bin/spamc 11088 ?? I 0:00.01 /usr/local/bin/spamc 11181 ?? I 0:00.01 /usr/local/bin/spamc 11182 ?? I 0:00.00 /usr/bin/perl /usr/local/bin/spamd -a -c -d 11183 ?? I 0:00.01 /usr/local/bin/spamc 11184 ?? I 0:00.00 /usr/bin/perl /usr/local/bin/spamd -a -c -d 3472 p0- I 0:01.86 /usr/local/sbin/spamass-milter /var/run/spamass/spamass-milter.sock I still can't get it to add the x-spam headers. Any clues as to how to get some better debugging so I can track down where exactly the problem is? setting the -D option on spamd only told me that spamd was in fact getting the mail, but after that, I'm not sure whats happening. Michael Grant To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message