[Mailman-Users] Group mismatch _SOLVED BUT one config more error ---?-(

Mark Sapiro mark at msapiro.net
Mon Dec 28 20:19:22 CET 2009


David Southwell wrote:
>
>Here is an extract from mailman/logs/error:
>
>Dec 28 15:54:28 2009 (60604) SHUNTING: 
>1261678284.135128+abc9a7be89381d91e5224fab04702f5dbaef2285
>Dec 28 15:54:28 2009 (60604) Uncaught runner exception: 'list' object has no 
>attribute 'find'
[...]
>  File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 64, in 
>__connect
>    self.__conn.connect(mm_cfg.SMTPHOST, mm_cfg.SMTPPORT)
>  File "/usr/local/lib/python2.6/smtplib.py", line 286, in connect
>    if not port and (host.find(':') == host.rfind(':')):
>AttributeError: 'list' object has no attribute 'find'
>
>mm_cfg.py has the following lines:
>
>from Defaults import *
>
>##################################################
># Put YOUR site-specific settings below this line.
>add_virtualhost ( 'vizion2000.net' )
>
>POSTFIX_STYLE_VIRTUAL_DOMAINS = ['vizion2000.net', 'atf4.com']
>
>
>
>MTA = 'Postfix'
>SMTPHOST = [ 'dns1.vizion2000.net']


SMTPHOST is not a list. It is a string. I.e. if you realy want to
specify a host other than the default 'localhost', you need

SMTPHOST = 'dns1.vizion2000.net'

but the default which would be Postfix on the Mailman machine is
normally correct.

After you correct that, you can run Mailman's bin/unshunt do process
the shunted messages, or if you don't want to send them, you can just
remove them from qfiles/shunt/

-- 
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