Return-Path: Delivered-To: apmail-spamassassin-users-archive@www.apache.org Received: (qmail 19710 invoked from network); 2 May 2008 14:13:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 May 2008 14:13:02 -0000 Received: (qmail 15912 invoked by uid 500); 2 May 2008 14:12:52 -0000 Delivered-To: apmail-spamassassin-users-archive@spamassassin.apache.org Received: (qmail 15883 invoked by uid 500); 2 May 2008 14:12:52 -0000 Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@spamassassin.apache.org Received: (qmail 15872 invoked by uid 99); 2 May 2008 14:12:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2008 07:12:52 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bob@bobcatos.com designates 208.101.215.2 as permitted sender) Received: from [208.101.215.2] (HELO mail.bobcatos.com) (208.101.215.2) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2008 14:11:56 +0000 Received: from bobcat.bobcatos.com (unknown [192.168.2.2]) by mail.bobcatos.com (Postfix) with ESMTP id E476E206D for ; Fri, 2 May 2008 09:12:16 -0500 (CDT) Received: by bobcat.bobcatos.com (Postfix, from userid 500) id CA41E13F7DB; Fri, 2 May 2008 09:12:16 -0500 (CDT) Date: Fri, 2 May 2008 09:12:16 -0500 From: Bob McClure Jr To: users@SpamAssassin.apache.org Subject: Re: general questions abour spamc/spamd Message-ID: <20080502141216.GA11663@bobcat.bobcatos.com> Mail-Followup-To: users@SpamAssassin.apache.org References: <957045.86019.qm@web51809.mail.re2.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <957045.86019.qm@web51809.mail.re2.yahoo.com> User-Agent: Mutt/1.4.2.3i X-Virus-Checked: Checked by ClamAV on apache.org On Thu, May 01, 2008 at 04:06:02PM -0700, Ibrahim Hashem wrote: > hi all, i think this is my 1st mail.. > here's the problem i'm facing > > i want to know how to setup or configure spamc in detailed > and is it related that much to configuring the procmail ?? You don't mention your OS or distribution, so it's hard to provide specifics. The way I run it on RedHat/Fedora/CentOS is to run spamd and call spamc from each user's .procmailrc like this: ======== 8< ------------- PATH=/bin:/usr/bin:/usr/local/bin MAILDIR=$HOME/Mail # LOGFILE=$MAILDIR/from LOGFILE=/dev/null # Put any rules to bypass SA here, e.g. :0: * ^List-Id: /var/spool/mail/$LOGNAME :0fw | spamc # Any spam with 9 or more * will be summarily punted. :0 H * ^X-Spam-Level: \*\*\*\*\*\*\*\*\* /dev/null # Uncomment this to divert remaining spam to a spam bucket. # Else it goes to your mailbox. # :0: # * ^X-Spam-Status: Yes # $HOME/Mail/caughtspam ======== 8< ------------- > another question > who recieves the mail from the clients as first time?? is it spamc or spamd?? Not sure I understand, but I think the answer is spamc, which feeds it to spamd. Then spamd filters it and returns it with the desired spam markup. > then how does it cycle to get to the recipient client?? After it comes back from spamc, what happens depends on the following procmail "recipes". You can divert it, delete it (to /dev/null), or send it on to the recipient. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. bob@bobcatos.com http://www.bobcatos.com Now I, Nebuchadnezzar, praise and exalt and glorify the King of heaven, because everything he does is right and all his ways are just. And those who walk in pride he is able to humble. Daniel 4:37 (NIV)