473,406 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Mailman - Sendmail problem

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
sw*****@auburn.edu

Aug 21 '06 #1
3 2455
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. . . .
Aug 21 '06 #2
>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
Aug 21 '06 #3
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
sw*****@auburn.edu
Aug 21 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: lawrence | last post by:
We're installing a new server at the office and this will be the first server we set up from which we host our website. We got tired of dealing with Interland and decided to bring our hosting...
2
by: Babaloo | last post by:
Hello, I am having a problem with PHP 4.2.2 and RH 8. PHP is working fine except email. I have a test script to send mail, I have sendmail_path = '/usr/lib/sendmail -t -i' set in php.ini,...
6
by: Sumith Bandula | last post by:
Hi all, I am using a simple php script to send a mail. <?php if (mail($to, $sub, $message, $from)) echo "sent mail successfully<br>\n"; ?> It GOES $to = "me@localhost.localdomain"
0
by: Aaron Powell | last post by:
I am writing a program for a study I am doing where I must contact several different organisations stored in a database I compiled, but I need to send each email one at a time so they don't know...
4
by: jim | last post by:
Hello, I am having a problem w/SendMail reporting: " No recipient addresses found in header". Funny thing is though, I properly recieve the email message. Thanks for your help. -jim
2
by: mike | last post by:
I've spent a couple of days on this and I'm to the "bang-my-head 'gainst the monitor and babble in tongues" mode. First - SuSE Pro 9.3, Linux 2.6.11.4-21.7, Apache 2.0.53, PHP 4.3.10 I have...
1
by: James Robertson | last post by:
Issue is that I really do not know diddly. Copying and trying to learn as much as I can about VB and ASP2.0. Now the question I have is I created an E-Mail form the sendmail properties in the VB...
4
by: Nilesh | last post by:
I have a server in which sendmail gives problem. How do i change php.ini so that i can use exim for mail() System is FC-6.
4
by: Clodoaldo | last post by:
I need to know if an email was refused for whatever reason, it makes no difference. The email is sent to an email address that does not exist in a foreign domain. I can see in the postfix log...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.