Systemwide I use this so everything get scanned:
[EMAIL PROTECTED]:~> cat /etc/procmailrc 
VERBOSE=on
ORGMAIL=Mailbox
MAILDIR=$HOME
#LOGFILE=procmail-log

DROPPRIVS=yes
:0fw
* < 128000
| spamc

:f:lock-file
*
| /usr/bin/formail -a "Status: O"

INCLUDERC=.procmailrc

:0:lockfile
* ^TO*
Mailbox

Each user that wants their spam deleted before it comes in has this.
(We use PJM-> instead of [SPAM] in the subject)

[EMAIL PROTECTED]:~> more .procmailrc 
VERBOSE=off
ORGMAIL=$HOME/Mailbox
:0:
* ^Subject:.*PJM-\>
/dev/null


On Wed, Jan 10, 2007 at 05:21:06PM +0100, D Ivago wrote:
> Hi all,
> 
> i''ve been using spamassassin for over a year now and I'm really happy with
> this solution.
> 
> At he moment my maximum SA score is 3.0 and this seems to stop 99% of spam
> without marking wanted mail as spam.
> 
> Now I get like +200 mails in my spam folder marked as [SPAM] but would like
> to delete these mails instead of filtering them in a folder, so I poked
> around with my .procmailrc but it doesn't seem to work OK.
> 
> This is spam delete option would be only for me and not for other people
> using the mailserver so I have this in my /home/ivago/.procmailrc file:
> 
> MAILDIR=$HOME/Mail
> LOGFILE=$HOME/Mail/log
> 
> :0:
> * ^X-Spam-Status: Yes
> Spam
> :0:
> * ^Subject:.*\<[SPAM]\>
> /dev/null
> 
> I just added the 3 last lines as seen on a webpage but it doesn't work, any
> suggestions what I exactely need to put in there?
> 
> kind regards,
> 
> ivago

-- 
/*
Jason Philbrook   |   Midcoast Internet Solutions - Internet Access,
    KB1IOJ        |  Hosting, and TCP-IP Networks for Midcoast Maine
 http://f64.nu/   |             http://www.midcoast.com/
*/

Reply via email to