๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #336037

Re: Neomutt mail2news account

#336037
From: Gabx
Date: Tue, 26 May 2026 23:40
53 lines
2164 bytes
Gabx wrote:
> > Using "Post directly from the shell" (I didn't try neomutt yet),
> > the message-id is generated by the poster's machine, not the
> > server, which could compromise their anonymity.
> 
> True!
> Client-side i have stripped Message-id before sent to force
> server side generation.
> 
> Server side added "always_add_missing_headers = yes".
> Message-id generated "hash@4ddr3ss.onion".
> รงa va ?
> 
> Victor -*HCC*-

รงa ne va pas!

In a spirit of perfectionism and believing @address.onion to be relatable, 
I made changes directly to the mail2news code to force its message-id.

Clients: 

File: ~/.config/neomutt/m2n-prompt.sh 
- I stripped Message-ID header before SMTP submission 
- Forced server-side generation 
- Prevents client hostname/timestamp leakage

SMTPD: 
- /etc/postfix/header_checks (new file) 
- /etc/postfix/main.cf added always_add_missing_headers = yes 

header_checks content: 
/^Message-ID:/ IGNORE

MAIL2NEWS: 
// NEW: ALWAYS regenerate, ignore client's 
randomBytes, _ := SecureRandom(8) 
messageID := fmt.Sprintf("<%d.%s@%s>", 
time.Now().Unix(), 
strings.ToUpper(hex.EncodeToString(randomBytes)), 
config.NNTP.MessageIDDomain) 

Config change: 
messageid: "domain.invalid" 

Result format: 

Good night !

-- 
Gabx

Technical Details
Message-ID: <1779838842.7F4F2E4C9AF2A986@mail2news.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news-fra.pugleaf.net!news.tcpreset.net!.POSTED!not-for-mail
References: <20260526203755.6A1EC401E3@qee4i7sags6phsvb2yodwecfj7noimfhhalsjktsvikrwotxzis3raad.onion>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news-fra.pugleaf.net!news.tcpreset.net!.POSTED!not-for-mail
From: Gabx <mail2news@virebent.invalid>
Newsgroups: alt.privacy.anon-server
Subject: Re: Neomutt mail2news account
Date: Tue, 26 May 2026 23:40:42 +0000
Organization: Victor Usenet Postings
Message-ID: <1779838842.7F4F2E4C9AF2A986@mail2news.local>
References: <20260526203755.6A1EC401E3@qee4i7sags6phsvb2yodwecfj7noimfhhalsjktsvikrwotxzis3raad.onion>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: news.tcpreset.net;
	logging-data="986363"; mail-complaints-to="abuse@tcpreset.net"
X-Gateway-Info: mail2news
X-No-Archive: yes