diff options
| author | Gab <24553253+gabrix73@users.noreply.github.com> | 2025-12-04 02:15:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-04 02:15:03 +0100 |
| commit | 24b6948f0a1d63a28932b5306fa65bd09f668a97 (patch) | |
| tree | 77754b1913f246d46e17cd77ee2725e4cdf3cc5a | |
| parent | 85cb9ee691134a13573a0302c046c214f8c91932 (diff) | |
| download | m2usenet-and-mail2news-24b6948f0a1d63a28932b5306fa65bd09f668a97.tar.gz m2usenet-and-mail2news-24b6948f0a1d63a28932b5306fa65bd09f668a97.tar.xz m2usenet-and-mail2news-24b6948f0a1d63a28932b5306fa65bd09f668a97.zip | |
Modify Mail2News configuration for NNTP and logging
Updated NNTP configuration and logging settings.
| -rw-r--r-- | etc-mail2news-config.yml | 66 |
1 files changed, 48 insertions, 18 deletions
diff --git a/etc-mail2news-config.yml b/etc-mail2news-config.yml index 15f69e4..b1f57df 100644 --- a/etc-mail2news-config.yml +++ b/etc-mail2news-config.yml @@ -1,3 +1,6 @@ +# Mail2News v1.0.0 Configuration +# Privacy-Enhanced Mail to Usenet Gateway + paths: log: "/var/log/mail2news/mail2news.log" etc: "/etc/mail2news" @@ -5,31 +8,58 @@ paths: 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 + path_header: "not-for-mail" + injection_host: "anonymous-gateway" + contact: "abuse@localhost" + messageid: "anon.invalid" + default_from: "anonymous@anonymous.invalid" + + # Primary onion NNTP server (FULL ONION PATH) primary_onion: "peannyjkqwqfynd24p6dszvtchkq7hfkwymi5by5y332wmosy5dwfaqd.onion:119" - fallback_server: "news.tcpreset.net:119" - # Configurazione Tor + + # Fallback clearnet server (disabled for full onion) + fallback_server: "" + + # Tor SOCKS5 proxy tor_proxy: "127.0.0.1:9050" - always_use_tor: true # Usa sempre Tor anche per server non .onion + + # Force all connections through Tor + always_use_tor: true + + # List of onion NNTP servers + onion_servers: + - "peannyjkqwqfynd24p6dszvtchkq7hfkwymi5by5y332wmosy5dwfaqd.onion:119" + + # List of clearnet NNTP servers (empty for full onion mode) + clearnet_servers: [] thresholds: - max_bytes: 100000 - max_crossposts: 10 - hours_past: 48 - hours_future: 6 - socket_timeout: 30 + max_bytes: 1048576 # 1MB maximum message size + max_crossposts: 5 # Maximum newsgroups per message + hours_past: 168 # Accept messages up to 7 days old + hours_future: 48 # Accept messages up to 2 days in future + socket_timeout: 120 # Connection timeout in seconds logging: - level: "info" - format: "%(asctime)s %(levelname)-8s %(message)s" + level: "WARNING" # DEBUG, INFO, WARNING, ERROR + format: "%(asctime)s - %(levelname)s - %(message)s" datefmt: "%Y-%m-%d %H:%M:%S" - retain: 7 + retain: 7 # Days to retain logs encoding: force_utf8: true - fallback_charset: iso-8859-1 + fallback_charset: "iso-8859-1" + +# Privacy and Anti-Tracking Features +privacy: + # Add random padding to messages to prevent size correlation attacks + enable_padding: true + + # Add random delays to prevent timing analysis + enable_delays: true + + # Send decoy traffic to mask real activity (advanced) + #enable_cover_traffic: false + + # Strip all identifying metadata from messages + strip_all_metadata: true |
