LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-02-2004, 09:56 AM   #1
Savahn
Member
 
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:

DEFAULT=$HOME/Maildir/
MAILDIR=$HOME/Maildir
PMDIR=$HOME/.procmail
SHELL=/bin/sh
DROPPRIVS=YES
SPAM=$HOME/Maildir/.Spam/
VERBOSE=YES

:0fw
| /usr/bin/spamc -f
:0
* ^X-Spam-Status: Yes
$SPAM

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 local.cf 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
ok_locales
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, 03:15 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
Hi,
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
use
Code:
* ^X-Spam-Status: Yes
$MAILDIR.Spam/



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

Rep: Reputation: 0
Hi!

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

http://www.linuxquestions.org/questi...16#post1398316

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

best regards

james
 
Old 01-26-2005, 08:40 PM   #4
Savahn
Member
 
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.
 
  


Reply



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 07:01 PM
Spamassassin using vpopmail/qmail/courier-imap config issues korozion Linux - Software 0 03-14-2005 04:29 PM
Courier-imap+spamassassin+maildrop jriis Debian 1 03-08-2005 03:48 PM
Configuring courier-imap courier-pop redsky Linux - Software 0 06-01-2004 12:06 PM
Courier > Procmail > Courier problem bowker Linux - Software 0 03-14-2004 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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