#------------------------------------------------------------------------------ # part of the sn-package for EIS/FAIR # configfile # last update: 2003/09/10 # (c) 2001-2003 by Christian Würdig (eisfair@chriswue.de) #------------------------------------------------------------------------------ # complete doku: /usr/share/doc/news/sn.txt #------------------------------------------------------------------------------ # misc #------------------------------------------------------------------------------ START_SN='yes' # Activate the Newsserver in xinetd? SN_FQDN='' # FQDN-part of MessageID SN_CLEAR_LOGS='no' # Clear log's at boot-time? SN_REQ_NEW_GROUPS='yes' # Scan for new groups on external server(s)? #------------------------------------------------------------------------------ # access #------------------------------------------------------------------------------ SN_ALLOW_HOSTS_N='1' # number of allowed hosts SN_ALLOW_HOST_1='localhost' # allow access for localhost SN_ALLOW_HOST_2='192.168.5.2' # allow access for host with IP 192.168.5.2 SN_ALLOW_HOST_3='192.168.6.0/24' # allow access for all host with the IP # 192.168.6.x SN_USER_N='0' # number of allowed users SN_USER_1='foo bar' # user 'foo' has password 'bar' SN_USER_2='baz 0815' # user 'baz' has password '0815' #------------------------------------------------------------------------------ # logs #------------------------------------------------------------------------------ SN_LOG_DIR='/var/log/sn' # directory for the logfiles SN_FETCH_LOG='snfetch.log' # log for snfetch SN_NNTPD_LOG='snntpd.log' # log for postings SN_DB_LOG='sndb.log' # log for database actions SN_CONF_LOG='snconf.log' # log for configuration actions SN_ADMIN='snadmin.log' # destination for administrative messages # read the doku for whole syntax #------------------------------------------------------------------------------ # contact behavior #------------------------------------------------------------------------------ SN_FETCH_MODE='manual' # how to get the news # read the doku for whole syntax SN_FETCH_TIMES_N='0' # number of cronjobs SN_FETCH_TIMES_1='*/30 * * * *' # fetch news every 30 minutes (cron entry) # only used if SN_FETCH_MODE='auto' SN_FETCH_CONNECTS='2' # number of simultaneous connects to external # newsserver SN_WAIT_PORT='20000' # wait on port 20000 for message 'ONLINE' # only used if SN_FETCH_MODE='wait' # read the doku for more information SN_WAIT_ALLOW='localhost' # accept connect on port SN_WAIT_PORT only # from this host (localhost) # only used if SN_FETCH_MODE='wait' # read the doku for more information #------------------------------------------------------------------------------ # general settings for newsgroups #------------------------------------------------------------------------------ SN_GENERAL_N='1' # how many different settings for subscribed # groups; they will be applied in the given # order SN_GENERAL_GROUP_1='.*' # select all groups matching this regex SN_GENERAL_EXPIRETIME_1='1m' # kill articles older than 1 month SN_GENERAL_MAXARTICLES_1='200' # fetch not more than 200 articles per group SN_GENERAL_STATUS_1='rw' # rw - read-write, ro - read-only #------------------------------------------------------------------------------ # settings for moderated newsgroups #------------------------------------------------------------------------------ SN_MODERATED_N='0' # how many moderated groups SN_MODERATED_GROUP_1='local.moderated' # first moderated group SN_MODERATED_MOD_1='mod@m.invalid' # moderator #------------------------------------------------------------------------------ # mail-to-news settings #------------------------------------------------------------------------------ SN_LIST_N='0' # number of mailinglists piped to newsgroups SN_LIST_USER_1='user' # id of user who subscribed the mailinglist SN_LIST_NAME_1='foo@f.invalid' # name of mailinglist SN_LIST_TO_1='' # reply-to adress for list, only fill out if # different from SN_LIST_NAME_1 SN_LIST_NEWSGROUP_1='local.list' # newsgroup where the mails will be send to SN_LIST_SENDER_1='bar@b.invalid' # envelope sender of the mail # use 'ro' for read-only newsgroup