Reference

collectnews(8)

add news articles to Cyrus header files

NAME

collectnews - add news articles to Cyrus header files

SYNOPSIS

collectnews

DESCRIPTION

Collectnews reads article data from the standard input. It uses this information to update the files necessary for reading the articles through the Cyrus IMAP server. Collectnews is designed to be used by InterNetNews to update the IMAP database as the articles come in.

The input is processed as an INN overview stream written as a ``WO'' entry in the newsfeeds(5) file. This data consists of lines of text. Any tab and any data followed by a tab in an input line is ignored. The remaining text is a list of relative article pathnames, with a single space between entries.

Collectnews reads its configuration options out of the imapd.conf(5) file. The optional newsprefix option specifies a prefix to be prepended to newsgroup names to make the corresponding IMAP mailbox names. The required partition-news option specifies the pathname prefix to the IMAP news mailboxes. The value of partition-news concatenated with the dots-to-slashes-converted value of newsprefix must be the pathname of the news spool directory.

FILES

/etc/imapd.conf