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 08-30-2004, 09:48 PM   #1
newnewnew
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
Help me - spamassassin


I configure spamassassin with postfix.


####/etc/mail/spamassassin/local.cf #####
required_hits 3
add_header all Level _STARS(X)_
rewrite_subject 1
subject_tag Spam [_HITS_]

#####################################
#####User Rules for testing#########################
#####################################
body LOCAL_DEMONSTRATION_RULE /test/
score LOCAL_DEMONSTRATION_RULE 10
#describe LOCAL_DEMONSTRATION_RULE This is a simple test rule
auto_white_list_path /etc/mail/spamassassign/auto_white_list
auto_whitelist_file_mode 0666


#####/usr/local/bin/sa-filter.sh#################
#!/bin/bash
/usr/local/bin/spamassassin –a | /usr/sbin/sendmail -i "$@"
exit $?


I send a mail (from test1@example.com to test2@example.com)
Subject: test
Body: test

Check mail for test2@example.com, receive a mail from test1@example.com
Mail's header:

X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on Testcomp
X-Spam-Level: XXXXX
X-Spam-Status: Yes, hits=10.9 required=8.0 tests=AWL, FROM_ENDS_IN_NUMS,
LOCAL_DEMONSTRATION_RULE autolearn=no version=2.63


Is my AWL good???? I can't see file /etc/mail/spamassassign/auto_white_list. This file is automatically created or i must create manually????
And how can i add a entry to auto_white_list ????

Thanks
 
Old 09-04-2004, 09:38 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
http://www.linuxquestions.org/questi...der=descending
 
  


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
Help me - spamassassin newnewnew Linux - Software 1 08-30-2004 05:57 AM
spamassassin w/ procmail vs. spamassassin w/sendmail bleunuit Linux - Networking 1 08-01-2004 07:12 AM
Spamassassin bigdogg Fedora 2 04-30-2004 05:21 PM
Spamassassin help! byteZero Linux - Software 3 03-11-2004 02:24 AM
Spamassassin granatica Linux - Software 0 09-04-2003 04:43 PM

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

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