LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2014, 09:01 PM   #1
dicky238hk
LQ Newbie
 
Registered: Aug 2014
Posts: 18

Rep: Reputation: Disabled
Question spamassassin project idea


Hi,

I am new to Linux, but it is good for me to see what Linux is, how it works, just like when I started to touch what Windows OS was in many years ago.

Checked and found not too much but old information for spamassassin in this community, can I ask anyone has successfully running spamassassin as email spam and share:

I need to setup spamassassin to filter spam email and use procmail to isolate into different folders according the natures of spam and provide further actions such as analysis or reporting under such folders.

Thanks.
 
Old 08-11-2014, 12:57 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by dicky238hk View Post
I need to setup spamassassin to filter spam email
That's the easy part: read at least Spamassassins (SA) documentation once so you know where to look, install the SA package your Linux distribution offers you, configure your Mali Transport Agent (MTA) or Local Delivery Agent (LDA) to use SA. Then test it, check the mail headers in your unprivileged users mailbox for the SA "verdict" and check your MTA or LDA logs. If you get stuck post the steps you took as well as any relevant configuration, log lines and SA mail headers.


Quote:
Originally Posted by dicky238hk View Post
and use procmail to isolate into different folders according the natures of spam
I would strongly advise against doing this unless 0) you have a proper classification rules and 1) somebody will be performing spam analysis around the clock. You already know this will require a Procmail recipe so start by posting your classification rules and at least the (pseudo)code for one recipe.


Quote:
Originally Posted by dicky238hk View Post
and provide further actions such as analysis or reporting under such folders.
For reporting determine if the MTA, LDA and unprivileged users SA logs are enough of if something else is needed and post what steps (external commands) make up this "analysis" you speak of.
 
Old 08-11-2014, 01:23 AM   #3
dicky238hk
LQ Newbie
 
Registered: Aug 2014
Posts: 18

Original Poster
Rep: Reputation: Disabled
Question

Thanks for your help.

Actually I did read the SpamAssassian manual and found when I attempted to setup, a lot of missing packages found and so I need to trace how to install such missing packages before continuing.

When I trace then I found someone said use yum, someone said use rpm or apt-get, someone said better use CPAN, and I got confused.

At last, I think I had installed SpamAssassin by typing: "spamassassin -V" at terminal which is showing SpamAssassin version 3.3.1 running on Perl version 5.8.8

Due to such confusing I start to read "Introduction to Linux - A hands on guide" to understand before continuing to implement procmail (I am doubt procmail is pre-installed)

I am using CentOS 5.5, 32 bits.

Please help to post your reply to assist me.

Many thanks.
 
Old 08-11-2014, 12:31 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by dicky238hk View Post
When I trace then I found someone said use yum, someone said use rpm or apt-get, someone said better use CPAN, and I got confused.
Spamassassin is in the CentOS repo, so 'yum install spamassassin;' should work, however...


Quote:
Originally Posted by dicky238hk View Post
I am using CentOS 5.5, 32 bits.
...you're using an obsolete version. CentOS 5 is at release 10 now and unless you need truly CentOS 5 for compatibility reasons you want to use CentOS 6.5. (BTW, CentOS 7 reached General Availability state, so...)


Quote:
Originally Posted by dicky238hk View Post
Due to such confusing I start to read "Introduction to Linux - A hands on guide" to understand before continuing to implement procmail (I am doubt procmail is pre-installed)
Its always good to read. Procmail is in the CentOS repo too, so 'yum install procmail;' will work.
 
Old 08-12-2014, 02:13 AM   #5
dicky238hk
LQ Newbie
 
Registered: Aug 2014
Posts: 18

Original Poster
Rep: Reputation: Disabled
Smile

Thanks Reply.

I think better I start again from CentOS 7
 
  


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
shellScript Project Idea reza_zah1991 Programming 6 08-03-2013 06:40 PM
New Project Idea needed Gracy Linux - Newbie 4 11-11-2005 04:42 AM
Difficulties about my project idea kuldeep_kap Programming 9 09-27-2005 02:15 PM
Difficulties about my project idea kuldeep_kap Linux - General 1 09-24-2005 12:24 PM
Idea for a project with linux(es) - What's possible? kanzure Linux - Newbie 1 03-14-2004 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:41 AM.

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