-   Linux - Software (
-   -   Spamassassin + Courier Imap + Procmail (

Savahn 07-02-2004 10:56 AM

Spamassassin + Courier Imap + Procmail
I have an email server running Slackware 10 using Sendmail 8.13, Courier-IMAP, Spamassassin 2.63, Procmail, and Squirrelmail. I have set my procmailrc file to send all emails with a header of X-Spam-Status = Yes to INBOX.Spam, but the emails do not appear in the Spam folder they seem to vanish into thin air. Here is my procmailrc file:


| /usr/bin/spamc -f
* ^X-Spam-Status: Yes

I have checked all permissions and all my settings. I do not see any typos anywhere and the program locations are correct. I am also running Mysql database to store the users spam settings. Here is my spamassassin file:

required_hits 5.0
rewrite_subject 1
report_safe 1
use_bayes 1
auto_learn 1
skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 1
dns_available yes
pyzor_add_header 1
pyzor_path /usr/bin/pyzor
detailed_phrase_score 1
report_header 1
ok_languages en
user_scores_dsn DBI:mysql:spam:localhost
user_scores_sql_username spam
user_scores_sql_password #######
user_scores_sql_table userprefs

Please help. This server is for my business accounts and they are not happy because they think they are losing emails.

foo_bar_foo 07-02-2004 04:15 PM

I had to go back and edit this cause somehow my brain forgot about IMAP
the first time around -- if you read the first one sorry.

lets see ......

I think don't set the variable SPAM
since you have MAILDIR set

* ^X-Spam-Status: Yes

cyberjames 01-10-2005 02:31 AM


May I know how you setup Spamassassin + Courier Imap + Procmail on slackware 10? I want to try that things on my Slack box. I also have problem related on IMAP which I have posted here. Click this

I hope you will teach me Savahn on how to setup Courier IMAP and those other thing open sources.

best regards


Savahn 01-26-2005 09:40 PM

Would be more than happy to tell you cyberjames, just ask and ye shall recieve. I fixed the problem I was having, IT WAS A TYPO that could not be seen in ssh VI or MC, had to use Webmin to correct the problem. Just let me know if you need any assistance.

All times are GMT -5. The time now is 06:12 PM.