[Mailman-Users] please run connect () first ??

Jon Carnes jonc at nc.rr.com
Sat Mar 6 22:28:46 CET 2004


First (and most important) read the README.POSTFIX on your system and
follow the advice there on integrating Postfix with Mailman. 

If that does not solve it then look at your Delivery Defaults used in
~mailman/Mailman/mm_cfg.py (and Defaults.py)
  DELIVERY_MODULE = 'SMTPDirect'
  MTA = 'Manual'
  POSTFIX_STYLE_VIRTUAL_DOMAINS = []
  POSTFIX_ALIAS_CMD = '/usr/sbin/postalias'
  POSTFIX_MAP_CMD = '/usr/sbin/postmap'
  SMTPHOST = 'localhost'
  SMTPPORT = 0       # default from smtplib 
  SENDMAIL_CMD = '/usr/lib/sendmail'

Make sure that Postfix is listening on Localhost port 25. Make sure that
Localhost is defined in your /etc/hosts file

Read FAQ 3.14

Good Luck - Jon Carnes

Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


On Sat, 2004-03-06 at 11:10, Darryl Harvey wrote:
> I have installed mailman on RedHat 9, mailman version is 2.1.1, and postfix 
> version 2.0.10 using mysql lookups...
> 
> When I try to send an email to a group (of about 75 or more people (yet to 
> find size limit)), The email appears in the archive, but never gets 
> delivered to any of the list members.
> 
> in the /var/log/mailman/error log I see;
> 
> Mar 05 18:55:42 2004 (5019) SHUNTING: 
> 1078473034.484252+9be7f8767534969c4728ee34ca181cc8b178782e
> Mar 05 18:58:42 2004 (5019) Uncaught runner exception: please run connect() 
> first
> Mar 05 18:58:42 2004 (5019) Traceback (most recent call last):
>    File "/var/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
>      self._onefile(msg, msgdata)
>    File "/var/mailman/Mailman/Queue/Runner.py", line 155, in _onefile
>      keepqueued = self._dispose(mlist, msg, msgdata)
>    File "/var/mailman/Mailman/Queue/OutgoingRunner.py", line 61, in _dispose
>      self._func(mlist, msg, msgdata)
>    File "/var/mailman/Mailman/Handlers/SMTPDirect.py", line 150, in process
>      conn.quit()
>    File "/var/mailman/Mailman/Handlers/SMTPDirect.py", line 80, in quit
>      self.__conn.quit()
>    File "/usr/lib/python2.2/smtplib.py", line 702, in quit
>      self.docmd("quit")
>    File "/usr/lib/python2.2/smtplib.py", line 357, in docmd
>      self.putcmd(cmd,args)
>    File "/usr/lib/python2.2/smtplib.py", line 313, in putcmd
>      self.send(str)
>    File "/usr/lib/python2.2/smtplib.py", line 305, in send
>      raise SMTPServerDisconnected('please run connect() first')
> SMTPServerDisconnected: please run connect() first
> 
> 
> Any ideas?
> 
> Thanks
> Darryl
> 







More information about the Mailman-Users mailing list