🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Mail2News

#232024
From: Zax
Date: Wed, 06 May 2009 13:38
40 lines
2299 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Wed, 06 May 2009 14:21:13 +0200, Null wrote in
Message-Id: <gtrvde$vrk$1@news.gabrix.ath.cx>:

> Launching the script on it own gives the following error:
>
> Traceback (most recent call last):
>   File "/usr/local/bin/m2n.py", line 21, in <module>
>     import mail2news
> ImportError: No module named mail2news
Doesn't sound like you have the mail2news.py file in the same directory
as the m2n.py.  There should be three files in there, m2n.py,
mail2news.py and config.py.

> I have created a moderated newsgroup where mail2news .procmailrc sends
> mail2news requests , how should the alias look like , anything else ?
I don't know your mailer configuration but ideally you want a subdomain,
something like: m2n.mydomain.org where any mail to
something@m2n.mydomain.org will be delivered to your mail2news system
account.  With this in place, your .procmailrc will need something like:

:0
* ^X-Original-To: mail2news.*@m2n\.mydomain\.org
| ~mail2news/bin/m2n.py

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

iEYEAREKAAYFAkoBktwACgkQlKZ6CY7Vd0PZvwCcCGB8pD6D41sHVoelCDMoMzVn
lC4AoMNMqmWv+gqvTNty0fb7wNSS3lxS
=Wj/W
-----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: <gts3ss$sil$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>

Show Full Headers
Complete Article Headers
Message-ID: <gts3ss$sil$1@bananasplit.info>
Subject: Re: Mail2News
Date: Wed, 06 May 2009 13:38:36 +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>
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: 40
X-Complaints-To: abuse@bananasplit.info
NNTP-Posting-Date: Wed, 6 May 2009 13:38:36 +0000 (UTC)
User-Agent: slrn/pre1.0.0-11 (Linux)
X-PGP-KeyID: 0x8ED57743