Hello, On Wed, 2005-09-21 at 14:01, John Dennis wrote: > On Wed, 2005-09-21 at 13:44 -0400, Darren G Pifer wrote: > > > > Anything else? > > Well, if it were me I'd edit the script and throw in a few print > statements in a few judicious places to track what it was or wasn't > doing since you're not getting any info in the logs. > > Python print statements are pretty easy, in its simplest form: > > print "value1=%s value2=%s" % (value1, value2) > > each %s is replaced by the matching value inside the parens, just make > sure the indentation of the print statement lines up.
Thanks for the 'print' statement because I do not know python, but it will be on my list to learn it. I added this to my version of mailpasswds at line 237: print "msg=%s" % (msg) msg.send(sitelist, **{'errorsto': sitebounce, '_nolist' : 1, 'verp' : mm_cfg.VERP_PASSWORD_REMINDERS, }) The output from the print statement shows that everything is in the message but once it hands off to msg.send for the delivery that is it. Where is msg.send located? Also, has anyone played with the test_message.py script in the mailman/tests directory? I haven't seen any documentation on the test code, a Google search offers no help and the Mailman FAQ wizard comes up with zero hits. Darren Old Dominion University ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp