Thanks Andrew. That is perfect. I am not looking to do too much, just filter out some of the more annoying garbage.
Any suggestions for the MI5 Persecution garbage that keeps coming up?
BTW: I am "Joe" in a.o.l.u...
Thanks Andrew. That is perfect. I am not looking to do too much, just filter out some of the more annoying garbage.
Any suggestions for the MI5 Persecution garbage that keeps coming up?
BTW: I am "Joe" in a.o.l.u...
Ubuntu User #19733/Linux User #449481
Hi again Zack,
Or should I say 'Joe' now that your disguise has slipped
Of course the best filtering starts from the server end, which is where once again I spruik for individual.net which rarely lets the MI5 material through.
But for the scorefile I have only 2 very simple rules for MI5:
This is part of a longish chain of filters, hence the '::' mark which means of course that any of the tests can be passed to gain the kill score of -9999.Code:Score:: =-9999 Subject: MI5 Subject: M.I.5.
The first line gives a score of -9999 if the word MI5 appears anywhere in the line. You could make it a little safer by making it instead:
which would score -9999 if MI5 appears at the beginning of the line. Or even more conservative:Code:Subject: ^MI5
would filter for only that phrase, with the $ sign signifying the end of the line and the ^ sign signifying the beginning.Code:Subject: ^MI5 Persecution$
The second rule uses the figure '.' to capture single characters between the letters MI5. Therefore if our spammer writes:
in a deliberate attempt to evade filters this rule would catch this.Code:M*I*5* Persecution
There has been a recent discussion about MI5 filtering on news.software.readers which may interest you. But the real answer is to get a news server that does most of the filtering for you.
All the best,
Andrew
You think that's air you're breathing now?
Not much of a disguise. I had been reading a book where the killer was using this name when I signed up here...
I use giganews, mostly because of their retention times and binaries... Not great filtering, but I figure I can handle most of that myself...Of course the best filtering starts from the server end, which is where once again I spruik for individual.net which rarely lets the MI5 material through.
I am going to add those, and I'll take a look at n.s.r when I get a chance... Thanks again!But for the scorefile I have only 2 very simple rules for MI5:
This is part of a longish chain of filters, hence the '::' mark which means of course that any of the tests can be passed to gain the kill score of -9999.Code:Score:: =-9999 Subject: MI5 Subject: M.I.5.
The first line gives a score of -9999 if the word MI5 appears anywhere in the line. You could make it a little safer by making it instead:
which would score -9999 if MI5 appears at the beginning of the line. Or even more conservative:Code:Subject: ^MI5
would filter for only that phrase, with the $ sign signifying the end of the line and the ^ sign signifying the beginning.Code:Subject: ^MI5 Persecution$
The second rule uses the figure '.' to capture single characters between the letters MI5. Therefore if our spammer writes:
in a deliberate attempt to evade filters this rule would catch this.Code:M*I*5* Persecution
There has been a recent discussion about MI5 filtering on news.software.readers which may interest you. But the real answer is to get a news server that does most of the filtering for you.
Ubuntu User #19733/Linux User #449481
Hi,
I have updated this guide substantially and with the arrival of newer versions in the Ubuntu repositories the compiling material has been removed. Hopefully this will make slrn a little more attractive to new users .
Any problems with the new material please drop me a line here.
Andrew
hi andrew, i tried setting up using slang news reader using this tutorial.......
i just registred with news.motzarella.org, then in file .slrnrc file i completed other process, but when i start slang news reader,
Code:abhilash@abhi:~$ slrn -d slrn 0.9.8.1pl1 [2005-02-17] Reading startup file /etc/news/slrn.rc. Reading startup file /home/abhilash/.slrnrc.slrn fatal error: Unable to find a valid hostname for constructing your e-mail address. You probably want to specify a hostname in your .slrnrc file. Please see the "slrn reference manual" for full details.
Abhilash Muthuraj-views
I always believe that Linux,
"In a world of no walls or fences, we don't need WINDOWS or GATES"
New to Ubuntu??
what is exact error, i don't know why daemon going to my.news.server? how to correct this problem.Code:abhilash@abhi:~$ slrn -d slrn 0.9.8.1pl1 [2005-02-17] Reading startup file /etc/news/slrn.rc. Reading startup file /home/abhilash/.slrnrc.***Warning: Unable to find a unique fully-qualified host name. slrn will not generate any Message-IDs. Please note that the "hostname" setting does not affect this; see the "slrn reference manual" for details. *** Warning: Score file /home/abhilash/News/Score does not exist Using newsrc file /home/abhilash/.jnewsrc for server my.news.server. Connecting to host my.news.server ... Failed to resolve my.news.server Run-Time Error slrn fatal error: Unable to initialize server.
Abhilash Muthuraj-views
I always believe that Linux,
"In a world of no walls or fences, we don't need WINDOWS or GATES"
New to Ubuntu??
Hi abhilashm,
Good to hear from you again . There are a couple of things to fix up here:
This is a fairly ancient version of slrn and I would strongly advise that you update to at least the latest release version. If you are using Hardy Heron as your details indicate the easiest way is to add Thomas Wiegner's repository to your /etc/apt/sources.list as follows:
and then run:Code:deb http://www.foory.de/thw/slrn/ hardy/
and this should get you the latest slrn. Thanks again to Thomas for this service that he provides out of the goodness of his heart.Code:sudo apt-get update && sudo apt-get upgrade
This means that you do not have correct settings in your /etc/hosts file and is a well known enough problem with Ubuntu to have a special entry in the slrn faqs:Code:Reading startup file /etc/news/slrn.rc. Reading startup file /home/abhilash/.slrnrc.***Warning: Unable to find a unique fully-qualified host name. slrn will not generate any Message-IDs. Please note that the "hostname" setting does not affect this; see the "slrn reference manual" for details.
2.2 How can I set my ``Message-ID:'' header?
http://slrn.sourceforge.net/docs/slrn-FAQ-2.html#ss2.2
which will tell you to alter your /etc/hosts file from something like:
to:Code:127.0.0.1 localhost 127.0.1.1 desktop
Taking care to substitute your own details for the settings I have placed in red. Be careful to make a backup of this file before making any alterations.For your own, unique FQDN you have 3 good choices:Code:127.0.0.1 localhost 127.0.1.1 desktop.your.domain desktop
- If you own your own Domain Name use this in conjunction with a subdomain and the hostname of your computer.
- Use a service such as dyndns.org which will give you a domain name for free.
- Use the news service individual.net which will give you a free FQDN.
An easy one . You need to create this file manually, slrn will not create it or you.Code:*** Warning: Score file /home/abhilash/News/Score does not exist
You need to put your default NNTP server in $HOME/.bashrc as described in the guide but you need to substitute your own values for 'my.news.server'.Code:Using newsrc file /home/abhilash/.jnewsrc for server my.news.server. Connecting to host my.news.server ... Failed to resolve my.news.server Run-Time Error slrn fatal error: Unable to initialize server.
I trust this is enough to get you on your way? slrn can be difficult to get going but the investment of time and learning is well worthwhile. Hope to see you on alt.os.linux.ubuntu soon .
Andrew
I have added Thomas's Intrepid repository to the guide. Thanks again Thomas for making this huge contribution!
Andrew
Bookmarks