Linux Blog by batjorge.com
This is a quick How To:

### Setup an INN2 Usenet News Server with cleanfeed (OS: Debian 9) ###

Requirements:
+ 2 machines with some cpu, ram, space and maybe network!

## Partition Layout

# Server 1 'news.batjorge.com'
256G /var/spool/news reiserfs
50G /var/lib/news ext4

# Server 2 'news-feed1.batjorge.com'
373G /var/spool/news reiserfs
125G /var/lib/news ext4
50G /etc/news


## Setup 'news.batjorge.com'

~$ apt update
~$ apt install inn2
~$ cd /etc/news



inn.conf 'news.batjorge.com'

	organization:                "news.batjorge.com"
	pathhost:                    news-es.batjorge.com
	artcutoff:                   9999
	htmlstatus:                  true



expire.tcl 'news.batjorge.com'

/remember/:9999
es.*:A:never:never:never
esp.*:A:never:never:never
news.lists.filters:A:1:3:never
news.admin.net-abuse.email:A:1:3:never


## Setup 'news-feed1.batjorge.com'
inn.conf 'news-feed1.batjorge.com'

	organization:                "news.batjorge.com"
	pathhost:                    news-feed1.batjorge.com
	artcutoff:                   3
        htmlstatus:                  true

	port:                        433
	msgidcachesize:              64000
	noreader:                    true


expire.tcl 'news-feed1.batjorge.com'

/remember/:4
*:A:1:2:never




incoming.conf 'news-feed1.batjorge.com'

peer ME {
	hostname:	"news-feed1.batjorge.com, 192.168.0.119, 10.169.192.120, fd42:2788:e840:b5b7::120, fdfd:119:119:119::0:119"
}


peer suck-feed.batjorge.com {
	hostname:	"suck-feed.batjorge.com, 192.168.0.250"
}

peer news-es.batjorge.com {
	hostname:	"news-es.batjorge.com, fdfd:119:119:119::1:119, 192.168.0.158"
}




innfeed.conf 'news-feed1.batjorge.com'

peer suck-feed.batjorge.com {
        ip-name:                suck-feed.batjorge.com
        port-number:            433
        max-connections:        8
}

peer news-es.batjorge.com {
        ip-name:                news-es.batjorge.com
        port-number:            433
        max-connections:        8
}



newsfeeds 'news-feed1.batjorge.com'

controlchan!\
        :!*,control,control.*,!control.cancel\
        :AC,Tc,Wnsm:/usr/lib/news/bin/controlchan


innfeed!\
        :!*\
        :Tc,Wnm*:/usr/lib/news/bin/innfeed

$TOBATJORGE=\
	at.*,comp.*,de.*,dk.*,es.*,esp.*,fr.*,free.*,gmane.*,humanities.*,it.*,linux.*,misc.*,news.*,rec.*,sci.*,soc.*,talk.*

news-es.batjorge.com/news-es.batjorge.com\
        :$TOBATJORGE,$NOBIN/!local\
        :Ap,Tm,<1000000:innfeed!