next up previous contents
Next: SpoolDirectory Up: Operation of the News Previous: ConfigVersion

NewsServers

This command specifies a set of news servers and which newsgroups have to be retrieved from which news server. Each entry in the news server set is of the form Server host port group-pattern or of the form NoServer group-pattern. The host and port variables specify the news server and the group-pattern specifies the newsgroups. The entries with the longest match have the highest priority. An example is shown in figure D.1.


  
Abbildung D.1: News server configuration
\begin{figure}
 \begin{center}
 \leavevmode
\begin{verbatim}
NewsServers {
 Serv...
 ...ver alt.binaries.pictures.*,microsoft.*
}\end{verbatim} \end{center}\end{figure}

The example specifies that newsgroups should be retrieved from news.tuwien.ac.at by default. The second lines indicates that the newsgroups beginning with linux. and aaf., except those beginning with aaf.internal. (This is indicated by the exclamation mark), should be retrieved from news.aaf.or.at. Finally the NoServer statement indicates that those groups beginning with alt.binaries.pictures. and microsoft. should not be retrieved at all.



gschwind@infosys.tuwien.ac.at