[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:
>1195826769.306325+db3247f3fd9baf0ca519cd58e37b4c1875fc76b3
>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
>_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 345, in
>verpdeliver
> bulkdeliver(mlist, msgcopy, msgdata, envsender, failures, 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'
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
SMTP_MAX_SESSIONS_PER_CONNECTION = 10
(or whatever number you want) not
SMTP_MAX_SESSIONS_PER_CONNECTION = '10'
--
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