Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: HOWTO: Setup slrn

  1. #11
    Join Date
    May 2007
    Location
    Western New York
    Beans
    275
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Setup slrn

    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

  2. #12
    Join Date
    Dec 2006
    Beans
    7,082

    Re: HOWTO: Setup slrn

    Hi again Zack,

    Or should I say 'Joe' now that your disguise has slipped

    Quote Originally Posted by Zack McCool View Post
    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...
    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:

    Code:
         Score:: =-9999
         Subject: MI5
         Subject: M.I.5.
    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.

    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:

    Code:
         Subject: ^MI5
    which would score -9999 if MI5 appears at the beginning of the line. Or even more conservative:

    Code:
    Subject: ^MI5 Persecution$
    would filter for only that phrase, with the $ sign signifying the end of the line and the ^ sign signifying the beginning.

    The second rule uses the figure '.' to capture single characters between the letters MI5. Therefore if our spammer writes:

    Code:
    M*I*5* Persecution
    in a deliberate attempt to evade filters this rule would catch this.

    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?

  3. #13
    Join Date
    May 2007
    Location
    Western New York
    Beans
    275
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Setup slrn

    Quote Originally Posted by andrew.46 View Post
    Hi again Zack,

    Or should I say 'Joe' now that your disguise has slipped
    Not much of a disguise. I had been reading a book where the killer was using this name when I signed up here...

    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 use giganews, mostly because of their retention times and binaries... Not great filtering, but I figure I can handle most of that myself...

    But for the scorefile I have only 2 very simple rules for MI5:

    Code:
         Score:: =-9999
         Subject: MI5
         Subject: M.I.5.
    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.

    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:

    Code:
         Subject: ^MI5
    which would score -9999 if MI5 appears at the beginning of the line. Or even more conservative:

    Code:
    Subject: ^MI5 Persecution$
    would filter for only that phrase, with the $ sign signifying the end of the line and the ^ sign signifying the beginning.

    The second rule uses the figure '.' to capture single characters between the letters MI5. Therefore if our spammer writes:

    Code:
    M*I*5* Persecution
    in a deliberate attempt to evade filters this rule would catch this.

    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.
    I am going to add those, and I'll take a look at n.s.r when I get a chance... Thanks again!
    Ubuntu User #19733/Linux User #449481

  4. #14
    Join Date
    Dec 2006
    Beans
    7,082

    Re: HOWTO: Setup slrn

    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

  5. #15
    Join Date
    Sep 2008
    Location
    Bangalore,India
    Beans
    982
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Setup slrn

    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??

  6. #16
    Join Date
    Sep 2008
    Location
    Bangalore,India
    Beans
    982
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Setup slrn

    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.
    what is exact error, i don't know why daemon going to my.news.server? how to correct this problem.
    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??

  7. #17
    Join Date
    Dec 2006
    Beans
    7,082

    Re: HOWTO: Setup slrn

    Hi abhilashm,

    Good to hear from you again . There are a couple of things to fix up here:

    Quote Originally Posted by abhilashm86 View Post
    Code:
    abhilash@abhi:~$ slrn -d
    slrn 0.9.8.1pl1 [2005-02-17]
    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:

    Code:
    deb http://www.foory.de/thw/slrn/ hardy/
    and then run:

    Code:
    sudo apt-get update && sudo apt-get upgrade
    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:
    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.
    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:

    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:

    Code:
            127.0.0.1       localhost
            127.0.1.1       desktop
    to:

    Code:
            127.0.0.1       localhost
            127.0.1.1       desktop.your.domain     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:

    1. If you own your own Domain Name use this in conjunction with a subdomain and the hostname of your computer.
    2. Use a service such as dyndns.org which will give you a domain name for free.
    3. Use the news service individual.net which will give you a free FQDN.


    Code:
    *** Warning: Score file /home/abhilash/News/Score does not exist
    An easy one . You need to create this file manually, slrn will not create it or you.

    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.
    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'.

    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

  8. #18
    Join Date
    Dec 2006
    Beans
    7,082

    Re: HOWTO: Setup slrn

    I have added Thomas's Intrepid repository to the guide. Thanks again Thomas for making this huge contribution!

    Andrew

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •