LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 11-26-2007, 01:08 AM   #1
sachin1361
Member
 
Registered: Feb 2007
Posts: 126

Rep: Reputation: 15
spamassassin


Hi to All,

we are working on RHEL-5 where sendmail is configured as our mail server.We were facing a lots of problems with spams .So we planned to use spamassassin .I want all mails having SPAM word in mails will be directed to user's junk folder in Outlook.So I modifed my /etc/mail/spamassassin/spamassassin-spam.rc file as :

DROPPRIVS=yes
:0fw
| /usr/bin/spamc
:0
* ^X-Spam-Status: Yes
$HOME/junk

# vi /etc/mail/spamassassin/local.cf
required_hits 5
report_safe 0
rewrite_header_subject [SPAM]

this is the only configuration which I did.

But still , mails having spam word is going to Inbox, not junk folder.

Please help me what more additional configurations are required for spamassassin to work?
 
Old 11-30-2007, 01:23 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Try this:
Code:
DROPPRIVS=yes
 :0fw: spamc.lock
 * < 56000
 | /usr/bin/spamc
:0
* ^X-Spam-Status: Yes
$HOME/junk

Last edited by bigrigdriver; 11-30-2007 at 01:25 PM.
 
  


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
Why spamassassin went down??? ZAMO Linux - Server 2 06-13-2007 04:48 AM
spamassassin w/ procmail vs. spamassassin w/sendmail bleunuit Linux - Networking 1 08-01-2004 07:12 AM
Spamassassin VincentB Linux - Newbie 0 02-29-2004 07:20 AM
Spamassassin granatica Linux - Software 0 09-04-2003 04:43 PM
Spamassassin help iBool Linux - Software 6 07-22-2003 07:07 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 08:06 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