LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   spamassassin tags spam while procmail isn't running (https://www.linuxquestions.org/questions/linux-software-2/spamassassin-tags-spam-while-procmail-isnt-running-241786/)

broxtor 10-12-2004 01:12 PM

spamassassin tags spam while procmail isn't running
 
Hi,

I have a weird problem with my procmail and spamassassin.
What I'm trying to do is filter out my spam by means of spamassassin. In order to accomplish this I have created a rule in my procmailrc that pipes the messages to spammassassin. I'm using the default rules that come with the spamassassin package. The problem I'm facing is that the spam gets tagged as spam, but procmail isn't forwarding it to the right mailbox. I also don't get any records in my procmail logfile. In order to do some debugging I commented the lines out in my procmailrc that should pipe the messages through spammassassin. The weird thing is that all the spam messages I get still are tagged as spam by spammassassin. Even when I kill procmail this happens. Does anyone have an idea what's happening here?

Below are my config files:

fetchmailrc:
poll my.isp.com port 110 protocol pop3 username "myaccountname" password "mypassword" is me@mybox.home
mda "usr/bin/procmail -d %T"

That works fine.

procmailrc:
# variables
SHELL=/usr/bin/sh
MAILDIR=/var/spool/mail
LOGFILE=/${MAILDIR}/procmail.log
LOG="--- Logging ${LOGFILE} for ${LOGNAME}, "
VERBOSE=on

# rules for spamassasin
DROPPRIVS=yes

#All mail smaller then 256kb goes to spamassassin
:0fw:spamassassin.lock
* <256000
| spamassassin

# Score higher than 15 is almost certainly spam
:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
almost-certainly-spam

# All mail tagged as spam goes to "probably-spam"
:0:
* ^X-Spam-Status: Yes
probably-spam

broxtor 10-13-2004 02:57 PM

I finally found the solutions. For the ones who have the same problem:

In the /etc/sysconfig/postfix is a line that says:

POSTFIX_MDA="procmail"

In my case this was set to local. That way, procmail doesn't do anything.


All times are GMT -5. The time now is 05:25 PM.