[Mailman-Users] odd errors with mailman

Dan Mick Dan.Mick at West.Sun.COM
Fri Nov 3 02:47:26 CET 2000


1) qrunner won't run with those lockfiles there, so they should
be gone before you try again.

2) if you have the cron entry commented, qrunner won't run at all
unless you run it by hand.

I assume you know these things, but it never hurts.

3) Any theories for how the lock files got bogus dates?  Did you
have NTP problems, or did someone reset the date wrongly on this machine,
or something?  Is TZ a suspect (different for mailman vs. other processes
or something?)

4) what do the "ignored" log entries show up in?  One of Mailman's logs,
or your MTA's?

5) the logs/error excerpt doesn't actually seem to show the error,
which is odd.  Could you mail me the whole file privately so I can
look at it?

6) can you try running qrunner under some syscall-tracing utility
(Solaris: truss, BSD: ktrace, Linux: strace) to see where it's stopping?

> From: Rob Hunter <robh at uunet.co.za>
> X-Sender: robh at hill.noc.uunet.co.za
> To: mailman-users at python.org
> Subject: [Mailman-Users] odd errors with mailman
> X-Beenthere: mailman-users at python.org
> X-Mailman-Version: 2.0beta6
> List-Post: <mailto:mailman-users at python.org>
> List-Id: Mailman mailing list management users <mailman-users.python.org>
> List-Archive: <http://www.python.org/pipermail/mailman-users/>
> Date: Thu, 2 Nov 2000 20:04:25 +0200 (SAST)
> 
> Hi
> 
> I seem to have a few oddities with mailman atm. Basically, no mail being
> posted is actually getting delivered by qrunner. I've done a bit of
> debugging and found a few oddities:
> 
> 1) the date of the lock files is out:
> 
> [root@] ~# date
> Thu Nov  2 20:00:56 SAST 2000
> 
> -rw-rw-r--   2 root     mailman   62 Nov  3 05:54 qrunner.lock
> -rw-rw-r--   2 root     mailman   62 Nov  3 05:54
> qrunner.lock.snow.fingers.co.za.93164
> 
> as you can see the lock file had the wrong date.
> 
> 2) Looks like every single mail that's trying to be delivered is getting
> "ignored":
> 
> Oct 31 16:42:24 2000 (79341) -1 herman.kramer at za.didata.com (ignore)
> Oct 31 16:42:24 2000 (79341) -1 mozzie at netactive.co.za (ignore)
> Oct 31 16:42:24 2000 (79341) -1 mark.mcintyre at za.didata.com (ignore)
> 
> 3) the error log shows this:
> 
> Nov 01 18:29:33 2000 (86852) Delivery exception: 
> Nov 01 18:29:33 2000 (86852) Traceback (most recent call last):
>   File "/usr/local/mailman/Mailman/Handlers/HandlerAPI.py", line 82, in
> do_pipeline
>     func(mlist, msg, msgdata)
>   File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 74, in
> process
>     deliver(admin, msgtext, chunk, refused)
>   File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 211, in
> deliver
>     conn.quit()
>   File "/usr/local/mailman/Mailman/pythonlib/smtplib.py", line 513, in
> quit
>     self.docmd("quit")
>   File "/usr/local/mailman/Mailman/pythonlib/smtplib.py", line 283, in
> docmd
>     return self.getreply()
> 
> Nov 01 18:29:33 2000 qrunner(86852): Traceback (most recent call last):
> Nov 01 18:29:33 2000 qrunner(86852):   File
> "/usr/local/mailman/cron/qrunner", line 276, in ?
> Nov 01 18:29:33 2000 qrunner(86852):      kids = main(lock)
> Nov 01 18:29:33 2000 qrunner(86852):   File
> "/usr/local/mailman/cron/qrunner", line 245, in main
> Nov 01 18:29:33 2000 qrunner(86852):      keepqueued =
> dispose_message(mlist, msg, msgdata)
> Nov 01 18:29:33 2000 qrunner(86852):   File
> "/usr/local/mailman/cron/qrunner", line 162, in dispose_m
> essage
> Nov 01 18:29:33 2000 qrunner(86852):      return
> HandlerAPI.DeliverToList(mlist, msg, msgdata)
> Nov 01 18:29:33 2000 qrunner(86852):   File
> "/usr/local/mailman/Mailman/Handlers/HandlerAPI.py", line
>  152, in DeliverToList
> Nov 01 18:29:33 2000 qrunner(86852):      msg.Enqueue(mlist,
> newdata=msgdata)
> Nov 01 18:29:33 2000 qrunner(86852):   File
> "/usr/local/mailman/Mailman/Message.py", line 176, in Enq
> ueue
> Nov 01 18:30:14 2000 (86868) Delivery exception: 
> Nov 01 18:30:14 2000 (86868) Traceback (most recent call last):
>   File "/usr/local/mailman/Mailman/Handlers/HandlerAPI.py", line 82, in
> do_pipeline
>     func(mlist, msg, msgdata)
> 
> and a whole lot more. Apologies for the long mail, but I wanted to include
> as much detail as possible.
> 
> Also, according to the comment for the qrunner cron:
> 
> # Retry failed deliveries once per minute.
> #*/1 * * * * /usr/local/bin/python -S /usr/local/mailman/cron/qrunner
> 
> My deliveries would never run without me enabling/manually running this
> cron. Qrunner currently won't complete. My MTA is postfix, and postfix
> seems to be working perfectly. The box does vdomains and valiasing and
> those all work fine, aswell as some lists running with majordomo (been
> waiting to migrate them to mailman).
> 
> Any suggestions would be appreciated.
> 
> Regards
> 
> --Rob
> 
> 
> 
> ------------------------------------------------------
> Mailman-Users maillist  -  Mailman-Users at python.org
> http://www.python.org/mailman/listinfo/mailman-users






More information about the Mailman-Users mailing list