Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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
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.
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)
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
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.