procmail
[Top] [All Lists]

Help! Recipes gone mad!

2004-06-23 07:54:10
I get this in my logs when I have a certain rule enabled, and cant see what is 
wrong

#---------------------
procmail: Skipped "crapfilter"
procmail: Skipped "@thompsonmike.co.uk" ;                \"
procmail: Skipped "-r -A"Precedence: junk"                              \"
procmail: Skipped "-A"X-Loop: crapfilter(_at_)thompsonmike(_dot_)co(_dot_)uk" ; 
                 
\"
procmail: Skipped "- $HOME/blockshite.txt;                                    
\"
procmail: Skipped ") | $SENDMAIL"
From 
gentoo-user-return-70358-mike=thompsonmike(_dot_)co(_dot_)uk(_at_)lists(_dot_)gentoo(_dot_)org
 Wed 
Jun 23 15:05:18 2004
 Subject: Re: [gentoo-user] Memory
  Folder: /home/mike/.maildir/.gentoo-user/new/1087999518.4489_1.polar     
2334

procmail: Skipped "crapfilter"
procmail: Skipped "@thompsonmike.co.uk" ;                \"
procmail: Skipped "-r -A"Precedence: junk"                              \"
procmail: Skipped "-A"X-Loop: crapfilter(_at_)thompsonmike(_dot_)co(_dot_)uk" ; 
                 
\"
procmail: Skipped "- $HOME/block.txt;
                                    \"
procmail: Skipped ") | $SENDMAIL"
From XXXXXXXXX(_at_)XXX(_dot_)XXX  Wed Jun 23 15:07:24 2004
 Subject: Re: Majordomo results
  Folder: /home/mike/.maildir/new/1087999646.4523_0.polaris                
2386
#------------------------------

Here is my complete .procmailrc When I take out the Postfix section everything 
appears fine. However all postfix mailing lists go to the spam folder when it 
is enabled, and the above appears in the logs.

------ .procmailrc

#SHELL=/bin/sh    # for other shells, this might need adjustment
LOGFILE=pmlog
LOG="
"
#VERBOSE=yes

#----------
#BEGIN VAR DECLARATIONS
#----------

# Spam Folder
SPAM_FOLDER="$HOME/.maildir/.spam/"

# Shite Senders Auto Reply
BLOCK_NOTE="$HOME/blockshite.txt"

# The Bit Bucket
CRAP="/dev/null"

#gentoo_user
GENTOO_USER="$HOME/.maildir/.gentoo-user/"

#postfix-users 
POSTFIX_USER="$HOME/.maildir/.postfix-users

#Tbudl Lists
TBUDL="$HOME/.maildir/.tbudl/"

#Squid Users
SQUID_USER="$HOME/.maildir/.squid_user/"

#No From Header, Must be Spam. 
:0:
* !^FROM:
$SPAM_FOLDER

#Any mail addressed to news dump it, as this email is used only in newsgroups.
:0:
* ^TO_news(_at_)thompsonmike\(_dot_)co\(_dot_)uk
$SPAM_FOLDER

#Any mail addressed to throwaway dump it, as this email is used only in 
"alternatives".
:0:
* ^TO_throwaway(_at_)thompsonmike\(_dot_)co\(_dot_)uk
$SPAM_FOLDER


:0
 * ? formail -x"From" -x"From:" -x"Sender:" \
    -x"Reply-To:" -x"Return-Path:" -x"To:" \
    | egrep -is -f black.lst

      | (echo "From: crapfilter(_at_)thompsonmike(_dot_)co(_dot_)uk" ;          
      \
        formail -r -A"Precedence: junk"                              \
        -A"X-Loop: crapfilter(_at_)thompsonmike(_dot_)co(_dot_)uk" ;            
      \
        cat - $HOME/block.txt;                                  \
        ) | $SENDMAIL

#Has it been flagged as Virus Laden? If So, just throw it to the damn bin.
#:0:
#* ^VIRUS FLAG
#$CRAP


:0:
* ^List-Post:(_dot_)*postfix-users(_at_)postfix\(_dot_)org
$POSTFIX_USER

:0:
* ^List-Id:.*gentoo-user\.gentoo\.org
$GENTOO_USER

:0:
* ^List-Post:.*squid-cache\.org
$SQUID_USER

:0:
* ^List-Id:.*tbudl\.thebat\.dutaint\.com
$TBUDL



#--------------------
# SPAM SECTION
#--------------------


#Lets Run any other mail thru SpamAssassin
:0 fw
| /usr/bin/spamc -f

#Has it been flagged as Spam by SpamAssassin?
:0:
* ^X-Spam-Status: Yes
$SPAM_FOLDER


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>