On Thu, 8 Jan 2009, Mark Sapiro wrote:

Dan Mahoney, System Admin wrote:

Hey all, I'm hitting a little snag.  Email subscribe isn't doing anything.

Postfix delivers the email to mailman, but then as far as I can tell,
nothing more happens with it.

Where would be the best place to debug this from a mailman perspective?

Jan  7 21:05:34 lister postfix/qmgr[97071]: DDFD010E528:
from=<ionlyhavethisfortest...@gmail.com>, size=2716, nrcpt=1 (queue
active)
Jan  7 21:05:35 lister postfix/local[38795]: DDFD010E528:
to=<testing-j...@lister.isc.org>, relay=local, delay=0.18,
delays=0.01/0/0/0.17, dsn=2.0.0, status=sent (delivered to command:
/usr/local/mailman/mail/mailman join testing)
Jan  7 21:05:35 lister postfix/qmgr[97071]: DDFD010E528: removed

And that's where it stops.  The address doesn't show in any logs or
anything from that point forward.


The above says Postfix successfully piped the mail to the wrapper which
presumably invoked the 'join' script to queue the mail in the
'commands' queue.

From there it is processed by CommandRunner.

Step 1) is CommandRunner running or is the message still sitting in
qfiles/commands ?

I don't see a persistent process with that name, but qfiles/commands is empty.

Anything obvious I should be checking?  Perhaps the possibility that the
"to" address is getting altered in transit?  Does mailman log discarded
subscription messages?  Is there a debug option?


The message got delivered to the correct address according to Postfix.

Messages with precedence 'bulk', 'junk' or 'list' are discarded, but
the discard is logged in Mailman's vette log with a message like

Precedence: xxx message discarded by: testing-requ...@example.com

This hasn't been logged at all. In fact a grep for the address on all logfiles gives nothing. However, see my next bit...

If you have an autoresponder set for requests to this list, the message
will be autoresponded to per the autoresponder settings and logged in
the vette log as "replied and discard".

Also look for messages in Mailman's error (and other) logs with
timestamp within a few seconds of Jan  7 21:05:35.

Oh here's something:

Jan 07 21:05:05 2009 (69945) Uncaught runner exception: 'NoneType' object has no attribute 'lower'
Jan 07 21:05:05 2009 (69945) Traceback (most recent call last):
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 114, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 185, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/local/mailman/Mailman/Queue/CommandRunner.py", line 241, in _dispose
    res.do_command('join')
File "/usr/local/mailman/Mailman/Queue/CommandRunner.py", line 139, in do_command
    return handler.process(self, args)
File "/usr/local/mailman/Mailman/Commands/cmd_subscribe.py", line 74, in process
    if digest is None and password.lower() in ('digest', 'nodigest'):
AttributeError: 'NoneType' object has no attribute 'lower'

Jan 07 21:05:05 2009 (69945) SHUNTING: 1231362305.1949821+1175967c099dad2a1abd84668491378c9ec3d2f3 Jan 07 21:05:35 2009 (69945) Uncaught runner exception: 'NoneType' object has no attribute 'lower'
Jan 07 21:05:35 2009 (69945) Traceback (most recent call last):
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 114, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 185, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/local/mailman/Mailman/Queue/CommandRunner.py", line 241, in _dispose
    res.do_command('join')
File "/usr/local/mailman/Mailman/Queue/CommandRunner.py", line 139, in do_command
    return handler.process(self, args)
File "/usr/local/mailman/Mailman/Commands/cmd_subscribe.py", line 74, in process
    if digest is None and password.lower() in ('digest', 'nodigest'):
AttributeError: 'NoneType' object has no attribute 'lower'

Jan 07 21:05:35 2009 (69945) SHUNTING: 1231362335.060303+d4ab606e4d64c835df5f64f7aaff37fe61bee8e8 Jan 07 21:05:47 2009 (69945) Uncaught runner exception: 'NoneType' object has no attribute 'lower'
Jan 07 21:05:47 2009 (69945) Traceback (most recent call last):
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 114, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 185, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/local/mailman/Mailman/Queue/CommandRunner.py", line 241, in _dispose
    res.do_command('join')
File "/usr/local/mailman/Mailman/Queue/CommandRunner.py", line 139, in do_command
    return handler.process(self, args)
File "/usr/local/mailman/Mailman/Commands/cmd_subscribe.py", line 74, in process
    if digest is None and password.lower() in ('digest', 'nodigest'):
AttributeError: 'NoneType' object has no attribute 'lower'

Known bug?

OS is FreeBSD, if it matters.

-Dan

--

"What's with the server farm down in the basement?"

-Spider, Three Skulls Commons at Selden House, 4/15/00

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9

Reply via email to