Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

The Python Gateway Script: news2mail mail2news gateway

Project Description

Python Gateway Script from news to mail and vice versa.

Copyright: Copyright (C) 2000-2001,2012 Cosimo Alfarano <> Copyright (C) 2014 Matěj Cepl <>

A copy of the GNU General Public License, version 3, can be found in

It is intended to be a full SMTP/NNTP rfc compliant gateway with whitelist manager.

You will probably have to install a mail-transport-agent and/or news-transport-system package to manage SMTP/NNTP traffic.

MTA is needed for mail2news service, since mail have to be processed on a box where pyg is installed. You can use a remote smtpserver for news2mail.

News system is useful but not needed, since you can send articles to a remote SMTP server (ie: moderated NG) where is installed pyg, otherwise you will need it.

It refers to rfc 822 (mail) and 850 (news).

List of file: mail to news python class module news to mail python class module setup script pygm2n mail to news gateway frontend pygn2m news to mail gateway frontend whitelist managing python class module wlp C backend for whitelist parser (wlp) directory examples documentation and exaples directory

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(14.4 kB) Copy SHA256 Hash SHA256
2.7 Wheel Jan 5, 2015
(10.9 kB) Copy SHA256 Hash SHA256
Source Jan 5, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting