newsd.conf.in 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. #
  2. # newsd.conf -- Config file for newsd daemon
  3. # See LICENSE file packaged with newsd for license/copyright info.
  4. #
  5. #
  6. # ErrorLog: specifies the log file or service.
  7. #
  8. # filename = Append to the named file
  9. # !program = Pipe log to a program
  10. # stderr = Send messages to stderr
  11. # syslog = Send messages to syslog
  12. #
  13. #ErrorLog @localstatedir@/log/newsd/error_log
  14. #ErrorLog |logger -f @localstatedir@/log/newsd/error_log
  15. #ErrorLog stderr
  16. ErrorLog syslog
  17. #
  18. # HostnameLookups: enable/disable IP address lookups.
  19. #
  20. # off = Don't do lookups
  21. # on = Lookup IP address
  22. # double = Lookup IP address, and then verify that the name maps
  23. # back to the same IP
  24. #
  25. HostnameLookups off
  26. #
  27. # Listen/Port: specify listen port and (optionally) address.
  28. #
  29. Listen *:nntp
  30. #
  31. # LogLevel: specifies the type of messages that will be logged.
  32. #
  33. # error = Log error messages
  34. # info = Log informational and error messages
  35. # debug = Log debugging, informational, and error messages
  36. #
  37. LogLevel info
  38. #
  39. # MaxClients: specifies the maximum number of simultaneous clients, or
  40. # 0 for no limit.
  41. #
  42. MaxClients 0
  43. #
  44. # MaxLogSize: specifies the maximum size of the log file, in bytes. The
  45. # suffixes "k", "m", and "g" are supported for kilobytes (2^10),
  46. # megabytes (2^20), and gigabytes (2^30) respectively. The
  47. # default is one megabytes ("1m"). A value of 0 disables log
  48. # file rotation. This option is only used if the LogFile
  49. # directive specifies a plain file.
  50. #
  51. MaxLogSize 1m
  52. #MaxLogSize 0
  53. #
  54. # SendMail: specifies the mail command to use when sending email.
  55. #
  56. SendMail @sendmail@ -t
  57. #
  58. # ServerName: specifies the hostname that is sent to clients.
  59. #
  60. #ServerName foo.bar.com
  61. #
  62. # SpamFilter: specifies a filter program which will receive a copy of the
  63. # submitted message and should return 0 if the message is OK and non-zero
  64. # if it is spam.
  65. #
  66. # Example (for SpamAssassin):
  67. #
  68. # SpamFilter spamc -c
  69. #
  70. #SpamFilter
  71. #
  72. # SpoolDir: specifies the root directory for newsgroup files and directories.
  73. #
  74. SpoolDir @spooldir@
  75. #
  76. # Timeout: specifies the timeout, in seconds, for idle connections.
  77. #
  78. Timeout 43200
  79. #
  80. # User: specifies the news server user account.
  81. #
  82. User news
  83. #
  84. # Authentication: Sets username/password to access server.
  85. #
  86. Auth.User -
  87. Auth.Pass -
  88. Auth.Protect -
  89. Auth.Sleep 5
  90. #
  91. # End of "$Id: newsd.conf.in 150 2009-04-10 07:52:29Z mike $".
  92. #