This page will present usenet related tools.
mail2news is a client-server based mail to news gateway based on
perl. The daemon is written in Perl, the client is implemented
in C. This prevents repeated starts of the perl interpreter and
compilation of the perl script which would decrease performance.
The documentation of this package is implemented as man pages
which are part of the package. Look at this README for first information how this package
Download the current version.
Changes since 1.3
added option -D to support debugging forking children
added support for invalid Message-IDs, new ones will be
generated if necessary (old Message-ID is stored in
added support for NNTP posting (see $post_nntp,
$nntp_host, and $nntp_port)
Changes since 1.2
fixed signal handling, the signal block mask was empty
which could lead to a blocking daemon.
now STDIN and STDOUT are redirected from/to /dev/null to
detach the daemon from the controlling tty
the mail2news-client now uses a timeout of 10 seconds for all
operations on the local socket to the daemon. If the timeout
is reached, an EX_TEMPFAIL is returned which should be
interpreted as temporary delivery failure by the MTA.
The autoflush statement was working only by chance (depending
on your version of News::Article. I replaced it with calls to
select and using $| as suggest by Marcus Jodorf.
Changes since 1.1
fixed signal handling in mail2news-daemon once again
Changes since 1.0
fixed bug in mail2news-client regarding reading the
server's result (error appeared with glibc 2.3.1)
fixed signal handling in mail2news-daemon (error appeared
with glibc 2.3.1)
added -f option to mail2news-daemon to prevent daemonizing
I want to thank Marcus Jodorf for pointing out problems in the
daemon (autoflush) and sharing his experiences with postfix and
procmail which lead to fixing the signal related bug in version
Last modified: Tue May 25 20:41:36 CEST 2004