Brad Crittenden | 1 Dec 21:03 1998
Picon

mailman silently fails

hello:

today i installed mailman with minimal problems on a solaris box.  i did
have to manually change /home/mailman/archives/public to 'chmod g+x' in
order to allow some archival functions.

also, i misconfigured a list for news posting (forgot to put the newsgroup
name) and this caused mailman to silently failed.  the posts were placed in
the archive but they weren't sent to the list and, of course, they didn't
get posted.  perhaps the order should be changed so that the email gets
distributed before the other tasks happen.  also, it would be good if the
list admin were notified when failures like that occur.  and, while i'm at
it, i guess newsgroup posting should not be enabled if a newsgroup isn't
specified.

regardless, it is a great tool and i really appreciate it.

sincerely,

brad

Victoriano Giralt | 2 Dec 12:14 1998
Picon

Compilation problems

I've just downloaded mailman-1.0b6 and tryed to compile it in a DEC AXP
with Digital Unix, and get the following errors while doing make:

With gcc:
gcc -DSCRIPT="\"admin\"" -I. -DCGI_GID=65534 -g -O2 -DHAVE_STRERROR=1
-DSTDC_HEADERS
=1 -DHAVE_SYSLOG_H=1 -DGETGROUPS_T=gid_t -DHAVE_VPRINTF=1  common.o -o
admin common.c
common.c:26: `PREFIX' undeclared here (not in a function)
common.c:26: parse error before string constant
common.c:27: `PREFIX' undeclared here (not in a function)
common.c:28: `PYTHON' undeclared here (not in a function)

With the system's cc:
cc -DSCRIPT="\"admin\"" -I. -DCGI_GID=65534 -O -DHAVE_STRERROR=1
-DSTDC_HEADERS=1 -D
HAVE_SYSLOG_H=1 -DGETGROUPS_T=gid_t -DHAVE_VPRINTF=1  common.o -o admin
common.c
cc: Error: common.c, line 26: Invalid declaration.
const char* scriptdir = SCRIPTDIR;
------------------------^
cc: Error: common.c, line 27: In the initializer for moduledir, "PREFIX"
is not decl
ared.
const char* moduledir = MODULEDIR;
------------------------^
cc: Error: common.c, line 28: In the initializer for python, "PYTHON" is
not declared.
char* python = PYTHON;
---------------^
(Continue reading)

Ken Manheimer | 3 Dec 17:02 1998
Picon
Picon

Re: Compilation problems

Hmm - i'm no build/compilation expert (barry?), but it looks like the
PREFIX and PYTHON macros are not being defined.  I'd suspect a missing
step in the build process - i expect that one of the build gurus can 
pinpoint where.  In the src/Makefile, are there some lines that look
like:

COMMON_FLAGS=	-DPREFIX="\"$(prefix)\"" \
		-DPYTHON="\"$(PYTHON)\""

and doe the common.o target line look like:

common.o: $(srcdir)/common.c $(srcdir)/common.h
	$(CC) -c -I. $(COMMON_FLAGS) $(CFLAGS) $<

?

Ken Manheimer		  klm <at> python.org	    703 620-8990 x268
	    (orporation for National Research |nitiatives

	# If you appreciate Python, consider joining the PSA! #
		  # <http://www.python.org/psa/>. #

On Wed, 2 Dec 1998, Victoriano Giralt wrote:

> 
> I've just downloaded mailman-1.0b6 and tryed to compile it in a DEC AXP
> with Digital Unix, and get the following errors while doing make:
> 
> With gcc:
> gcc -DSCRIPT="\"admin\"" -I. -DCGI_GID=65534 -g -O2 -DHAVE_STRERROR=1
(Continue reading)

Greg Stein | 3 Dec 18:57 1998

forgot list admin password

I forgot my list admin password and can't find it in my mail (for the
thread-sig at python.org). Is there a way that I can have Mailman send
it to me?  (or do I have to bother Ken for the millionth time?)

If Mailman can't send it to me, then ocnsider this a request to add the
feature. I would suggest an extra button on the admin logon screen that
kicks off the email.

thx
-g

--
Greg Stein, http://www.lyra.org/

Viren R. Shah | 3 Dec 19:54 1998
X-Face
Picon

mail-news gatewaying

[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
newsgroup. 

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" % 
                                (os.path.join(mm_cfg.SCRIPTS_DIR,
                                "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?

Thanks
Viren
(Continue reading)

Viren R. Shah | 3 Dec 20:04 1998
X-Face
Picon

Error with duplicate Newsgroup headers

[please cc: me on any replies]

I'm currently running 1.0b6 with several lists gatewaying msgs to
local newsgroups and vice versa.

I just got an error message when a emailed reply was made to a posted
reply to a list message (got that?).

Here's the error:

Dec 03 13:42:27 1998 post: Traceback (innermost last):
post:   File "/mail/mailman/scripts/post", line 67, in ?
post:      current_list.Post(msg)
post:   File "/mail/mailman/Mailman/MailList.py", line 1014, in Post
post:      self.SendMailToNewsGroup(msg)
post:   File "/mail/mailman/Mailman/GatewayManager.py", line 143, in SendMailToNewsGroup
post:      con.post(msg)
post:   File "/usr/local/lib/python1.5/nntplib.py", line 425, in post
post:      return self.getresp()
post:   File "/usr/local/lib/python1.5/nntplib.py", line 132, in getresp
post:      raise error_temp, resp
post: nntplib.error_temp :  441 Duplicate "Newsgroups" header 

Here's the newsserver log:

Dec  3 13:43:01 newsserver nnrpd[4427]: xxxx.rstcorp.com connect
Dec  3 13:43:01 newsserver nnrpd[4427]: xxxx.rstcorp.com connect
Dec  3 13:43:01 newsserver nnrpd[4427]: xxxx.rstcorp.com post failed Duplicate "Newsgroups" header
Dec  3 13:43:01 newsserver nnrpd[4427]: xxxx.rstcorp.com post failed Duplicate "Newsgroups" header

(Continue reading)

Ken Manheimer | 3 Dec 20:19 1998
Picon
Picon

Re: forgot list admin password

On Thu, 3 Dec 1998, Greg Stein wrote:

> I forgot my list admin password and can't find it in my mail (for the
> thread-sig at python.org). Is there a way that I can have Mailman send
> it to me?  (or do I have to bother Ken for the millionth time?)
> 
> If Mailman can't send it to me, then ocnsider this a request to add the
> feature. I would suggest an extra button on the admin logon screen that
> kicks off the email.

Mailman can't send it to you, because mailman doesn't "know" the admin
(or site) passwords - it only has the encrypted versions.  This is
different than the individual-subscription passwords, and makes sense
since the admin password is for a much more sensitive resource, and
admins have closer involvement, hence more likely to keep track of the
passwords (and there are a lot fewer admins than subscribers!)

Greg, i can set a new password for you and contact you directly about
it.

Ken

Darren Henderson | 3 Dec 21:23 1998

Re: forgot list admin password

On Thu, 3 Dec 1998, Ken Manheimer wrote:

> Mailman can't send it to you, because mailman doesn't "know" the admin
> (or site) passwords - it only has the encrypted versions.  This is

I was under the impression from an earlier discussion that mmsitepas could
be used to at least set the site password at any time? Perhaps there
should be a similar utility for the site admin to generate new passwords
for list admins.

______________________________________________________________________
Darren Henderson                              darren <at> jasper.somtel.com

                   Help fight junk e-mail, visit http://www.cauce.org/

Harald Meland | 3 Dec 21:41 1998
Picon
Picon

Re: forgot list admin password

[Darren Henderson]

> On Thu, 3 Dec 1998, Ken Manheimer wrote:
> 
> > Mailman can't send it to you, because mailman doesn't "know" the admin
> > (or site) passwords - it only has the encrypted versions.  This is
> 
> I was under the impression from an earlier discussion that mmsitepas could
> be used to at least set the site password at any time? Perhaps there
> should be a similar utility for the site admin to generate new passwords
> for list admins.

I believe the site admin can set the admin password of any list at any
time using the www interface, entering the site password in the "old
password" box.

However, I agree that a command line interface to more aspects of
Mailman would be useful to site admins.  If you know python, such
command line tools should not be very hard to write yourself, though.
--

-- 
Harald

Ken Manheimer | 3 Dec 22:16 1998
Picon
Picon

Re: forgot list admin password

On Thu, 3 Dec 1998, Darren Henderson wrote:

> On Thu, 3 Dec 1998, Ken Manheimer wrote:
> 
> > Mailman can't send it to you, because mailman doesn't "know" the admin
> > (or site) passwords - it only has the encrypted versions.  This is
> 
> I was under the impression from an earlier discussion that mmsitepas could
> be used to at least set the site password at any time? Perhaps there
> should be a similar utility for the site admin to generate new passwords
> for list admins.

Actually, this is not a problem.  The site password can be used (just
about?) anywhere that a list admin or user password is called for - so
the site admin simply visits one of the list admin pages and uses the
site password to reset the list admin password.

Ken Manheimer		  klm <at> python.org	    703 620-8990 x268
	    (orporation for National Research |nitiatives

	# If you appreciate Python, consider joining the PSA! #
		  # <http://www.python.org/psa/>. #


Gmane