====== NNTP Service ======

Synchronet Service for the Network News Transfer Protocol (RFC977 and RFC3977), the protocol of [[network:USENET]].

===== Example configurations =====

In ''[[dir:ctrl]]/[[config:services.ini]]'':

<file>
[NNTP]
Port = 119
MaxClients = 10
Options = 0
Command = nntpservice.js -f
</file>

<file>
[NNTPS]
Port = 563
Options = TLS
Command = nntpservice.js -f
</file>


Or in [[monitor:SBBSCTRL]]->Services->Configure:

{{:service:sbbsctrlservices.config.png?300|}}

{{:service:sbbsctrl.nntps_service.png?300|}}

==== Available Option Flags ====
^ Option             ^ Description                                                                 ^
| ''NO_HOST_LOOKUP'' | Do not resolve hostnames (via DNS) for connected clients                    |
| ''TLS''            | Use Transaction Layer Security (TLS) encryption for connected clients       |
| ''FULL_ACCEPT''    | Accept and immediately close connections when server is full                |

==== Available Command-line options ====

^ Option        ^ Description                                                                      ^
| ''-d''        | debug log output enable                                                          | 
| ''-f''        | filter bogus client IP addresses (after 10 bad commands received)                |  
| ''-na''       | no anonymous logins (requires valid user authentication)                         | 
| ''-mail''     | expose non-Guest user's sent/received email in "mail" newsgroup                  | 
| ''-auto''     | automatic login based on IP address (no password necessary)                      | 
| ''-nolimit''  | unlimited message lengths (allow posted messages to exceed user limits)          |  
| ''-notag''    | do not append tear/tagline to exported local messages for Q-restricted accounts  | 
| ''-ascii''    | convert ex-ASCII characters to ASCII equivalents during export                   |   
| ''-utf8''     | convert ex-ASCII characters to UTF-8 equivalents during export                   |   

===== Tested clients =====

  * Microsoft Outlook Express 6
  * Netscape Communicator 4.77
  * Xnews 5.04.25
  * Mozilla 1.1 (Requires -auto, and a prior login via other method)

===== See Also =====
  * [[module:NewsLink]]
  * [[network:USENET]]

{{tag>nntp usenet}}