From 6d7a2079f20eebe3c91b6c23bf695c44fb996aef Mon Sep 17 00:00:00 2001 From: Gab <24553253+gabrix73@users.noreply.github.com> Date: Tue, 20 May 2025 23:51:26 +0200 Subject: Create etc-mail2news-config.yml --- etc-mail2news-config.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 etc-mail2news-config.yml 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 -- cgit v1.2.3