Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
Posts: 8
Joined: 2003-03-04 18:42


Post by padde77 » 2007-10-20 11:12


ich hab Spamassassin mit COnfixx installiert.
Nur werden Spammails nun nicht mehr in die entsprechenden Mailboxen verteilt.
Was muss ich denn wo umbiegen, dass es wieder klappt?

Hier mein procmailrc:

Code: Select all


# SpamAssassin sample procmailrc
# ==============================

# The following line is only used if you use a system-wide /etc/procmailrc.
# See procmailrc(5) for infos on what it exactly does, the short version:
#  * It ensures that the correct user is passed to spamd if spamc is used
#  * The folders the mail is filed to later on is owned by the user, not
#    root.

# Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc'
# if you use the spamc/spamd combination)
# The condition line ensures that only messages smaller than 250 kB
# (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam
# isn't bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
# The lock file ensures that only 1 spamassassin invocation happens
# at 1 time, to keep the load down.
:0fw: spamassassin.lock
* < 256000
| spamassassin

# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
* ^X-Spam-Level: ***************

# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
* ^X-Spam-Status: Yes

# Work around procmail bug: any output on stderr will cause the "F" in "From"
# to be dropped.  This will re-add it.
# NOTE: This is probably NOT needed in recent versions of procmail
* ^^rom[ ]
  LOG="*** Dropped F off From_ header! Fixing up. "

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

Last edited by padde77 on 2007-10-20 11:16, edited 1 time in total.

Posts: 475
Joined: 2005-09-10 17:52
Location: Frankfurt am Main

Re: Spamassassin

Post by aubergine » 2007-10-20 11:15

Was sind die entsprechenden Mailboxen?
Wo soll das in deiner procmailrc definiert sein?

Posts: 8
Joined: 2003-03-04 18:42

Re: Spamassassin

Post by padde77 » 2007-10-20 11:17


die Usermailboxen liegen unter /home/email/USERMAILBOX
Da sollen die jeweiligen Spams mit umgeschriebenen Headern rein.