2023-08-27 16:05:53 +02:00
|
|
|
<?php
|
|
|
|
return [
|
|
|
|
// expire.php
|
|
|
|
'max_articles_per_group' => 10000,
|
|
|
|
|
|
|
|
// spoolnews.php
|
|
|
|
'maxarticles_per_run' => 100,
|
2023-09-18 14:07:20 +02:00
|
|
|
'maxfirstrequest' => 100,
|
|
|
|
|
2024-02-26 14:02:08 +01:00
|
|
|
// Disable spoolnews if less than this num in Gb free for spool
|
|
|
|
'min_spool_disk_space' => 5,
|
|
|
|
|
|
|
|
// If your remote_server is already filtered, enable this
|
|
|
|
'disable_spamassassin_spooling' => true,
|
|
|
|
|
2023-09-18 14:07:20 +02:00
|
|
|
// Display short view of headers (only subject, name, date)
|
2024-02-26 14:02:08 +01:00
|
|
|
'short_headers' => true,
|
|
|
|
|
2024-11-10 15:21:08 +01:00
|
|
|
// Display From and Date to the right of Subject in short_headers
|
2024-10-26 23:12:29 +02:00
|
|
|
// Default is false, will show separately (below)
|
|
|
|
'short_header_show_from_in_subject' => false,
|
|
|
|
|
2024-10-17 15:43:06 +02:00
|
|
|
// Enable display of References when using short headers
|
|
|
|
// Default is false
|
|
|
|
'short_header_references' => false,
|
|
|
|
|
2024-02-26 14:02:08 +01:00
|
|
|
// Log posts?
|
|
|
|
'enable_post_log' => false,
|
|
|
|
|
2024-03-11 11:15:30 +01:00
|
|
|
// Require authentication for all commands to nntp server
|
|
|
|
'nntp_full_auth_required' => false,
|
|
|
|
|
2024-02-26 14:02:08 +01:00
|
|
|
// Disable name/email spoof option in Configuration
|
|
|
|
'disable_change_name' => false,
|
|
|
|
|
|
|
|
// Disable Message-ID search in header
|
|
|
|
'disable_msgid_search' => false,
|
2024-04-18 13:19:25 +02:00
|
|
|
|
|
|
|
// Display bot count in footer
|
|
|
|
'count_bots' => false,
|
2023-09-18 14:07:20 +02:00
|
|
|
|
2024-03-04 17:47:34 +01:00
|
|
|
// Set default for new registered users to 'show' or 'hide'
|
|
|
|
// Unsubscribed groups (else default is 'hide')
|
|
|
|
// Must be 'show' or 'hide'
|
|
|
|
'hide_unsub' => 'hide',
|
|
|
|
|
2024-11-17 14:53:39 +01:00
|
|
|
// Restrict 'NEW' users to this many posts per hour after
|
|
|
|
// account is created. After that, limit will be lifted.
|
|
|
|
// Comment out '//' to disable
|
|
|
|
'new_users_rate_limit' => 2,
|
|
|
|
|
|
|
|
// Number of hours to consider an account as 'NEW'
|
|
|
|
// Comment out '//' to disable
|
|
|
|
'new_account_life' => 2,
|
|
|
|
|
2024-07-06 10:24:16 +02:00
|
|
|
// Show thread tree above articles in thread view
|
|
|
|
// Default is false
|
|
|
|
'show_thread_tree' => false,
|
|
|
|
|
2024-07-18 15:11:14 +02:00
|
|
|
// Allow editing Newsgroups header when ...
|
|
|
|
// Options: 'post', 'reply', 'both', 'none'
|
|
|
|
// If not set, default = 'post'
|
|
|
|
'allow_ng_header_edit' => 'post',
|
|
|
|
|
2024-09-07 15:03:57 +02:00
|
|
|
// How many groups to allow in Newsgroups: header
|
|
|
|
// Post and Reply may be different.
|
|
|
|
// Default is post = 3, reply = 12
|
|
|
|
'max_crosspost_post' => 3,
|
|
|
|
'max_crosspost_reply' => 6,
|
|
|
|
|
|
|
|
// This will disable newsgroups editing entirely if true
|
|
|
|
// Set to true to disable display and edit of newsgroups
|
|
|
|
// header when posting
|
|
|
|
// Default is false (newsgroups will display)
|
|
|
|
'disable_ngs_edit' => false,
|
|
|
|
|
2024-03-02 18:54:28 +01:00
|
|
|
// Reserved aliases
|
|
|
|
'reserved_names' => array("admin", "sysop", "rslight"),
|
|
|
|
|
|
|
|
// Users who may have duplicate aliases in aliases.conf
|
|
|
|
'duplicate_aliases' => array("admins user name here"),
|
|
|
|
|
2024-04-02 21:28:26 +02:00
|
|
|
// Disable display of X-Face
|
|
|
|
'disable_xface' => false,
|
2024-06-30 09:53:56 +02:00
|
|
|
|
|
|
|
// Set to false to NOT add '>' to quotes for blank lines
|
|
|
|
// Default is true
|
|
|
|
'quote_blank_lines' => true,
|
2024-10-20 15:05:29 +02:00
|
|
|
|
2024-11-12 16:17:31 +01:00
|
|
|
// Show timezone converted to local (client) time as
|
|
|
|
// 'offset' (-0400) or 'none' (no timezone display)
|
|
|
|
// Default is 'offset'
|
|
|
|
// 'none' will display NO timezone for dates in articles
|
2024-10-20 15:05:29 +02:00
|
|
|
'timezone_to_local_format' => 'offset',
|
2024-11-12 16:17:31 +01:00
|
|
|
|
2024-07-07 10:20:00 +02:00
|
|
|
// How to format 'who wrote' quoting in reply:
|
|
|
|
// 'On 4, Jan 2024, John Doe wrote:'
|
|
|
|
// Options are:
|
|
|
|
// 'date_name', 'msgid_name', 'date_msgid_name', or 'name'
|
|
|
|
// Default is 'date_name'
|
|
|
|
'quote_head' => 'date_name',
|
|
|
|
|
2024-04-18 13:19:25 +02:00
|
|
|
// Disable immediate post insertion (wait for remote server)
|
|
|
|
// for a SECTION. Comma separated list ex: 'rocksolid,section3,section5',
|
|
|
|
'insert_disable' => 'sectionONE, sectionTWO',
|
2024-04-02 21:28:26 +02:00
|
|
|
|
2024-10-15 15:15:37 +02:00
|
|
|
// Disable pushing articles to remote server for these sections
|
|
|
|
// (replace 'testsection...' with your choice of sections)
|
|
|
|
'disable_remote_push' => array("testsectionone", "testsectiontwo"),
|
|
|
|
|
2024-04-15 12:47:44 +02:00
|
|
|
// Disable posting attachments by section
|
|
|
|
// List section names to disable:
|
|
|
|
// array("sectionONE", "sectionTWO", "sectionETC"),
|
|
|
|
'disable_attach' => array("section"),
|
|
|
|
|
2024-04-26 13:48:28 +02:00
|
|
|
// Default view for overboard ('threads' or 'articles')
|
|
|
|
// If unset, default is 'articles'
|
|
|
|
'overboard_default_view' => 'articles',
|
|
|
|
|
2024-10-04 13:54:08 +02:00
|
|
|
// Send Admin debug messages
|
2024-10-09 14:59:10 +02:00
|
|
|
// Some debug messages can be sent to admin by email
|
2024-10-04 13:54:08 +02:00
|
|
|
// Default is false
|
|
|
|
'send_admin_debug_messages' => false,
|
|
|
|
|
2024-10-08 17:33:27 +02:00
|
|
|
// Disable toggle to send interBBS Mail to email
|
|
|
|
'disable_mail_to_email' => true,
|
|
|
|
|
2024-11-05 10:36:19 +01:00
|
|
|
// Enable Supersedes. This is dependent on your 'remote' server
|
|
|
|
// Default is false (Superseded articles will NOT be deleted)
|
|
|
|
'enable_supersedes_support' => false,
|
|
|
|
|
2024-05-03 13:10:39 +02:00
|
|
|
// Disable New Articles link on groups page
|
|
|
|
'overboard_disable_new_link' => false,
|
|
|
|
|
2024-05-08 10:59:27 +02:00
|
|
|
// Disable adding 'X-Rslight-*' headers to
|
|
|
|
// outgoing messages
|
|
|
|
'disable_rslight_headers' => false,
|
|
|
|
|
2024-04-29 17:05:41 +02:00
|
|
|
// Set User-Agent: string (default = 'Rocksolid Light')
|
|
|
|
// Set to '' for no User-Agent: header
|
|
|
|
'user_agent' => 'Rocksolid Light',
|
|
|
|
|
2024-05-18 13:10:52 +02:00
|
|
|
// Rate per second that a 'bot' may load pages
|
|
|
|
'throttle_hits_bot_loadrate' => '.1',
|
|
|
|
|
2024-10-25 14:25:14 +02:00
|
|
|
// Use this to create notices for things identified in msg body
|
|
|
|
// 'regex' must be a full regex, including delimiters
|
|
|
|
'display_notice_for_body_checks' => array(
|
|
|
|
0 => array(
|
|
|
|
'regex' => '/if this \$ is here/',
|
|
|
|
'notice' => 'display this message'
|
|
|
|
),
|
|
|
|
1 => array(
|
|
|
|
'regex' => '/(invalid|really invalid)/',
|
|
|
|
'notice' => 'article contains invalid formatting'
|
|
|
|
)
|
|
|
|
|
|
|
|
),
|
|
|
|
|
2024-05-21 14:41:33 +02:00
|
|
|
// Block connections when one of these strings is
|
|
|
|
// contained in user_agent string
|
|
|
|
// 'block_by_user_agent' => array("semrushbot", "bytespider"),
|
|
|
|
|
2024-06-25 13:44:51 +02:00
|
|
|
// Block connections when one of these strings is
|
|
|
|
// contained in reverse dns string
|
|
|
|
// 'block_by_rdns' => array("hwclouds", "googlebot"),
|
|
|
|
|
2023-09-18 14:07:20 +02:00
|
|
|
// Just leave this here to avoid comma errors
|
|
|
|
'comma' => true
|
2023-08-27 16:05:53 +02:00
|
|
|
];
|