🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: mail2news question

#299040
From: Neodome Admin
Date: Sat, 23 Jun 2018 04:58
73 lines
4419 bytes
Anonymous <anonymous@foto.nl1.torservers.net> wrote:
> In article <pgka3f$kh3$1@neodome.net>
> Neodome Admin <admin@neodome.net> wrote:
>> 
>> Anonymous <anonymous@anonymous.com> wrote:
>>> Anonymous has brought this to us :
>>>> In article <pghue5$ue0$1@neodome.net>
>>>> Neodome Admin <admin@neodome.net> wrote:
>>>>> 
>>>>> 
>>>>> Since most users of mail2news gateways reside here, I guess it would
>>>>> be a good group to ask the question.
>>>>> 
>>>>> I was playing with idea of mail2news gateway that's using remote
>>>>> email server to receive and temporarily store the mail. However,
>>>>> seems that email service I use don't like From headers that contain
>>>>> non-resolvable domain name. In other words, emails with From address
>>>>> such as <test@test.test> won't even appear in inbox, they will be
>>>>> silently dropped by their postfix software. On the other hand,
>>>>> emails from <test@test.com> will appear there because test.com is a
>>>>> legit resolvable domain name, and thus such email might be accessed
>>>>> and processed by mail2news script. I assume this is a spam
>>>>> prevention feature.
>>>>> 
>>>>> My question is: is such restriction acceptable for mail2news
>>>>> service? I see that most (perhaps all?) mixmaster exit nodes
>>>>> automatically insert address with resolvable domain name (such as
>>>>> <nobody@dizum.com>) but many people who insert their own From header
>>>>> like to use addresses such as <nickname@address.invalid>, which
>>>>> would be a no go in my case.
>>>>> 
>>>>> I guess I also can contact the company that operates my email
>>>>> server, however it would probably be my last option.
>>>>> 
>>>>> Thank you.
>>>>> 
>>>> 
>>>> I would welcome a new m2n, especially one that has an upstream
>>>> provider  other than the ones used by Dizum and Mixmin.
>>>> 
>>>> Also, I don't see a problem with custom From addresses, since that
>>>> small limitation can be mentioned along with the new m2n
>>>> announcement.
>>> 
>>> Definitely another upstream.  Zax and Dizum are known to sensor port.
>>> 
>> 
>> Well, feel free to try it out then: <mail2news@neodome.net>. Should work
>> very similar to dizum (i.e. email have to have Newsgroups header). I won't
>> promise anything at this point, though. I still edit the code, and I'm
>> thinking to make logs public by having them available via www, so the user
>> can see exactly what's going on.
> 
> You're writing the code for the m2n? If so, I'd like to see it.

It will be publicly available.

It's nothing special, though. Just a Perl script that's getting emails via
POP3, fiddling with headers a little bit, and then posting articles via
NNTP.

Main reason to touch the headers is the fact that emails can't be posted to
news server "as is", mainly because of Received header. It's treated by
news servers differently than mail servers. One workaround is to rename it
to something like X-Received, however I don't really like that idea. I
think if you changing the headers you might as well just simply remove
them, just like dizum and mixmin are doing. Basically, that's what I came
up with right now. I'm saving some headers (the ones that's mentioned in
RFC plus X-Face and Face) and removing the rest. Original email headers are
saved for debugging purposes, but in compressed and encrypted form.

-- 
Neodome
Technical Details
Message-ID: <pgkk14$o0b$1@neodome.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <pghue5$ue0$1@neodome.net> <ef4d93b7d190f887c0f40ccb925ed45a@foto.nl1.torservers.net> <pgjslg$sgf$1@news.mixmin.net> <pgka3f$kh3$1@neodome.net> <e00480e950b8f76b80e4ebd2700feb55@foto.nl1.torservers.net>

Show Full Headers
Complete Article Headers
Message-ID: <pgkk14$o0b$1@neodome.net>
Subject: Re: mail2news question
Date: Sat, 23 Jun 2018 04:58:12 +0000
From: Neodome Admin <admin@neodome.net>
References: <pghue5$ue0$1@neodome.net> <ef4d93b7d190f887c0f40ccb925ed45a@foto.nl1.torservers.net> <pgjslg$sgf$1@news.mixmin.net> <pgka3f$kh3$1@neodome.net> <e00480e950b8f76b80e4ebd2700feb55@foto.nl1.torservers.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Neodome | news.neodome.net | news.neodome.i2p | neodomea5yrhcabc.onion
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 23 Jun 2018 04:58:12 +0000 (UTC)
Injection-Info: neodome.net;
User-Agent: NewsTap/5.3.1 (iPhone/iPod Touch)
Cancel-Lock: sha1:STZxeWJPazqCHnH9z2Ag6uDwFFA=
Lines: 72