summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGab <24553253+gabrix73@users.noreply.github.com>2025-05-20 23:51:26 +0200
committerGitHub <noreply@github.com>2025-05-20 23:51:26 +0200
commit6d7a2079f20eebe3c91b6c23bf695c44fb996aef (patch)
tree178da8529769972ed456921e472fb317f173784a
parent9a0e785fe079b6f7c3e73f2fba90cb81084927ad (diff)
downloadm2usenet-and-mail2news-6d7a2079f20eebe3c91b6c23bf695c44fb996aef.tar.gz
m2usenet-and-mail2news-6d7a2079f20eebe3c91b6c23bf695c44fb996aef.tar.xz
m2usenet-and-mail2news-6d7a2079f20eebe3c91b6c23bf695c44fb996aef.zip
Create etc-mail2news-config.yml
-rw-r--r--etc-mail2news-config.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/etc-mail2news-config.yml b/etc-mail2news-config.yml
new file mode 100644
index 0000000..15f69e4
--- /dev/null
+++ b/etc-mail2news-config.yml
@@ -0,0 +1,35 @@
+paths:
+ log: "/var/log/mail2news/mail2news.log"
+ etc: "/etc/mail2news"
+ lib: "/var/lib/mail2news"
+ history: "/var/lib/mail2news/history"
+
+nntp:
+ path_header: "mail2news.tcpreset.net!not-for-mail"
+ injection_host: "mail2news.tcpreset.net"
+ contact: "abuse@tcpreset.net"
+ messageid: "mail2news.tcpreset.net"
+ default_from: "anonymous@mail2news.tcpreset.net"
+ # Configurazione per server NNTP primario (onion) e fallback
+ primary_onion: "peannyjkqwqfynd24p6dszvtchkq7hfkwymi5by5y332wmosy5dwfaqd.onion:119"
+ fallback_server: "news.tcpreset.net:119"
+ # Configurazione Tor
+ tor_proxy: "127.0.0.1:9050"
+ always_use_tor: true # Usa sempre Tor anche per server non .onion
+
+thresholds:
+ max_bytes: 100000
+ max_crossposts: 10
+ hours_past: 48
+ hours_future: 6
+ socket_timeout: 30
+
+logging:
+ level: "info"
+ format: "%(asctime)s %(levelname)-8s %(message)s"
+ datefmt: "%Y-%m-%d %H:%M:%S"
+ retain: 7
+
+encoding:
+ force_utf8: true
+ fallback_charset: iso-8859-1