[Mailman-Users] odd errors with mailman

Rob Hunter robh at uunet.co.za
Fri Nov 3 06:54:11 CET 2000


howdie

> 1) qrunner won't run with those lockfiles there, so they should
> be gone before you try again.
normally the lockfiles aren't there, it's just now when qrunner won't
actually complete successfully.
 
> 2) if you have the cron entry commented, qrunner won't run at all
> unless you run it by hand.
I commented it out, 'cos qrunner wouldn't run successfully, so I was
running it manually while trying to debug, otherwise I just get loads of
logs saying that it couldn't get lockfile.

> I assume you know these things, but it never hurts.
thanks :)

> 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?)
The date has never been a problem. I double-checked and ntp is running
fine. ntp hardly ever corrects the date, it's normally pretty spot-on.

> 4) what do the "ignored" log entries show up in?  One of Mailman's logs,
> or your MTA's?
the smtp-error log (mailman)

> 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?
I actually fixed the problem (very) late last night, will detail down
below, thanks :)

> 6) can you try running qrunner under some syscall-tracing utility
> (Solaris: truss, BSD: ktrace, Linux: strace) to see where it's stopping?
thanks. What I failed to mention was - it's FreeBSD --STABLE.

I managed to fix the problem. I was checking my postfix logs, and saw that
I kept on getting timeouts while connecting from localhost, and it was
showing the email address that it was trying to deliver to. I nuked all
messages in the mailman queue with that email address. This is where I was
stumped, 'cos then it just started timing out on another address. As a
desperate measure, I nuked all mailman messages with that email address
aswell, and hey presto, it started working.

So for now the problem is gone, I still need to try and track down whether
the problem lay with postfix (more than likely) or mailman. Any idea what
all those errors were ? (the extract from the 'error' file that I pasted
which was so lengthy).

Thanks for the reply :)

--Rob

> > 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
> 
> 

--Rob





More information about the Mailman-Users mailing list