![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
![]() |
Dgate Installation and Setup
Contents
About DgateDgate is a program for setting up gateways between newsgroups. These can either be one-way links, where any article posted to one newsgroup is automatically duplicated in another newsgroup, or two-way links, where articles posted to either newsgroup are duplicated in the other.
Installation and RunningDownload and unzip the approriate version from ftp://ftp.netwinsite.com/pub/dgate/
Windows NT:Add dgate.exe as a Windows NT Service by typing the commands:
cd \dgate addsvc -del Dgate addsvc -add Dgate dgate.exe "Dgate - Newsgroup Gateway"
Copy dgate.ini to the windows
system folder (winnt/system32). Edit dgate.ini to specify the desired settings
(see Configuring).
Start the service through Services in the Control Panel.
Edit dgate.ini to specify
the desired settings (see Configuring).
Run dgate as a background process. You will need to add a line to the startup
file to make sure Dgate is always run at startup e.g.
cd /usr/local/dnews ulimit -c 10000 ./dgate &
Configuring
The file dgate.ini specifies what groups dgate links, and how often it checks for new articles. This is a text file with each line specifying one setting. For example, dgate.ini might contain:
time 60 id_prefix myname_ link nntp://my_domain/local.chat nntp://another_domain/local.chat
Parameter | Explanation | Example |
time value | Tells dgate to check
for new articles every value seconds. Defaults to 5 minutes (300 seconds). |
time 60 |
id_prefix prefix | When articles are
transferred to another newsgroup, prefix is prepended to the
original message-id of the article. If a message-id already starts with
prefix, then the article is ignored. This is essential when two-way
links are created to avoid the message being continually duplicated. Defaults to no prefix. A brief string should be used, e.g. netwin_ |
id_prefix netwin_ |
fetch source_group destination_group | Any articles posted to source_group will be transferred by Dgate to destination_group. | fetch nntp://news/rec.juggling nntp://my_domain/local.juggling |
link source_group destination_group | Any articles posted either group will be duplicated in the other group. Link requires that id_prefix is not empty. | link nntp://my_domain/local.chat nntp://another_domain/local.chat |
Dgate must be restarted for any changes made to dgate.ini to take effect.
Problem SolvingIf Dgate does not seem to be functioning correctly, look at the dgate.log file to if the problem is something that can be easily corrected.