unsupported operand type(s)
Hello,
I have been using mailman without any problem for the last year. However, today when I tried to post to a subscriber only list I first had a problem that Mailman contacted MTA on a IPv6 address. This resulted in exim rejecting relay attempts from Mailman. I corrected this and then sent again. However out of 650 people on the list only two subscribers got sent the message (as seen from MTA logs). I thought that maybe bounce score was bumped up for the list members and I unsubscribed all of them and then subscribed again. My last action was to re-send the same message to the list. And again only two people recevied it. There is no no-mail option turned on for the members. They should all be getting it as they have always had. When I look into mailman error log, I can see some errors. I am not sure if they have anything in common with my situation. I'd appreciate any help you can give me. Thanks!
Jul 31 12:44:23 2007 (18125) SHUNTING: 1185878662.0085499+0ad74badf8a66bd8859206f6ed887c38ac4267b3 Jul 31 12:44:25 2007 (18125) Uncaught runner exception: unsupported operand type(s) for -=: 'str' and 'int' Jul 31 12:44:25 2007 (18125) Traceback (most recent call last): File "/usr/local/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop self._onefile(msg, msgdata) File "/usr/local/mailman/Mailman/Queue/Runner.py", line 170, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/local/mailman/Mailman/Queue/OutgoingRunner.py", line 73, in _dispose self._func(mlist, msg, msgdata) File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 159, in process deliveryfunc(mlist, msg, msgdata, envsender, refused, conn) File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 369, in bulkdeliver refused = conn.sendmail(envsender, recips, msgtext) File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 78, in sendmail self.__numsessions -= 1 TypeError: unsupported operand type(s) for -=: 'str' and 'int'
Jul 31 12:44:25 2007 (18125) SHUNTING: 1185878663.687403+30d438882c03342845939af5d5607078627b420b Jul 31 12:46:14 2007 (18125) Uncaught runner exception: unsupported operand type(s) for -=: 'str' and 'int' Jul 31 12:46:14 2007 (18125) Traceback (most recent call last): File "/usr/local/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop self._onefile(msg, msgdata) File "/usr/local/mailman/Mailman/Queue/Runner.py", line 170, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/local/mailman/Mailman/Queue/OutgoingRunner.py", line 73, in _dispose self._func(mlist, msg, msgdata) File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 159, in process deliveryfunc(mlist, msg, msgdata, envsender, refused, conn) File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 369, in bulkdeliver refused = conn.sendmail(envsender, recips, msgtext) File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 78, in sendmail self.__numsessions -= 1 TypeError: unsupported operand type(s) for -=: 'str' and 'int'
Jul 31 12:46:14 2007 (18125) SHUNTING: 1185878661.0661421+8660c954cc4cb81cbc14e5454bf70e31dadae03a
-- Zbigniew Szalbot
Dear all,
Problem solved -see below.
On Tue, 31 Jul 2007 13:06:04 +0200, Zbigniew Szalbot zbigniew@szalbot.homedns.org wrote:
Hello,
I have been using mailman without any problem for the last year. However, today when I tried to post to a subscriber only list I first had a
problem
that Mailman contacted MTA on a IPv6 address. This resulted in exim rejecting relay attempts from Mailman. I corrected this and then sent again. However out of 650 people on the list only two subscribers got sent the message (as seen from MTA logs). I thought that maybe bounce score was bumped up for the list members and I unsubscribed all of them and then subscribed again. My last action was to re-send the same message to the list. And again only two people recevied it. There is no no-mail option turned on for the members. They should all be getting it as they have always had. When I look into mailman error log, I can see some errors. I am not sure if they have anything in common with my situation. I'd appreciate any help you can give me. Thanks!
Jul 31 12:44:23 2007 (18125) SHUNTING: 1185878662.0085499+0ad74badf8a66bd8859206f6ed887c38ac4267b3 Jul 31 12:44:25 2007 (18125) Uncaught runner exception: unsupported operand type(s) for -=: 'str' and 'int' Jul 31 12:44:25 2007 (18125) Traceback (most recent call last): File "/usr/local/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop self._onefile(msg, msgdata) File "/usr/local/mailman/Mailman/Queue/Runner.py", line 170, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/local/mailman/Mailman/Queue/OutgoingRunner.py", line 73, in _dispose self._func(mlist, msg, msgdata) File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 159, in process deliveryfunc(mlist, msg, msgdata, envsender, refused, conn) File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 369, in bulkdeliver refused = conn.sendmail(envsender, recips, msgtext) File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 78, in sendmail self.__numsessions -= 1 TypeError: unsupported operand type(s) for -=: 'str' and 'int'
Jul 31 12:44:25 2007 (18125) SHUNTING: 1185878663.687403+30d438882c03342845939af5d5607078627b420b Jul 31 12:46:14 2007 (18125) Uncaught runner exception: unsupported operand type(s) for -=: 'str' and 'int' Jul 31 12:46:14 2007 (18125) Traceback (most recent call last): File "/usr/local/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop self._onefile(msg, msgdata) File "/usr/local/mailman/Mailman/Queue/Runner.py", line 170, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/local/mailman/Mailman/Queue/OutgoingRunner.py", line 73, in _dispose self._func(mlist, msg, msgdata) File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 159, in process deliveryfunc(mlist, msg, msgdata, envsender, refused, conn) File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 369, in bulkdeliver refused = conn.sendmail(envsender, recips, msgtext) File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 78, in sendmail self.__numsessions -= 1 TypeError: unsupported operand type(s) for -=: 'str' and 'int'
Jul 31 12:46:14 2007 (18125) SHUNTING: 1185878661.0661421+8660c954cc4cb81cbc14e5454bf70e31dadae03a
The offender turned out to be SMTP_MAX_SESSIONS_PER_CONNECTION = '50' which I set mm_cfg.py. Unfortunately, because I also had some restrictions for handling mail server load in my MTA, exim blocked mailman's operation. Fortunately, the horror's over :)
Thank you
Zbigniew Szalbot
-- Zbigniew Szalbot
participants (1)
-
Zbigniew Szalbot