You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by hi...@free.fr on 2004/11/04 19:30:42 UTC

PROCMAILRC problem

Here is my procmailrc :

==============================================================================
LOGFILE=/var/log/procmail.log
DROPPRIVS=yes

:0fw:
* < 256000
| /usr/bin/spamc -f

:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
HERE I'D LIKE TO DELETE THE MESSAGE THAT HAVE THAT MUCH TAGS HOW IS IT POSSIBLE
?

:0:
* ^X-Spam-Status: Yes
$HOME/SPAM
==============================================================================

So what I wanna do is if the mail has 10 hits it gets deleted, or else if it is
spam it goes to the SPAM folder.

My procmailrc isn't correct since I have these errors in logs :


procmail: Couldn't determine implicit lockfile from "/usr/bin/spamc"
procmail: Incomplete recipe


What am I doing wrong ?.
/Hitete

Re: PROCMAILRC problem

Posted by Theo Van Dinter <fe...@kluge.net>.
On Thu, Nov 04, 2004 at 09:53:03PM -0000, marti wrote:
> || /usr/bin/spamc -f
> Not sure what the -f suffix is for, I see no such suffix in the man pages

It's a deprecated option.  It's accepted but doesn't do anything these days.
fyi.

-- 
Randomly Generated Tagline:
"I find this a nice feature but it is not according to the documentation.
 Or is it a BUG?"
 "Let's call it an accidental feature. :-)"
              -- Larry Wall in <69...@jpl-devvax.JPL.NASA.GOV>

Re: PROCMAILRC problem

Posted by Pete Conkin <pe...@reach.net>.
----- Original Message ----- 
From: <hi...@free.fr>
>
> :0:
> * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
> HERE I'D LIKE TO DELETE THE MESSAGE THAT HAVE THAT MUCH TAGS HOW IS IT
POSSIBLE

You could send it to /dev/null using something like:

{
    :0
    /dev/null
}

  Pete



RE: PROCMAILRC problem

Posted by marti <ma...@ntlworld.com>.
 

|-----Original Message-----
|From: hitete@free.fr [mailto:hitete@free.fr] 
|Sent: 04 November 2004 18:31
|To: users@spamassassin.apache.org
|Subject: PROCMAILRC problem
|
|Here is my procmailrc :
|
|===============================================================
|===============
|LOGFILE=/var/log/procmail.log
|DROPPRIVS=yes
|
|:0fw:
|* < 256000
|| /usr/bin/spamc -f

Might be worth changing this to:-

:0fw: spamc.lock
* < 256000
| /usr/bin/spamc

Not sure what the -f suffix is for, I see no such suffix in the man pages

Martin