🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Adding headers to m2n.py Zax script

#233839
From: gabrix
Date: Fri, 10 Jul 2009 14:33
44 lines
2448 bytes
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigB8F9C0EBEBBA5CFE9AFEC6E2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Zax wrote:

> Have a look in the msgparse function in mail2news.py.
>=20
> At the bottom of that function, add a line like:
> msg['X-Mail2News-Comments'] =3D "The quick brown fox"
>=20
> Don't use a header of Comments: as it will clash with the one added by
> the last hop remailer.
>=20

I have tried placing the

> msg['X-Mail2News-Comments'] =3D "The quick brown fox"

at the bottom of the main function in m2n.py but the script refuses to
work ... :-(


Gab





--------------enigB8F9C0EBEBBA5CFE9AFEC6E2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpXUUAACgkQ2+ZUJYAjGpAlZwCfTR2nwvp6jxJY+CGvJw6lXRdn
PpwAn1U65LIbcd9jtJhgqihemRYeeCKY
=ddJO
-----END PGP SIGNATURE-----

--------------enigB8F9C0EBEBBA5CFE9AFEC6E2--
Technical Details
Message-ID: <h37jg7$jv3$1@news.gabrix.ath.cx>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!news.gabrix.ath.cx!Noauth!not-for-mail
References: <20090709190704.GA24856@666.domain.invalid> <h371bi$5ne$1@bananasplit.info>

Show Full Headers
Complete Article Headers
Message-ID: <h37jg7$jv3$1@news.gabrix.ath.cx>
Subject: Re: Adding headers to m2n.py Zax script
Date: Fri, 10 Jul 2009 16:33:27 +0200
From: gabrix <gabrix@gabrix.ath.cx>
References: <20090709190704.GA24856@666.domain.invalid> <h371bi$5ne$1@bananasplit.info>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!news.gabrix.ath.cx!Noauth!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Noauth InterNetNews site
Lines: 44
NNTP-Posting-Host: /FJQTvAeo1HePhToZKjA0g.user.news.gabrix.ath.cx
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="------------enigB8F9C0EBEBBA5CFE9AFEC6E2"
X-Complaints-To: usenet@gabrix.ath.cx
NNTP-Posting-Date: Fri, 10 Jul 2009 14:33:43 +0000 (UTC)
X-Notice: Filtered by Noauth _ Postfilter
Cancel-Lock: sha1:oNmmCyTcfszIYIM6rvpVzYWILpo=
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
OpenPGP: id=80231A90;
 url=https://www.gabrix.ath.cx/0x80231A90.asc,http://pgp.gabrix.ath.cx:11371/
X-Enigmail-Version: 0.95.7