Linux - SoftwareThis 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
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'm running Slack9.1 as a mail and web server and things have been going quite nicely since moving from RedHat...
I've installed Spamassassin, not the easiest of tasks, but managed to get it intalled, but that is about it, I'm at a loss.
I need to know how to get it running, do I need to create an entry in /etc/rc.d ?
I have the following files:
spamassassin
spamd
spamc
all located here: /usr/bin/ (all executable)
I've ready that you run it from Procmail, but I am not 100% sure if I am using this, as there is no /etc/procmailrc file, nor is there any .procmailrc files for any of my users.
However, when I built my sendmail.cf file the sendmail.mc file contained the following 3 lines at the bottom of the configuration file:
I'm however of the understanding that it if there is no procmail configuration files, either system wide or on a per user basis, then sendmail will deliver mail to the users default mail box.
All help and pointers would be greatly appreciated, as I am currently receiving in excess of 1000 SPAM e-mails per day and it is really getting beyond a joke.
You need to start up spamd when the system starts. Then you need to call spamc from within your procmail script, or you can set up a Sendmail milter to call spamc whenever mail is received. This is useful in vhosting environments where users don't have home directories or procmail files, but not the easiest thing to get set up. For you, probably just running out of your .procmailrc will be fine. I found a nice guide with a lot of details for getting this all set up at http://www.stearns.org/doc/spamassas...p.current.html -- hopefully it will come in handy for you.
got it working, for the benifit of others heres what I did.
Obviously get it downloaded and installed.
I added the following to each users .procmailrc file
:0 fw: spamc.lock
* < 256000
| /usr/bin/spamc -f
You can use a system wide .procmailrc file, which I think would reside in /etc/ but as I do not wish to have Spam Checking for all users, I opted to go for this method.
There are a few websites that explain the purpose of the above text file.
I added the following command to start the spamd (spamdaemon) in an /etc/rc.d file:
I chose to include this with the rc.sendmail file in order to start/stop/reset spamd with sendmail
/usr/bin/spamd -c -d (this starts the spam assassin daemon)
There is one more file I modfied for each applicable user, this is located at /home/USER/.spamassassin/user_prefs
Here you can adjust spamassassin to suit each users requirements.
All in all, I am finding my setup to suit my purposes, there are obviously other applicable files, but the steps mentioned above, were what caught me out.
If you want to use procmail thats fine but you can use spamassassin with about anything else out there (kmail,sylpheed,evolution and the likes) much easier.
Wasn't really about choice, but rather, it seemed easier to me to do it this way. As I wised to do it on a per user basis, then it seemed only to be a matter of ading a .procmailrc to each users dir.
It is certainly making my life much, much easier...
Originally posted by crashmeister If you want to use procmail thats fine but you can use spamassassin with about anything else out there (kmail,sylpheed,evolution and the likes) much easier.
I would like to use spamassassin with evolution, cannot find information on configuring spamassassin with Evolution 2.0 and would appreciate assistance in configuring spamassassin to work on only one system.
Mandrake 10.1
Evolution 2.0.3
Spamassassin 3.0
I have marked email as Junk, and it appears in the Junk folder for Evolution, but I am not sure that it is running correctly. I have go to /home/mydirectory/.spamassassin and I changed the default to 5 for filtering, and spamassassin is running. I ran the commands
spamassassin -D --lint < sample-spam.txt and spamassassin < sample-spam.txt
but there was no result for either command. I cannot find any configuration assistance for using spamassassin for junk mail as a stand-alone client for Evolution 2.0.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.