🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Mail2News

#232031
From: Zax
Date: Wed, 06 May 2009 18:58
39 lines
2406 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Wed, 06 May 2009 20:22:11 +0200, Null wrote in
Message-Id: <gtski2$ch5$1@news.gabrix.ath.cx>:

> How should i integrate it to innd , i haven't found much docs , thanks !

Hi Gab,
* Create a user call mail2news
* Create a directory under its homedir called script (for example).
* Copy the three Python files (config.py, m2n.py, mail2news.py) into
  that dir.
* Edit the config file to suit your requirements.  Pay careful attention
  to the nntphosts settings, you probably want something like:
  nntphosts['news.gabrix.ath.cx'] = ['.*', 'ihave']
* You can then test the gateway by just running ./m2n.py and it will ask
  you to type in a message[1].
* When that's working, I'll talk you through configuring your Postfix to
  pass messages to it.

[1] The gateway script will accept any message from the console
providing it has a Newsgroups header.  All the other headers will be
made up for testing purposes.  You'll need a blank line between the
Newsgroups header and the 'Hello World' test message.  :)

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

iEYEAREKAAYFAkoB3eMACgkQlKZ6CY7Vd0O0+wCg81h2MOIvihtuHyyvzcyYUMVX
mXEAoKDHAh3R94yY24UkfPyVNJGNhQ4x
=fSDK
-----END PGP SIGNATURE-----

-- 
pub  1024D/8ED57743 2003-07-08 Bananasplit Operator
     Key fingerprint = 796F 67E0 E890 A0BB BDAE  EBB4 94A6 7A09 8ED5 7743
uid                            Admin <admin.bananasplit.info>
Technical Details
Message-ID: <gtsml3$hpo$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.bananasplit.info!not-for-mail
References: <937d475a7baa8b161c9068038e6258d9$1@www.gabrix.ath.cx> <gtovlp$ljq$1@bananasplit.info> <gtrvde$vrk$1@news.gabrix.ath.cx> <gts3ss$sil$1@bananasplit.info> <gtski2$ch5$1@news.gabrix.ath.cx>

Show Full Headers
Complete Article Headers
Message-ID: <gtsml3$hpo$1@bananasplit.info>
Subject: Re: Mail2News
Date: Wed, 06 May 2009 18:58:43 +0000
From: Zax <admin@bananasplit.info>
References: <937d475a7baa8b161c9068038e6258d9$1@www.gabrix.ath.cx> <gtovlp$ljq$1@bananasplit.info> <gtrvde$vrk$1@news.gabrix.ath.cx> <gts3ss$sil$1@bananasplit.info> <gtski2$ch5$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.bananasplit.info!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Bananasplit
Lines: 39
X-Complaints-To: abuse@bananasplit.info
NNTP-Posting-Date: Wed, 6 May 2009 18:58:43 +0000 (UTC)
User-Agent: slrn/pre1.0.0-11 (Linux)
X-PGP-KeyID: 0x8ED57743