LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-16-2006, 02:44 AM   #1
Ammad
Member
 
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 522

Rep: Reputation: 31
spamassassin


how do i define rule and where in spamassassin to delete mail having rate more than 7. i am geeting to much spam, while using dnsrbl. 2 mails per second.
i am using sendmail, redhat as4.

thanks
 
Old 10-16-2006, 02:49 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it's not spamassassins job to actually delete spam, just recognise it. personally i use postfix to run mail via spamassassin and deliver to procmail. procmail then read the spam rating on it and delete's it. if you just use procmail with sendmail you can easily do the same, there are of course many many ways to do this sort of thing and this is just the way i do it (this week)
 
Old 10-16-2006, 04:18 AM   #3
Ammad
Member
 
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 522

Original Poster
Rep: Reputation: 31
i know that. i marked each spam mail as ***SPAM*** now i wnat to delete it, without using ".procmailrc". how do i define it in /etc/procmail
current /etc/procmail

:0fw
| /usr/bin/spamc


now whats should i do more to delete rated spam mails
in /etc/procmail
 
Old 10-16-2006, 05:13 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
There are 3 ways to do what you want, that are discussed here

Cheers
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help with spamassassin andybrr Linux - Software 4 09-19-2006 10:23 PM
spamassassin w/ procmail vs. spamassassin w/sendmail bleunuit Linux - Networking 1 08-01-2004 07:12 AM
Spamassassin bigdogg Fedora 2 04-30-2004 05:21 PM
Spamassassin granatica Linux - Software 0 09-04-2003 04:43 PM
Spamassassin help iBool Linux - Software 6 07-22-2003 07:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration