yeah, sounds too good to be true :)
yeah, sounds too good to be true :)
Thank you all again for your help and suggestions
I have installed spamassassin on my Linuxbox and am using sendmail. Users on my Linux box still get spam . Is there anything I need to add to my sendmail.cf file or local.cf file in /etc/mail/spamassassin
Have you set up procmail to filter the mails through spamassassin? If not, add this to your /etc/procmailrc:
Please note, though, that spamassassin doesn't remove spam mails, it only tags them.Code:
Thanks for your quick response as ever .. I have this in my procmailrc. I am pasting the procmailrc file here for reference
$ more procmailrc
# SpamAssassin sample procmailrc
# Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc'
# if you use the spamc/spamd combination)
# The condition line ensures that only messages smaller than 250 kB
# (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam
# isn't bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
#* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
#* ^X-Spam-Status: Yes
Also the daemon spamd is running.
Still all the users keep getting SPAM. Can you please explain to me what I should be doing in order to prevent the users getting SPAM
Could it be that you have a firewall blocking spamd (it's using TCP between spamc and spamd)? It's running on port 783, I believe.
Have you tried running spamc manually to if that works?
I have installed spamassassin as mentioned earlier.But till date am
unable to prevent spam entering users' mailboxes.. I have configured
/etc/procmailrc . The file I have already posted on the forum earlier.
I am not sure if anything else needs to be done. I need a site wide
configuration. I mean the spam for all the users should be marked
and sent to some particular folder which I can later remove or can
automate a cron job to do so once in 2 days but the SPAM is not
getting captured. The clients use pop . Do I need to do anythng
on the client side , I mean the mail application side (outlook or net
How do I force all the SPAM coming to all users to go to a folder or
say going to every users home directory in a particular folder ?
I would like to know once spamassassin starts working what exactly
does it do to SPAM ? I know it tags it based on some weights but
what after that . Does it remove it or put the tagged SPAM in a folder
IF so in which folder. Do we need to configure any such thing
Any help is highly appreciated
The spamassassin is working now...I had to edit local.cf file and give the location of the SPAM folder in /etc/procmailrc
I have spamassassin working for entire site..Still some users do get some spam. I tried the following
Added a .procmailrc file as under to one of the users' home directory
SHELL=/usr/bin/sh # Bourne shell
# Pipe the mail through spamassassin
# All mail tagged as spam
* ^X-Spam-Status: Yes
Isnt this correct.. I do not see anything in /tmp/xx
DO I need to do anything else.. I mean for the site wide configuration it reads the file local.cf and performs a redirect of SPAM to /tmp/SPAM
but for an idividual user this isnt working if i redirect the spam to /tmp/xx/SPAM
Pls let me know if anyone knows what else needs to be done.
Thanks in advance
I don't know exactly what the problem is, but did you check your logs?