[Remops] My postfix MID and From: settings for Usenet

Stefan Claas sac at 300baud.de
Mon Apr 13 19:21:56 BST 2020


Hi all,

after having a little discussion and receiving help
from the postfix author, I would like to show you my
postfix settings for Usenet mail2news usage.

Because both of my YAMN Remailers are exits now only
an m2n operator could see where the messages originated
from, in case he / she would do so.

(I also set UTC time for both of my Remailers)

Here are my settings. Hope you find them useful!

in 'main.cf' add the following line:

transport_maps = hash:/etc/postfix/transport

in 'master.cf' add the following two lines:

newsgateway     unix    -       -       n       -       -       smtp
   -o smtp_header_checks=pcre:/etc/postfix/news-header-checks.pcre

create a file named: 'transport', which content is:

mail2news at m2n.mixmin.net newsgateway:
mail2news at dizum.com      newsgateway:
mail2news at neodome.net    newsgateway:

create a file named: 'news-header-checks.pcre', which content is:

/Message-Id:\s+<(.*?)@remailer.xyz>/ REPLACE Message-Id: <$1 at domain.invalid>
/^From:[[:space:]]+(.*)/ REPLACE From: Anonymous Remailer
<remailer at domain.invalid>

Finally do a 'postmap transport' and 'postmap news-header-checks.pcre' and at
last
a 'postfix reload'

That's all.

At typically posting now looks like this in a Usenet group:

Subject: daa80173097740b0a04ce3f5b8b6e306d07b4b8c54f32593
Message-Id: <20200413.173308.a78aaaae at domain.invalid>
From: Anonymous Remailer <remailer at domain.invalid>
Date: Mon, 13 Apr 2020 17:33:08 +0000
Newsgroups: alt.anonymous.messages
Path:
eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.mixmin.net!mail2news.mixmin.net!not-for-mail
Injection-Info: mail2news.mixmin.net; posting-host=mail2news.mixmin.net;
 mail-complaints-to=abuse at mixmin.net
Xref: reader01.eternal-september.org alt.anonymous.messages:603308

I used the same addresses like Zax is using for yamn2 and yamn3. However,
when sending an email the regular Headers will be used.

Regards
Stefan

-- 
Signal (Desktop) +4915172173279
https://keybase.io/stefan_claas
           


More information about the Remops mailing list