Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Mailman - Sendmail problem

Reply
Thread Tools

Mailman - Sendmail problem

 
 
swangdb
Guest
Posts: n/a
 
      08-21-2006
I have a Sun Server running Solaris 10 and Sendmail 8.13.7. I have
Majordomo and Listproc installed on this server and they work. I have
several production majordomo and listproc mailing lists installed on
this server and they work.

I am trying to get Mailman to work on this server and so far, no luck.
I installed the software (Mailman 2.1.8 and Python 2.4.3), reconfigured
mm_cfg.py, started the software, added the cron entries, created a test
mailing list, added the list information to /etc/aliases, ran
newaliases and subscribed myself. When I send a message to the list,
it doesn't send me a copy of the message (I am the only subscriber to
the list). If I look on the list's web site, the message I sent is
contained in the archives.

In the Mailman error log, I get messages similar to the following when
I send a message to the mailing list:
***
Aug 21 12:52:07 2006 (3871) SHUNTING:
1156182726.7459469+ce82b7624960d1de5eea043fee45821 044e3dfec
Aug 21 13:28:00 2006 (3871) Uncaught runner exception: Use of the
Sendmail.py delivery module is highly discouraged
Aug 21 13:28:00 2006 (3871) 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
***

It's funny, Sendmail.py is included with the program source, but the
documentation says that "Use of the Sendmail.py delivery module is
highly discouraged." Is it possible to use Mailman with sendmail
without using Sendmail.py? I'd like to use sendmail if possible.

Thanks for any help you can give!

--
David Swanger


 
Reply With Quote
 
 
 
 
skip@pobox.com
Guest
Posts: n/a
 
      08-21-2006

>> I am trying to get Mailman to work on this server and so far, no luck.

...
>> assert 0, 'Use of the Sendmail.py delivery module is highly
>> discouraged'
>> AssertionError: Use of the Sendmail.py delivery module is highly
>> discouraged
>> ***


At the python level, assert 0 is going to fail. You can either hack the
source to 'assert 1, ...' or, better yet, dig around and see if there's
another delivery module that works with sendmail better than Sendmail.py.

>> Thanks for any help you can give!


One other thing... Have you posted your request to the mailman-users
mailing list? <http://mail.python.org/mailman/listinfo/mailman-users>
You're more likely to get a knowledgable Mailman-related answer from the
folks who use Mailman daily.

Skip
 
Reply With Quote
 
 
 
 
Taylor, Grant
Guest
Posts: n/a
 
      08-21-2006
swangdb wrote:
> I have a Sun Server running Solaris 10 and Sendmail 8.13.7. I have
> Majordomo and Listproc installed on this server and they work. I have
> several production majordomo and listproc mailing lists installed on
> this server and they work.


Shesh. That's just a few mailing list managers.

> I am trying to get Mailman to work on this server and so far, no luck.
> I installed the software (Mailman 2.1.8 and Python 2.4.3), reconfigured
> mm_cfg.py, started the software, added the cron entries, created a test
> mailing list, added the list information to /etc/aliases, ran
> newaliases and subscribed myself. When I send a message to the list,
> it doesn't send me a copy of the message (I am the only subscriber to
> the list). If I look on the list's web site, the message I sent is
> contained in the archives.


Are you sure that you are set to receive your own posts to the mailing list? MM has an option for subscribers to not receive their own posts and I can not recall what the default is. I also believe there is a site config default for the value over the source code default.

> In the Mailman error log, I get messages similar to the following when
> I send a message to the mailing list:


<snip>

> It's funny, Sendmail.py is included with the program source, but the
> documentation says that "Use of the Sendmail.py delivery module is
> highly discouraged." Is it possible to use Mailman with sendmail
> without using Sendmail.py? I'd like to use sendmail if possible.


I am presently using MailMan with Sendmail 8.13.8 with out any problems. I have MM configured as a mailer. I have all my mailing lists on a separate domain that is configured to relay through Sendmail. I use Mailertable to tell Sendmail to use a separate mailer, verses SMTP, to relay messages for my MM sub domains. Note, the mailer config does not use Sendmail.py to deliver messages.

> Thanks for any help you can give!


You are welcome.




Grant. . . .
 
Reply With Quote
 
swangdb
Guest
Posts: n/a
 
      08-21-2006
Okay, I removed the "DELIVERY_MODULE = 'Sendmail`" line from mm_cfg.py
and used the default "DELIVERY_MODULE = 'SMTPDirect'" and it now it
worked, I sent a message to the mailing list and received a copy.

This was probably right in front of me the whole time.

swangdb wrote:
> I have a Sun Server running Solaris 10 and Sendmail 8.13.7. I have
> Majordomo and Listproc installed on this server and they work. I have
> several production majordomo and listproc mailing lists installed on
> this server and they work.
>
> I am trying to get Mailman to work on this server and so far, no luck.
> I installed the software (Mailman 2.1.8 and Python 2.4.3), reconfigured
> mm_cfg.py, started the software, added the cron entries, created a test
> mailing list, added the list information to /etc/aliases, ran
> newaliases and subscribed myself. When I send a message to the list,
> it doesn't send me a copy of the message (I am the only subscriber to
> the list). If I look on the list's web site, the message I sent is
> contained in the archives.
>
> In the Mailman error log, I get messages similar to the following when
> I send a message to the mailing list:
> ***
> Aug 21 12:52:07 2006 (3871) SHUNTING:
> 1156182726.7459469+ce82b7624960d1de5eea043fee45821 044e3dfec
> Aug 21 13:28:00 2006 (3871) Uncaught runner exception: Use of the
> Sendmail.py delivery module is highly discouraged
> Aug 21 13:28:00 2006 (3871) 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
> ***
>
> It's funny, Sendmail.py is included with the program source, but the
> documentation says that "Use of the Sendmail.py delivery module is
> highly discouraged." Is it possible to use Mailman with sendmail
> without using Sendmail.py? I'd like to use sendmail if possible.
>
> Thanks for any help you can give!
>
> --
> David Swanger
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
python.org mailman web interface problem Chris Rebert Python 0 01-24-2012 12:02 AM
Re: [sendmail,perl] How to catch a mailer error [perl script as sendmail.cf mailer] Andrzej Adam Filip Perl 0 03-31-2008 09:24 PM
Unable to load tag handler class "com.cj.smtp.Sendmail" for tag "send:Sendmail" sugapablo Java 0 09-21-2007 01:41 PM
J2SE and MailMan - in TOMCAT 4.1.7 michela rossi Java 0 05-12-2004 09:25 PM
RELEASED Mailman 2.1.3 Barry A. Warsaw Python 0 09-29-2003 01:24 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57