procmail
[Top] [All Lists]

Re: Procmail & Spamassasin(Spam in IMAP Folder)

2007-01-31 06:47:22
Am 2007-01-25 14:45:46, schrieb Fabio Duo:
Setup:
-          Debian Woody

  Outdated since 1 1/2 years and no security updates anymore

-          Confixx
-          Spamassasin

Which version?  Those from Woody?

-          Courier (IMAP)
-          Postfix

Has nothing to wo with your filtering

My Procmailrc :

:0fw
* < 256000
| spamassassin

This should be 

:0fw
* < 256000
|spamac

with a running "spamd"

:0
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
$MAILDIR/.SPAM/
#almost-certainly-spam

Should be only:

:0
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
.SPAM/

Are you sure you want 15 asterisk?
5-10 are working perfectly.

:0
* ^^rom[ ]
{
  LOG="*** Dropped F off From_ header! Fixing up. "

Should have a LF at the end...

  :0 fhw
  | sed -e '1s/^/F/'
}


Main.cf:
mailbox_command = /usr/bin/procmail -a "$EXTENSION" DEFAULT=$HOME/Maildir/
MAILDIR=$HOME/Maildir

This two lines should be at the beginning of your procmailrc:

MAILDIR=$HOME/Maildir
DEFAULT=$MAILDIR/

Confixx Spamassasin.inc:
# SpamAssassin config file for version 3.x
# How many hits before a message is considered spam.
required_score           5.0

# Whether to change the subject of suspected spam
rewrite_header subject  *****SPAM*****

# Encapsulate spam in an attachment
report_safe             1

# Add report into headers
add_header spam Report _REPORT_

# Enable the Bayes system
use_bayes               1

# Enable Bayes auto-learning
bayes_auto_learn              1

# Enable or disable network checks
skip_rbl_checks         0
use_razor2              1
use_dcc                 1
use_pyzor               1

# Mail using languages used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_languages            all

# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_locales              all

Your setup should work...

Greetings
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

____________________________________________________________
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>