You are not logged in.

#1 2008-10-15 10:18:32

lateralus
Member
Registered: 2008-10-06
Posts: 29

[SOLVED] Can't get spamassassin to work

Hi!

I'm trying to get spamassassin to work, but it seems like it doesn't want to cooperate tongue
Here's ~/.forward file

"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #shin"

A bit of postfix'es main.cf

mailbox_command = /usr/bin/procmail -a "$EXTENSION"

And a .procmailrc

# 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.
DROPPRIVS=yes
VERBOSE=yes

:0fw: spamassassin.lock
* < 256000
| spamassassin

:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
almost-certainly-spam

:0:
* ^X-Spam-Status: Yes
probably-spam

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

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

The X-Spam-... doesn't appear in headers, and there's nothing in the logfiles. What's wrong?

Last edited by lateralus (2008-10-17 19:36:56)

Offline

#2 2008-10-17 19:32:38

lateralus
Member
Registered: 2008-10-06
Posts: 29

Re: [SOLVED] Can't get spamassassin to work

Aight, solved it. I had to replace this line of .procmailrc

| spamassassin

With this one

| /usr/bin/perlbin/vendor/spamassassin

Offline

Board footer

Powered by FluxBB