🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to get rid of the "Content-transfer-encoding" header

#207925
From: John
Date: Sat, 29 Jul 2006 10:37
62 lines
3221 bytes
Hi,

I'm writing a utility that can add or delete headers from a mail
message sent by an email client such as Outlook. Messages are posted
to usenet by using a m2n-gateway.

Now the problem is that I cannot get rid of the
"Content-transfer-encoding" header. It is always part of my message;
of course, I made sure it isn't sent by my utility: it did this by
intercepting all the communication taking place between the utility
and the mailserver of my ISP. The logging of a test message posted to
alt.test.test.a looks like this:

127.0.0.1:4565 Stat Connected.
127.0.0.1:4565 Sent 29-7-2006 12:21:06: 220 smtp16.wxs.nl -- Server
ESMTP (iPlanet Messaging Server 5.2)
127.0.0.1:4565 Recv 29-7-2006 12:21:06: HELO shiva
127.0.0.1:4565 Sent 29-7-2006 12:21:06: 250 smtp16.wxs.nl OK.
127.0.0.1:4565 Recv 29-7-2006 12:21:06: RSET
127.0.0.1:4565 Sent 29-7-2006 12:21:06: 250 2.5.0 Ok.
127.0.0.1:4565 Recv 29-7-2006 12:21:06: MAIL FROM:
<yourstruly@hotmail.com>
127.0.0.1:4565 Sent 29-7-2006 12:21:06: 250 2.5.0 Address Ok.
127.0.0.1:4565 Recv 29-7-2006 12:21:06: RCPT TO:<mail2news@dizum.com>
127.0.0.1:4565 Sent 29-7-2006 12:21:06: 250 2.1.5 mail2news@dizum.com
OK.
127.0.0.1:4565 Recv 29-7-2006 12:21:06: DATA
127.0.0.1:4565 Sent 29-7-2006 12:21:06: 354 Enter mail, end with a
single ".".
127.0.0.1:4565 Recv 29-7-2006 12:21:06: From: John
<yourstruly@hotmail.com>
Newsgroups: alt.test.test.a
Subject: test 127.0.0.1
Date: Sat, 29 Jul 2006 12:21:05 +0200

..
127.0.0.1:4565 Sent 29-7-2006 12:21:06: 250 2.5.0 Ok.
127.0.0.1:4565 Recv 29-7-2006 12:21:06: QUIT
127.0.0.1:4565 Sent 29-7-2006 12:21:06: 221 2.3.0 Bye received.
Goodbye.
127.0.0.1:4565 Stat Disconnected.
0.0.0.0:0 Stat Disconnected.

So no "Content-transfer-encoding" was sent! Yet the header of the
message in alt.test.test.a looks like this:

Path:
text.nova.planet.nl!divide.nova.planet.nl!newsfeeder.wxs.nl!transit.news.xs4all.nl!newsgate.cistron.nl!xs4all!news.wiretrip.org!news.dizum.com!sewer-output!mail2news
Date: Sat, 29 Jul 2006 12:21:05 +0200
From: John <yourstruly@hotmail.com>
Subject: test 127.0.0.1
Newsgroups: alt.test.test.a
Mail-To-News-Contact: abuse@dizum.com
Organization: mail2news@dizum.com
Xref: text.nova.planet.nl alt.test.test.a:385


Now who adds this header? Is it dizum or my mailservers ISP? And more
importantly, isn't there a way to prevent it?

Thanks in advance!
Technical Details
Message-ID: <0J3500H3PUUIDT@smtp15.wxs.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!newsgate.cistron.nl!xs4all!news.wiretrip.org!news.dizum.com!sewer-output!mail2news

Show Full Headers
Complete Article Headers
Message-ID: <0J3500H3PUUIDT@smtp15.wxs.nl>
Subject: How to get rid of the "Content-transfer-encoding" header
Date: Sat, 29 Jul 2006 12:37:30 +0200
From: John <yourstruly@hotmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!newsgate.cistron.nl!xs4all!news.wiretrip.org!news.dizum.com!sewer-output!mail2news
Content-transfer-encoding: 7BIT
Newsgroups: alt.privacy.anon-server
Mail-To-News-Contact: abuse@dizum.com
Organization: mail2news@dizum.com
Lines: 62