Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Security
Reload this Page Anti spam for Linux
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Security Discussion about keeping your machines secure, and the crackers out.

Reply
 
Thread Tools Display Modes
Old 05-20-2003   #11 (permalink)
Linux User
 
Join Date: Feb 2003
Location: Norway, Asker
Posts: 267
Send a message via ICQ to l_Kriss
yeah, sounds too good to be true
l_Kriss is offline   Reply With Quote
Old 06-02-2003   #12 (permalink)
Just 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
k007 is offline   Reply With Quote
Old 06-02-2003   #13 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,575
Have you set up procmail to filter the mails through spamassassin? If not, add this to your /etc/procmailrc:
Code:
:0fw
|/usr/bin/spamassassin
Please note, though, that spamassassin doesn't remove spam mails, it only tags them.
Dolda2000 is offline   Reply With Quote
Old 06-02-2003   #14 (permalink)
Just 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
k007 is offline   Reply With Quote
Old 06-03-2003   #15 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,575
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?
Dolda2000 is offline   Reply With Quote
Old 06-12-2003   #16 (permalink)
Just 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
k007 is offline   Reply With Quote
Old 06-12-2003   #17 (permalink)
Just 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
k007 is offline   Reply With Quote
Old 06-24-2003   #18 (permalink)
Just 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
k007 is offline   Reply With Quote
Old 06-24-2003   #19 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,575
I don't know exactly what the problem is, but did you check your logs?
Dolda2000 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 05:31 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0