Hi there again,

zbigniew szalbot pisze:
> Hello,
>
>
> > >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'
> >   
> The content of mm_cfg.py currently looks like this:
> OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
> DEFAULT_URL_HOST = 'lists.lc-words.com'
> SMTPHOST = 'localhost'
> VERP_CONFIRMATIONS = Yes
> DEFAULT_EMAIL_HOST = 'lists.lc-words.com'
> SMTP_MAX_SESSIONS_PER_CONNECTION = '25'
> VIRTUAL_HOSTS.clear()
> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>
>   
If any of you had any advice where to start looking for solution, I'd 
really appreciate. Thanks!

Zbigniew Szalbot
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
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

Reply via email to