<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://studioware.com/wikislax/index.php?action=history&amp;feed=atom&amp;title=Sucknews</id>
		<title>Sucknews - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://studioware.com/wikislax/index.php?action=history&amp;feed=atom&amp;title=Sucknews"/>
		<link rel="alternate" type="text/html" href="http://studioware.com/wikislax/index.php?title=Sucknews&amp;action=history"/>
		<updated>2026-05-07T15:22:09Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.2</generator>

	<entry>
		<id>http://studioware.com/wikislax/index.php?title=Sucknews&amp;diff=59&amp;oldid=prev</id>
		<title>Wikislax: /* Installing Sucknews */</title>
		<link rel="alternate" type="text/html" href="http://studioware.com/wikislax/index.php?title=Sucknews&amp;diff=59&amp;oldid=prev"/>
				<updated>2018-07-07T04:41:59Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Installing Sucknews&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 04:41, 7 July 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Installing Sucknews ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Installing Sucknews ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There was a time when sucknews was available from [http://www.sucknews.org sucknews.org] but this site has disappeared and there seems to be no obvious source of sucknews update software so we'll stick with an old [{{SERVER}}/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;slax&lt;/del&gt;/download/suck-4.3.2.tar.gz version] (perfectly satisfactory anyway). Untar and install as below :&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There was a time when sucknews was available from [http://www.sucknews.org sucknews.org] but this site has disappeared and there seems to be no obvious source of sucknews update software so we'll stick with an old [{{SERVER}}/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;wikislax&lt;/ins&gt;/download/suck-4.3.2.tar.gz version] (perfectly satisfactory anyway). Untar and install as below :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # tar -C /usr/local -xvf suck-x.y.z.tar.gz&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # tar -C /usr/local -xvf suck-x.y.z.tar.gz&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wikislax</name></author>	</entry>

	<entry>
		<id>http://studioware.com/wikislax/index.php?title=Sucknews&amp;diff=39&amp;oldid=prev</id>
		<title>Wikislax: Created page with &quot;{{RightTOC}}  == What is Sucknews ? ==  Sucknews affords getting the newsfeeds over a regular NNTP connection with your Internet Service Provider. This comes in handy when you...&quot;</title>
		<link rel="alternate" type="text/html" href="http://studioware.com/wikislax/index.php?title=Sucknews&amp;diff=39&amp;oldid=prev"/>
				<updated>2017-12-06T21:35:56Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{RightTOC}}  == What is Sucknews ? ==  Sucknews affords getting the newsfeeds over a regular NNTP connection with your Internet Service Provider. This comes in handy when you...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{RightTOC}}&lt;br /&gt;
&lt;br /&gt;
== What is Sucknews ? ==&lt;br /&gt;
&lt;br /&gt;
Sucknews affords getting the newsfeeds over a regular NNTP connection with your Internet Service Provider. This comes in handy when you are not a big company and have no agreements with peer Newsgroup servers.&lt;br /&gt;
&lt;br /&gt;
== Installing Sucknews ==&lt;br /&gt;
&lt;br /&gt;
There was a time when sucknews was available from [http://www.sucknews.org sucknews.org] but this site has disappeared and there seems to be no obvious source of sucknews update software so we'll stick with an old [{{SERVER}}/slax/download/suck-4.3.2.tar.gz version] (perfectly satisfactory anyway). Untar and install as below :&lt;br /&gt;
&lt;br /&gt;
 # tar -C /usr/local -xvf suck-x.y.z.tar.gz&lt;br /&gt;
 # cd /usr/local&lt;br /&gt;
 # chown -R root:root suck-x.y.z.tar.gz&lt;br /&gt;
 # cd suck-x.y.z.tar.gz&lt;br /&gt;
 # ./configure --help | less&lt;br /&gt;
 # ./configure --prefix=/usr/local/news --libdir=/usr/local/news/lib64 --mandir=/usr/local/man \&lt;br /&gt;
 --with-inn-lib=/usr/local/news/lib --with-inn-include=/usr/local/news/include --with-perl-exe=/usr/bin&lt;br /&gt;
 # make&lt;br /&gt;
 # make install&lt;br /&gt;
 # make clean&lt;br /&gt;
 # cd /usr/local/news/bin&lt;br /&gt;
 # chown &amp;lt;nowiki&amp;gt;news:news&amp;lt;/nowiki&amp;gt; lmove rpost suck testhost&lt;br /&gt;
&lt;br /&gt;
== Running Sucknews ==&lt;br /&gt;
&lt;br /&gt;
The below script affords posting the local messages and get entering messages on your Internet Service Provider site :&lt;br /&gt;
&lt;br /&gt;
 # su news&lt;br /&gt;
 $ cd /usr/local/news/bin&lt;br /&gt;
 $ '''vi suck.sh'''&lt;br /&gt;
 '''i'''&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 NNTP_SERVER=news.free.fr&lt;br /&gt;
 NEWS_PATH=/usr/local/news&lt;br /&gt;
 BIN_PATH=/usr/local/news/bin&lt;br /&gt;
 SUCK_PATH=/usr/local/news/bin&lt;br /&gt;
 BATCH_PATH=/usr/local/news/spool/outgoing/free&lt;br /&gt;
 FILTER_PATH=$SUCK_PATH/filter.sh&lt;br /&gt;
 &lt;br /&gt;
 cd $SUCK_PATH&lt;br /&gt;
 &lt;br /&gt;
 ######################################################&lt;br /&gt;
 # posting outgoing articles (localhost-&amp;gt;NNTP_SERVER) #&lt;br /&gt;
 ######################################################&lt;br /&gt;
 &lt;br /&gt;
 echo &amp;quot;Sending articles...&amp;quot;&lt;br /&gt;
 if test -s $BATCH_PATH&lt;br /&gt;
 then&lt;br /&gt;
 $BIN_PATH/rpost $NNTP_SERVER -b $BATCH_PATH \&lt;br /&gt;
     -f $FILTER_PATH \$\$o=/tmp/filtered \$\$i /tmp/filtered&lt;br /&gt;
 else&lt;br /&gt;
     echo &amp;quot;No articles to post...&amp;quot;&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 ######################################################&lt;br /&gt;
 # getting incoming articles (NNTP_SERVER-&amp;gt;localhost) #&lt;br /&gt;
 ######################################################&lt;br /&gt;
 &lt;br /&gt;
 echo Getting articles...&lt;br /&gt;
 if [ -e /tmp/newposts ]; then&lt;br /&gt;
     rm /tmp/newposts&lt;br /&gt;
 fi&lt;br /&gt;
 $BIN_PATH/suck $NNTP_SERVER -AL $NEWS_PATH/db/active -i 0 -n -H -K -br /tmp/newposts -c&lt;br /&gt;
 if [ -e /tmp/newposts ]; then&lt;br /&gt;
     $BIN_PATH/rnews /tmp/newposts&lt;br /&gt;
 fi&lt;br /&gt;
 cat /dev/null &amp;gt; $BATCH_PATH&lt;br /&gt;
 '''&amp;lt;esc&amp;gt;'''&lt;br /&gt;
 ''':x'''&lt;br /&gt;
 $ chmod u+x suck.sh&lt;br /&gt;
 $ ./suck.sh&lt;br /&gt;
 Sending articles...&lt;br /&gt;
 No articles to post...&lt;br /&gt;
 Getting articles...&lt;br /&gt;
 Attempting to connect to news.free.fr&lt;br /&gt;
 Using Port 119&lt;br /&gt;
 Official host name: news.free.fr&lt;br /&gt;
 Address: 212.27.60.38&lt;br /&gt;
 Address: 212.27.60.39&lt;br /&gt;
 Address: 212.27.60.37&lt;br /&gt;
 Address: 212.27.60.40&lt;br /&gt;
 Connected to news.free.fr&lt;br /&gt;
 200 news-4.free.fr (4-2) NNRP Service Ready - newsmaster@proxad.net (posting ok)&lt;br /&gt;
 No sucknewsrc to read, creating&lt;br /&gt;
 Adding new groups from local active file to sucknewsrc&lt;br /&gt;
 New Group - adding to sucknewsrc: control&lt;br /&gt;
 control - 1 articles 3983-3983&lt;br /&gt;
 New Group - adding to sucknewsrc: control.cancel&lt;br /&gt;
 control.cancel - 349 articles 94271852-94272200&lt;br /&gt;
 New Group - adding to sucknewsrc: control.checkgroups&lt;br /&gt;
 control.checkgroups - 4 articles 5228-5231&lt;br /&gt;
 New Group - adding to sucknewsrc: control.newgroup&lt;br /&gt;
 control.newgroup - 1 articles 73186-73186&lt;br /&gt;
 New Group - adding to sucknewsrc: control.rmgroup&lt;br /&gt;
 control.rmgroup - 1 articles 30996-30996&lt;br /&gt;
 New Group - adding to sucknewsrc: junk&lt;br /&gt;
 junk - 1 articles 38322-38322&lt;br /&gt;
 New Group - adding to sucknewsrc: alt.os.linux.slackware&lt;br /&gt;
 alt.os.linux.slackware - 1907 articles 231211-233117&lt;br /&gt;
 Elapsed Time = 0 mins 0.72 seconds&lt;br /&gt;
 2227 Articles to download&lt;br /&gt;
 Deduping Elapsed Time = 0 mins 0.00 seconds&lt;br /&gt;
 Deduped, 2227 items remaining, 0 dupes removed.&lt;br /&gt;
 Total articles to download: 2227&lt;br /&gt;
 5290946 Bytes received in 1 mins 20.79 secs, BPS = 65489.2&lt;br /&gt;
 Closed connection to news.free.fr&lt;br /&gt;
 Building RNews Batch File(s)&lt;br /&gt;
 Cleaning up after myself&lt;br /&gt;
 news@inner:/usr/local/news/bin$&lt;br /&gt;
 &amp;lt;ctrl&amp;gt;d&lt;br /&gt;
 #&lt;br /&gt;
&lt;br /&gt;
In the first part, messages are posted to the provider using '''rpost'''. The list of articles is obtained from the information contained in newsfeed file '''/usr/local/news/spool/outgoing/free'''. The '''-f''' option affords applying a filter to the messages so as to expurge certain headers :&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 /usr/local/news/bin/sm -R $1 | sed -e &amp;quot;/^X-Trace/d&amp;quot; -e &amp;quot;/^NNTP-Posting-Host/d&amp;quot; \&lt;br /&gt;
 -e &amp;quot;/^Xref/d&amp;quot; -e &amp;quot;/^X-Complaints-To/d&amp;quot; -e &amp;quot;/^NNTP-Posting-Date/d&amp;quot; &amp;gt; $2&lt;br /&gt;
&lt;br /&gt;
In the second part, suck gets the messages from your Internet Service Provider. The '''-AL''' option affords using the list of groups defined. '''-i 0''' indicates that there is no limit on the number of messages to get, '''-n''' is for the mode « messages identified by their numbers by the provider » '''-c''' is to update the numbers after the end of the operation, '''-br''' defines the output file, '''-H''' and '''-K''' afford skipping the historic and killfile options. The file written is afterwards used by '''rnews'''. The articles are then available.&lt;br /&gt;
&lt;br /&gt;
== Automating Sucknews ==&lt;br /&gt;
&lt;br /&gt;
Automate Sucknews execution using '''crontab'''. In the example below, suck.sh is executed at 13:00 daily :&lt;br /&gt;
&lt;br /&gt;
 # su news&lt;br /&gt;
 $ crontab -e&lt;br /&gt;
 # MIN HOUR DAY MONTH DAYOFWEEK COMMAND&lt;br /&gt;
 00 13 * * * /usr/local/news/bin/suck.sh&lt;br /&gt;
 30 13 * * * /usr/local/news/bin/news.daily expireover lowmark&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{pFoot|[[INN]]|[[Main Page]]|[[Asterisk]]}}&lt;/div&gt;</summary>
		<author><name>Wikislax</name></author>	</entry>

	</feed>