[Mailman-Users] Mailman isn't sending mail.

Mark Sapiro msapiro at value.net
Wed May 10 18:37:47 CEST 2006


Jason Z wrote:
>
>All of the qrunner processes were active with the exception of the
>OutgoingRunner.  I tried starting that by hand and it didn't seem very handy
>(error messages below).  It keeps mentioning the Sendmail.py delivery module
>shouldn't be used (currently I'm configured for the SMTPDirect mode) so I'm
>assuming this qrunner process shouldn't be active.


OutgoingRunner is absolutely required. The Sendmail delivery module is
intentionally broken (by the 'assert' in the below error), and needs
to be edited per the instructions within it to work, but just don't
use it.


>Error message generated when a message was sent to the list (or a user
>subscription was submitted):
>-----------------
>May 05 17:47:06 2006 (11790) Uncaught runner exception: Use of the
>Sendmail.py delivery module is highly discouraged
>May 05 17:47:06 2006 (11790) Traceback (most recent call last):
>  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
>    self._onefile(msg, msgdata)
>  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 167, 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/Sendmail.py", line 71, in
>process
>    assert 0, 'Use of the Sendmail.py delivery module is highly discouraged'
>AssertionError: Use of the Sendmail.py delivery module is highly discouraged


OutgoingRunner thinks you are using Sendmail, not SMTPDirect. What are
the settings for DELIVERY_MODULE in both Defaults.py and mm_cfg.py?
The setting in Defaults.py should be

DELIVERY_MODULE = 'SMTPDirect'

and there should be nothing in mm_cfg.py.

Did you do 'bin/mailmanctl restart' after changing mm_cfg.py?

Also, referencing another post, the 'smtp' and 'smtp-failure' logs are
written only by SMTPDirect, not by Sendmail.

-- 
Mark Sapiro <msapiro at value.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