From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KqROI-00021w-E6 for garchives@archives.gentoo.org; Thu, 16 Oct 2008 11:51:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B190E0330; Thu, 16 Oct 2008 11:51:40 +0000 (UTC) Received: from correo14.acens.net (correo14.acens.net [217.116.0.88]) by pigeon.gentoo.org (Postfix) with ESMTP id 5678CE0330 for ; Thu, 16 Oct 2008 11:51:39 +0000 (UTC) Received: (qmail 13919 invoked from network); 16 Oct 2008 11:51:36 -0000 Received: from unknown (HELO [192.168.0.51]) (rams.englobe-tec.com@[79.153.77.176]) (envelope-sender ) by correo14.acens.net (qmail-ldap-1.03) with SMTP for ; 16 Oct 2008 11:51:36 -0000 Message-ID: <48F72AC5.6020100@englobe-tec.com> Date: Thu, 16 Oct 2008 13:51:33 +0200 From: David Rioja User-Agent: Thunderbird 2.0.0.17 (X11/20080925) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] procmail+spamassassin user filters References: <48F4BE7E.9060909@englobe-tec.com> <20081014172910.GA425@princeton.edu> <48F59701.4030407@englobe-tec.com> <20081015152434.GA3411@princeton.edu> <20081016082006.7a97f62b.davidwei@newbread.tj.cn> In-Reply-To: <20081016082006.7a97f62b.davidwei@newbread.tj.cn> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d322bffc-ccfa-4994-9500-d2154c40d906 X-Archives-Hash: a4717d671af8cad8cfd49018e53036b0 Hello! I had did both mistakes you said: 1.- My recipe file was named .procmail instead of .procmailrc 2.- My recipe file had permissions other than 700 Both from an outdated (or mistaken) howto (I've reported it to the author= ). Now it's working. Note that the option --prefs-file=3D$HOME/.spamassassin/user_prefs is unnecesary as this is the default path to user_prefs. Thanks a lot! David Wei escribi=A8=AE: > One more tip, the .procmailrc file should belong and only belong to the= mail owner user(right 700),procmail refuse to run when the .procmailrc '= s right is not properly set on my box. > > On Wed, 15 Oct 2008 11:24:34 -0400 > Willie Wong wrote: > > =20 >> On Wed, Oct 15, 2008 at 09:08:49AM +0200, Penguin Lover David Rioja sq= uawked: >> =20 >>> Willie Wong escribi?: >>> =20 >>>> On Tue, Oct 14, 2008 at 05:45:02PM +0200, Penguin Lover David Rioja=20 >>>> squawked: >>>> =20 >>>> =20 >>>>> 2.- I created ~/.procmail with the following contents: >>>>> >>>>> SHELL=3D/bin/sh >>>>> MAILDIR=3D$HOME/.maildir >>>>> DEFAULT=3D$MAILDIR >>>>> LOGFILE=3D$MAILDIR/procmail.log >>>>> >>>>> | spamassassin --prefs-file=3D$HOME/.spamassassin/user_prefs >>>>> >>>>> =20 >>>>> =20 >>>> Is that all you have in the recipe? I thought a recipe always begins >>>> with 0: ? From my procmailrc file: >>>> >>>> -----------snip--------------- >>>> :0fw >>>> | /usr/bin/spamc >>>> ----------endsnip------------- >>>> >>>> since I use spamc/spamd. f makes it a filter and w waits for the >>>> filter to finish.=20 >>>> W >>>> =20 >>>> =20 >>> Ok, you win :) >>> >>> I actually have this on .procmail >>> >>> INCLUDERC=3D$HOME/.spamassassin.rc >>> >>> instead of that line. In the file .spamassassin.rc I have: >>> >>> :0fw >>> | spamassassin --prefs-file=3D$HOME/.spamassassin/user_prefs >>> =20 >> Another really stupid question, when you sayin your .procmail file, do >> you mean $HOME/.procmailrc ? I certainly hope you just have a typo, >> and not named your file something that procmail does not know is the >> config file.=20 >> >> (Was the ~/.maildir/procmail.log log file created?) >> >> I am pretty sure the $HOME in your command should parse properly even >> if procmail passes control to a subshell, so there shouldn't be any >> reason why your recipe doesn't work.=20 >> >> W >> >> --=20 >> "It was real. At least, if it wasn't real, it did support=20 >> them, and as that is what sofas are supposed to do, this,=20 >> by any test that mattered, was a real sofa. " >> Sortir en Pantoufles: up 677 days, 13:59 >> >> =20 > > > ------------------------------- > =CE=BA=C1=C1 David Wei > > =C4=FA=BF=C9=D2=D4=CD=A8=B9=FD=CF=C2=C3=E6=B5=C4=B7=BD=CA=BD=BA=CD=CE=D2= =C1=AA=CF=B5=A3=BA > MSN: inadavid@hotmail.com > Gtalk: inadavid@gmail.com > Email: davidwei@newbread.tj.cn > > > > =20 --=20 David Rioja Redondo Tel. (34) 91 675 14 29 Fax: (34) 91 656 91 89