Welcome to the most active Linux Forum on the web.
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 07-02-2004, 10:56 AM   #1
Registered: Mar 2003
Posts: 36

Rep: Reputation: 16
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.
Old 07-02-2004, 04:15 PM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
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

Last edited by foo_bar_foo; 07-02-2004 at 05:40 PM.
Old 01-10-2005, 02:31 AM   #3
LQ Newbie
Registered: Dec 2004
Location: Singapore
Distribution: redhat, fedora, centos, debian, ubuntu
Posts: 20

Rep: Reputation: 0

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

Old 01-26-2005, 09:40 PM   #4
Registered: Mar 2003
Posts: 36

Original Poster
Rep: Reputation: 16
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.


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
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 08:01 PM
Spamassassin using vpopmail/qmail/courier-imap config issues korozion Linux - Software 0 03-14-2005 05:29 PM
Courier-imap+spamassassin+maildrop jriis Debian 1 03-08-2005 04:48 PM
Configuring courier-imap courier-pop redsky Linux - Software 0 06-01-2004 01:06 PM
Courier > Procmail > Courier problem bowker Linux - Software 0 03-14-2004 06:57 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration