Message-ID: <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
To: zbigniew szalbot <[EMAIL PROTECTED]>,
Mailman Users <[email protected]>
Subject: Re: [Mailman-Users] mailman errors
In-Reply-To: <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp