Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-12-2004, 02:12 PM   #1
Registered: Jul 2003
Location: The Netherlands
Distribution: Linux Mint 19.1
Posts: 99

Rep: Reputation: 16
spamassassin tags spam while procmail isn't running


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:

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

That works fine.

# variables
LOG="--- Logging ${LOGFILE} for ${LOGNAME}, "

# rules for spamassasin

#All mail smaller then 256kb goes to spamassassin
* <256000
| spamassassin

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

# All mail tagged as spam goes to "probably-spam"
* ^X-Spam-Status: Yes
Old 10-13-2004, 03:57 PM   #2
Registered: Jul 2003
Location: The Netherlands
Distribution: Linux Mint 19.1
Posts: 99

Original Poster
Rep: Reputation: 16
I finally found the solutions. For the ones who have the same problem:

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


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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spamassassin and procmail zamri Linux - Networking 2 07-16-2005 07:40 AM
procmail and spam -- do not send out of office auto replay to spam draix Linux - Software 0 12-30-2004 09:35 AM
fetchmail procmail spamassassin VincentB Linux - Software 4 08-24-2004 02:35 PM
spamassassin w/ procmail vs. spamassassin w/sendmail bleunuit Linux - Networking 1 08-01-2004 08:12 AM
SpamAssassin tags, but won't redirect LeechBot Linux - Software 4 09-14-2003 03:12 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration