Results 11 to 19 of 19
yeah, sounds too good to be true...
- 05-20-2003 #11Linux User
- Join Date
- Feb 2003
- Location
- Norway, Asker
- Posts
- 267
yeah, sounds too good to be true
- 06-02-2003 #12Just Joined!
- Join Date
- May 2003
- Location
- Los Angeles
- Posts
- 34
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
Thanks
K
- 06-02-2003 #13Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
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::0fw |/usr/bin/spamassassin
- 06-02-2003 #14Just Joined!
- Join Date
- May 2003
- Location
- Los Angeles
- Posts
- 34
Hello Dolda2000
Thanks for your quick response as ever .. I have this in my procmailrc. I am pasting the procmailrc file here for reference
$ more procmailrc
DROPPRIVS=yes
# 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.
:0fw
* <250000
| spamc
# 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.)
#:0:
#* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
#almost-certainly-spam
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
#:0:
#* ^X-Spam-Status: Yes
#probably-spam
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
Thanks
K
- 06-03-2003 #15Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
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?
- 06-12-2003 #16Just Joined!
- Join Date
- May 2003
- Location
- Los Angeles
- Posts
- 34
Hello
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
scape )?
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
Thanks
K
- 06-12-2003 #17Just Joined!
- Join Date
- May 2003
- Location
- Los Angeles
- Posts
- 34
Hello all,
The spamassassin is working now...I had to edit local.cf file and give the location of the SPAM folder in /etc/procmailrc
Thanks
K
- 06-24-2003 #18Just Joined!
- Join Date
- May 2003
- Location
- Los Angeles
- Posts
- 34
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
# Preliminaries
SHELL=/usr/bin/sh # Bourne shell
# Pipe the mail through spamassassin
:0fw
| spamc
# All mail tagged as spam
:0:
* ^X-Spam-Status: Yes
/tmp/xx/SPAM
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
K
- 06-24-2003 #19Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
I don't know exactly what the problem is, but did you check your logs?


Reply With Quote