Andre van Kan wrote: > >On Thu, 2010-11-04 at 07:12 -0700, Mark Sapiro wrote: >> Mark Sapiro wrote: >> >> > Can you send me off list a copy of Mailman/Cgi/admindb.py from your >> > system? >> >> I received that. Thank you. Unfortunately, there's nothing there that >> helps explain this issue. I can work up a patch to provide debug >> logging, but before I do that, is there anything in Mailman's 'error' >> log from either the time of the visit to the admindb page or from the >> time the held post arrived? > >Not a single entry in any of the log files. > > >> If so, what's in the error log. If not, is >> it possible that some non-mailman process has removed any of Mailman's >> data/heldmsg* files between the holding of the post and the visit to the >> admindb page? > >I don't think so. The message is removed at the >very moment that the link in Mailman's notification >message is activated.
I understand that, but the data/heldmsg* file could have been removed external to Mailman before that. >> Also, it wouldn't hurt to run Mailman's bin/check_perms to see if there >> might be permission issues on Mailman's data/ directory. > >See attachment. Mail restarted, just in case ... >I sent a message to the list. Unfortunately there was no message >waiting for me to be accepted and NO entry was in vette. >I think that it would be great if the logging became a bit >more verbose. Thanks in advance. The attached admindb.patch.txt file contains a patch that will log more information to Mailman's 'debug' log. Try applying the patch and then the next time the problem occurs, post the log - note the log may contain passwords; be careful to remove them before posting. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
--- Desktop/admindb_2.1.9.py 2010-11-04 07:29:28.734375000 -0700 +++ Desktop/admindb.py 2010-11-04 07:25:55.734375000 -0700 @@ -96,6 +96,7 @@ # Make sure the user is authorized to see this page. cgidata = cgi.FieldStorage(keep_blank_values=1) + syslog('debug', 'cgidata = %r', cgidata) if not mlist.WebAuthenticate((mm_cfg.AuthListAdmin, mm_cfg.AuthListModerator, @@ -120,6 +121,7 @@ details = None envar = os.environ.get('QUERY_STRING') if envar: + syslog('debug', 'QUERY_STRING = %s', envar) # POST methods, even if their actions have a query string, don't get # put into FieldStorage's keys :-( qs = cgi.parse_qs(envar).get('sender') @@ -483,6 +485,7 @@ if e.errno <> errno.ENOENT: raise # This message must have gotten lost, i.e. it's already been # handled by the time we got here. + syslog('debug', 'heldmsg file non-existent, info = %r', info) mlist.HandleRequest(id, mm_cfg.DISCARD) continue dispsubj = Utils.oneline(
------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org