[Mailman-Users] Fwd: Re: mailman errors

Mark Sapiro mark at msapiro.net
Sat Nov 24 06:12:14 CET 2007

Message-ID: <PC1760200711232048040078bc122df2 at msapiro>
X-Mailer: Ultrafunk Popcorn 1.76 (09-August-2006)
X-Priority: 3
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=iso-8859-1
Date: Fri, 23 Nov 2007 20:48:04 -0800
From: Mark Sapiro <mark at msapiro.net>
To: zbigniew szalbot <zbigniew at szalbot.homedns.org>,
	Mailman Users <mailman-users at python.org>
Subject: Re: [Mailman-Users] mailman errors
In-Reply-To: <474714E6.80603 at szalbot.homedns.org>
Organization: Not Very Much

zbigniew szalbot wrote:

>I get a lot of below errors and worse some of the lists that have been 
>created no longer send out emails. Can you help me troubleshoot it?
>Thank you!
>Nov 23 15:06:12 2007 (70462) SHUNTING: 
>Nov 23 15:06:32 2007 (70462) Uncaught runner exception: unsupported 
>operand type(s) for -=: 'str' and 'int'
>Nov 23 15:06:32 2007 (70462) 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 
>    self._func(mlist, msg, msgdata)
>  File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 159, in 
>    deliveryfunc(mlist, msg, msgdata, envsender, refused, conn)
>  File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 345, in 
>    bulkdeliver(mlist, msgcopy, msgdata, envsender, failures, conn)
>  File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 369, in 
>    refused = conn.sendmail(envsender, recips, msgtext)
>  File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 78, in 
>    self.__numsessions -= 1
>TypeError: unsupported operand type(s) for -=: 'str' and 'int'

Have you set SMTP_MAX_SESSIONS_PER_CONNECTION in mm_cfg.py?

In particular, have you set it to a string instead of a number?

I.e., it needs to be something like


(or whatever number you want) not


Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list