summaryrefslogtreecommitdiffstats
path: root/etc-mail2news-config.yml
blob: b1f57df2c0f19f3be5c7a58e6ab85fad4ae1b3d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Mail2News v1.0.0 Configuration
# Privacy-Enhanced Mail to Usenet Gateway

paths:
  log: "/var/log/mail2news/mail2news.log"
  etc: "/etc/mail2news"
  lib: "/var/lib/mail2news"
  history: "/var/lib/mail2news/history"

nntp:
  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 clearnet server (disabled for full onion)
  fallback_server: ""
  
  # Tor SOCKS5 proxy
  tor_proxy: "127.0.0.1:9050"
  
  # 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: 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: "WARNING"            # DEBUG, INFO, WARNING, ERROR
  format: "%(asctime)s - %(levelname)s - %(message)s"
  datefmt: "%Y-%m-%d %H:%M:%S"
  retain: 7                   # Days to retain logs

encoding:
  force_utf8: true
  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