[Mailman-Users] mail-news gatewaying

Viren R. Shah viren at rstcorp.com
Thu Dec 3 19:54:00 CET 1998

[Please cc: me since I'm not subscribed to this list]

I installed 1.0b6 on a Solaris 2.5.1 machine (running python 1.5.1),
running a mailing list that was getting gateway'ed to a local

I was having problems with the getting posts to the associated
newsgroup relayed back to the mailing lists. Eventually the problem
was tracked down to the PollNewsGroup subroutine in the
GatewayManager.py script. When this is opening a pipe to the "post"
script using 

            file = os.popen("%s %s nonews" % 
                                "post"), self._internal_name), "w")

it wouldn't work (the pipe, that is), and the "post" script would
never get called. The way we currently have it workin is by calling it
through the python executable:

        file = os.popen("%s %s nonews" % 
                   ("/usr/local/bin/python /mail/mailman/scripts/post", 
			self._internal_name), "w")

Currently the paths to python and post are hardcoded, but they don't
have to be. Is this something that is a general problem, or one that
is specific to our install?

Viren R. Shah, {viren @ rstcorp . com}
"Hi, I'm a hero, but I can't tell you why. It's classified."
 -- Miles muses on one of the disadvantages of a double life
    (Lois McMaster Bujold, Cetaganda)

More information about the Mailman-Users mailing list